No
NotaNo Kendaraan Site PT Department Sub Dept Status
Kendaraan Nama SupirPermintaanJumlah
(Liter)Actual
(Liter)Tangki
Pengisi/StatusTanggal NotaTanggal IsiDi setujui olehFuelmanPengawasKM/HMKeterangan Remark."; echo " $header"; for ($i=0; $i < $numnotabbmx; $i++) { if ($statuspengisianx[$i]=='Y') { $buttondisable = "disabled='disabled'"; $titlemodal = "REVERSAL / VIEW"; $namatiket = "FORM PENGELUARAN BBM (No: $nox[$i])"; } else { if ($permintaandarix[$i]!=$namaapprovalsearch) { $buttondisable = "disabled='disabled'"; $titlemodal = "VIEW ONLY"; $namatiket = "FORM PENGAJUAN PENGISIAN BBM (No: $nox[$i])"; } else { $buttondisable = ""; $titlemodal = "EDIT / HAPUS"; $namatiket = "FORM PENGAJUAN PENGISIAN BBM (No: $nox[$i])"; } } if ($authority == 'fuelstoragetambang' || $authority == 'fuelmantambang' || $authority == 'fuelmanpelabuhan' || $authority == 'bbmadmintambang' || $authority == 'bbmadminpelabuhan' || $authority == 'managertambang') $reverseauthority = 'Y'; echo " "; echo ""; if ($permintaandarix[$i]==$namaapprovalsearch) { if ($statuspengisianx[$i] == 'Y') { if ($reversalx[$i] == 'Y') { $textcolor = 'black'; $colorbutton = 'btn-outline-warning'; } else { $textcolor = 'black'; $colorbutton = 'btn-outline-success'; } } else { $textcolor = 'black'; $colorbutton = 'btn-outline-danger';} } else { if ($statuspengisianx[$i] == 'Y') { if ($reversalx[$i] == 'Y') { $textcolor = 'black'; $colorbutton = 'btn-outline-warning'; } else { $textcolor = 'green'; $colorbutton = 'btn-outline-secondary'; } } else { $textcolor = 'red'; $colorbutton = 'btn-outline-secondary';} } echo ""; //if ($permintaandarix[$i]==$namaapprovalsearch) echo ""; //else echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; if ($namatangkiactualx[$i] == '') $namatangkiactualx[$i] = 'BELUM DI ISI'; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $temptext = "$keteranganx[$i] / $keteranganx1[$i]"; $temptext = wordwrap($temptext, 30, "
\n"); echo ""; echo ""; } echo "
$nox[$i]
$nokendaraanx[$i]$ptallx[$i]$divisix[$i]$departmentx[$i]$lokasix[$i]$statuskendaraanx[$i]$namasupirx[$i]$permintaandarix[$i]$jumlahliterx[$i]$actualliterx[$i]$namatangkiactualx[$i]$tanggalnotax[$i]$tanggalpengisianx[$i]$namaapprovalx[$i]$diisiolehx[$i]$pengawasx[$i]$kmawalx[$i]$temptext
"; ?>