234
Changed point
Calculation method of Grand Total 1 and 2 is changed as below.
--------------------------------------------------------
Initial condition
GRAND TOTAL 1 0.00
GRAND TOTAL 2 0.00
--------------------------------------------------------
2017/03/21
1.00 sales
--------------------------------------------------------
2017/03/21 (Z-report taking) On the first day Sales = G1 and G2
GRAND TOTAL 1 1.00
GRAND TOTAL 2 1.00
--------------------------------------------------------
2017/03/22 (after Z-report)
GRAND TOTAL 1 1.00
GRAND TOTAL 2 1.00
--------------------------------------------------------
2017/03/22
2.00 sales
--------------------------------------------------------
2017/03/22 (Z-report taking)
GRAND TOTAL 1 3.00
GRAND TOTAL 2 1.00
--------------------------------------------------------
2017/03/22 (after Z-report)
GRAND TOTAL 1 3.00
GRAND TOTAL 2 3.00
--------------------------------------------------------
2017/03/23
if zero sales is generated, then, G1 = G2
--------------------------------------------------------
2017/03/23
0.00 sales
--------------------------------------------------------
2017/03/23 (Z-report taking)
GRAND TOTAL 1 3.00
GRAND TOTAL 2 3.00
--------------------------------------------------------
2017/03/23 (after Z-report)
GRAND TOTAL 1 3.00
GRAND TOTAL 2 3.00
--------------------------------------------------------
2017/03/24
1.00 sales
--------------------------------------------------------
2017/03/24 (Z-report taking)
GRAND TOTAL 1 4.00
GRAND TOTAL 2 3.00
--------------------------------------------------------
2017/03/24 (after Z-report)
GRAND TOTAL 1 4.00
GRAND TOTAL 2 4.00
--------------------------------------------------------
2017/03/25
3.00 sales
--------------------------------------------------------
2017/03/25 (Z-report taking)
GRAND TOTAL 1 7.00
GRAND TOTAL 2 4.00
--------------------------------------------------------
2017/03/25 (after Z-report)
GRAND TOTAL 1 7.00
GRAND TOTAL 2 7.00
--------------------------------------------------------