fix report fpdf
This commit is contained in:
@@ -197,7 +197,7 @@ class Rpt_stock_request extends MY_Controller
|
||||
array('Nomor', $header['PurchaseRequestNumber'], true),
|
||||
array('Ref Nomor', $header['PurchaseRequestRefNumber'] ?: '-', false),
|
||||
array('Tanggal', $this->_fmt_date($header['PurchaseRequestDate']), false),
|
||||
array('Status', $header['PurchaseRequestStatus'], false),
|
||||
array('Tanggal Approved', $this->_fmt_datetime($header['PurchaseRequestApprovedDate'])),
|
||||
);
|
||||
|
||||
foreach ($leftItems as $item) {
|
||||
@@ -205,7 +205,7 @@ class Rpt_stock_request extends MY_Controller
|
||||
$pdf->SetFont('Arial_Narrow', '', 9);
|
||||
$pdf->Cell($lblW, 5, $item[0], 0, 0, 'L');
|
||||
$pdf->Cell(4, 5, ':', 0, 0, 'C');
|
||||
if ($item[2]) {
|
||||
if (isset($item[2]) && $item[2]) {
|
||||
$pdf->SetFont('Arial_Narrow', 'B', 9);
|
||||
} else {
|
||||
$pdf->SetFont('Arial_Narrow', '', 9);
|
||||
@@ -233,7 +233,6 @@ class Rpt_stock_request extends MY_Controller
|
||||
array('Kategori', $header['itemCategoryName'] ?: '-'),
|
||||
array('Dibuat Oleh', $header['CreatedByName']),
|
||||
array('Disetujui Oleh', $header['ApprovedByName'] ?: '-'),
|
||||
array('Tanggal Approved', $this->_fmt_datetime($header['PurchaseRequestApprovedDate'])),
|
||||
);
|
||||
|
||||
foreach ($rightItems as $item) {
|
||||
|
||||
Reference in New Issue
Block a user