Adjustments for modern design
This commit is contained in:
parent
3a682b83f3
commit
93b25c23fc
|
|
@ -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([
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ trait PdfMaker
|
|||
}
|
||||
|
||||
$html = str_ireplace(['file:/', 'iframe', '<embed', '<embed', '<object', '<object', '127.0.0.1', 'localhost', '<?xml encoding="UTF-8">', '/etc/'], '', $html);
|
||||
|
||||
nlog($html);
|
||||
$generated = $pdf
|
||||
->setHtml($html)
|
||||
->generate();
|
||||
|
|
|
|||
|
|
@ -206,7 +206,6 @@
|
|||
|
||||
#company-address > *,
|
||||
#company-details > * {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#table-totals {
|
||||
|
|
|
|||
Loading…
Reference in New Issue