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';
|
$verify = $this->go_cardless->company_gateway->getConfigField('verifyBankAccount') ? 'recommended' : 'when_available';
|
||||||
|
|
||||||
|
try {
|
||||||
$response = $this->go_cardless->gateway->billingRequests()->create([
|
$response = $this->go_cardless->gateway->billingRequests()->create([
|
||||||
"params" => [
|
"params" => [
|
||||||
"mandate_request" => [
|
"mandate_request" => [
|
||||||
|
|
@ -70,6 +71,11 @@ class DirectDebit implements MethodInterface, LivewireMethodInterface
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
|
catch(\Throwable $e) {
|
||||||
|
nlog($e->getMessage());
|
||||||
|
return $this->processUnsuccessfulAuthorization($e);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$brf = $this->go_cardless->gateway->billingRequestFlows()->create([
|
$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);
|
$html = str_ireplace(['file:/', 'iframe', '<embed', '<embed', '<object', '<object', '127.0.0.1', 'localhost', '<?xml encoding="UTF-8">', '/etc/'], '', $html);
|
||||||
|
nlog($html);
|
||||||
$generated = $pdf
|
$generated = $pdf
|
||||||
->setHtml($html)
|
->setHtml($html)
|
||||||
->generate();
|
->generate();
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,6 @@
|
||||||
|
|
||||||
#company-address > *,
|
#company-address > *,
|
||||||
#company-details > * {
|
#company-details > * {
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-totals {
|
#table-totals {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue