Fixes for plain design

This commit is contained in:
David Bomba 2024-04-02 21:50:59 +11:00
parent ff49f21b58
commit cf7008a5ab
3 changed files with 5 additions and 3 deletions

View File

@ -183,7 +183,7 @@ class AuthorizePaymentMethod
// Create a new Customer Payment Profile object
$paymentprofile = new CustomerPaymentProfileType();
$paymentprofile->setCustomerType('individual');
if ($billto) {
$paymentprofile->setBillTo($billto);
}

View File

@ -49,7 +49,9 @@ class GenerateDeliveryNote
if($design && $design->is_template) {
$ts = new TemplateService($design);
$pdf = $ts->build([
$pdf = $ts->setCompany($this->invoice->company)
->build([
'invoices' => collect([$this->invoice]),
])->getPdf();

View File

@ -101,7 +101,7 @@
flex-direction: column;
line-height: var(--line-height);
white-space: nowrap;
border: 1px solid #000;
border: 0px solid #000;
}
[data-ref="table"] {