fix report fpdf
This commit is contained in:
@@ -202,7 +202,7 @@ class Rpt_pr_direct_approval extends MY_Controller
|
||||
array('Nomor', $header['PurchaseRequestDirectNumber'], true),
|
||||
array('Tanggal', $this->_fmt_date($header['PurchaseRequestDirectDate']), false),
|
||||
array('Tanggal Pelaksanaan', $this->_fmt_date($header['PurchaseRequestDirectDateUse']), false),
|
||||
array('Status', $header['PurchaseRequestDirectStatus'], false),
|
||||
array('Tanggal Approved', $this->_fmt_datetime($header['PurchaseRequestDirectApprovedDate'])),
|
||||
);
|
||||
|
||||
foreach ($leftItems as $item) {
|
||||
@@ -210,7 +210,7 @@ class Rpt_pr_direct_approval 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);
|
||||
@@ -245,7 +245,6 @@ class Rpt_pr_direct_approval extends MY_Controller
|
||||
array('Alamat', $header['M_BranchAddress']),
|
||||
array('Dibuat Oleh', $header['CreatedByName']),
|
||||
array('Disetujui Oleh', $header['ApprovedByName']),
|
||||
array('Tanggal Approved', $this->_fmt_datetime($header['PurchaseRequestDirectApprovedDate'])),
|
||||
);
|
||||
|
||||
foreach ($rightItems as $item) {
|
||||
|
||||
Reference in New Issue
Block a user