Merge branch '143-add-missing-fields-in-jo-pdf' into 'master'
Resolve "Add missing fields in JO PDF" Closes #143 See merge request jankstudio/resq!147
This commit is contained in:
commit
104d60082e
1 changed files with 1 additions and 1 deletions
|
|
@ -2069,7 +2069,7 @@ class JobOrderController extends BaseController
|
|||
|
||||
$pdf->SetXY($col1_x, $y);
|
||||
$pdf->Cell($label_width, $line_height, 'Discount Type:');
|
||||
$pdf->MultiCell($val_width, $line_height, $invoice->getPromo()->getName(), 0, 'L');
|
||||
$pdf->MultiCell($val_width, $line_height, $invoice->getPromo() ? $invoice->getPromo()->getName() : '', 0, 'L');
|
||||
|
||||
$pdf->SetXY($col2_x, $y);
|
||||
$pdf->SetFont($font_face, 'B');
|
||||
|
|
|
|||
Loading…
Reference in a new issue