db->query("select date_format((curdate()-interval 1 day),'%d-%m-%Y') as tgl");
$tgl1=$tgl->row_array();
$awal=$tgl1['tgl'];
?>
LAPORAN PENJUALAN
TANGGAL :
| No |
Kedai |
Keterangan |
Nota |
Mie qty |
Mie Rp |
Top qty |
Top Rp |
Snack qty |
Snack Rp |
Minuman qty |
Minuman Rp |
T.Away |
Ongkir |
Discount |
Total |
result() as $key): ?>
|
kdcabang ?> |
ketcabang ?> |
qtynota) ?> |
qtymie) ?> |
rpmie) ?> |
qtytop) ?> |
rptop) ?> |
qtysnack) ?> |
rpsnack) ?> |
qtyminuman) ?> |
rpminuman) ?> |
rpta) ?> |
rpongkir) ?> |
rpdisc) ?> |
netto) ?> |
omset;
$total1 +=$key->qtynota;
$total10 +=$key->qtymie;
$total16 +=$key->qtytop;
$total20 +=$key->rptop;
$total11 +=$key->rpmie;
$total12 +=$key->qtysnack;
$total13 +=$key->rpsnack;
$total14 +=$key->qtyminuman;
$total15 +=$key->rpminuman;
$total17 +=$key->rpongkir;
$total18 +=$key->rpdisc;
$total2 +=$key->rpta;
?>
| GRAND TOTAL |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Contribusi (%) |
0) { ?>
|
|
|
|
|
|
|
|
|
|
|
|
|