diff --git a/manager/bakery/bakery_stock_excel.php b/manager/bakery/bakery_stock_excel.php index 275b64bb6..6122c96a7 100644 --- a/manager/bakery/bakery_stock_excel.php +++ b/manager/bakery/bakery_stock_excel.php @@ -18,10 +18,12 @@ header("Content-Description: PHP Generated Data");
| - + | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 근무자 | =$authInfo['worker']?> | @@ -85,7 +87,7 @@ header("Content-Description: PHP Generated Data");- + | |||||||||||||||||||||||
| 작성자 | =$authInfo['author']?> | @@ -100,7 +102,7 @@ header("Content-Description: PHP Generated Data");- + | |||||||||||||||||||||||
| 품목 | 바코드 | @@ -125,19 +127,19 @@ $t_prev_stock = $t_production = $t_inhouse_use = $t_recycling = $t_disposal = $t foreach ( $result as $row) { ?>||||||||||||||||||||||||
| =$row['product_name']?> | -=$row['barcode']?> | -=number_format(getPrevStock($searchDate, $row['barcode']))?> | -=number_format($row['production'])?> | -=number_format($row['inhouse_use'])?> | -=number_format($row['recycling'])?> | -=number_format($row['disposal'])?> | -=number_format($row['sales'])?> | -=($row['sales'] != 0 && $row['sales_amount'] != 0) ? number_format($row['sales_amount']/$row['sales']) : 0 ?> | -=number_format($row['sales_amount'])?> | -=number_format($row['menu_discount'])?> | -=number_format($row['payment_amount'])?> | -=number_format($row['current_stock'])?> | +=$row['product_name']?> | +=$row['barcode']?> | +=number_format(getPrevStock($searchDate, $row['barcode']))?> | +=number_format($row['production'])?> | +=number_format($row['inhouse_use'])?> | +=number_format($row['recycling'])?> | +=number_format($row['disposal'])?> | +=number_format($row['sales'])?> | +=($row['sales'] != 0 && $row['sales_amount'] != 0) ? number_format($row['sales_amount']/$row['sales']) : 0 ?> | +=number_format($row['sales_amount'])?> | +=number_format($row['menu_discount'])?> | +=number_format($row['payment_amount'])?> | +=number_format($row['current_stock'])?> |
| 합계 | -- | =number_format($t_prev_stock) ?> | -=number_format($t_production) ?> | -=number_format($t_inhouse_use) ?> | -=number_format($t_recycling) ?> | -=number_format($t_disposal) ?> | -=number_format($t_sales) ?> | -- | =number_format($t_sales_amount) ?> | -=number_format($t_menu_discount) ?> | -=number_format($t_payment_amount) ?> | -=number_format($t_current_stock) ?> | -|||||||||||||
| 합계 | ++ | =number_format($t_prev_stock) ?> | +=number_format($t_production) ?> | +=number_format($t_inhouse_use) ?> | +=number_format($t_recycling) ?> | +=number_format($t_disposal) ?> | +=number_format($t_sales) ?> | ++ | =number_format($t_sales_amount) ?> | +=number_format($t_menu_discount) ?> | +=number_format($t_payment_amount) ?> | +=number_format($t_current_stock) ?> | +