Adjustments for modern design

This commit is contained in:
David Bomba 2025-02-03 20:53:43 +11:00
parent 3a682b83f3
commit 93b25c23fc
3 changed files with 14 additions and 9 deletions

View File

@ -62,6 +62,7 @@ class DirectDebit implements MethodInterface, LivewireMethodInterface
$verify = $this->go_cardless->company_gateway->getConfigField('verifyBankAccount') ? 'recommended' : 'when_available';
try {
$response = $this->go_cardless->gateway->billingRequests()->create([
"params" => [
"mandate_request" => [
@ -70,6 +71,11 @@ class DirectDebit implements MethodInterface, LivewireMethodInterface
]
]
]);
}
catch(\Throwable $e) {
nlog($e->getMessage());
return $this->processUnsuccessfulAuthorization($e);
}
try {
$brf = $this->go_cardless->gateway->billingRequestFlows()->create([

View File

@ -91,7 +91,7 @@ trait PdfMaker
}
$html = str_ireplace(['file:/', 'iframe', '<embed', '&lt;embed', '&lt;object', '<object', '127.0.0.1', 'localhost', '<?xml encoding="UTF-8">', '/etc/'], '', $html);
nlog($html);
$generated = $pdf
->setHtml($html)
->generate();

View File

@ -206,7 +206,6 @@
#company-address > *,
#company-details > * {
margin-bottom: 0.5rem;
}
#table-totals {