Added a movie to the accounting_sample command in the accounting application.
This commit is contained in:
parent
245e4c6573
commit
3680d550c7
@ -157,11 +157,19 @@ class Command(BaseCommand):
|
|||||||
-14,
|
-14,
|
||||||
((6273, "電影—復仇者聯盟", 80),),
|
((6273, "電影—復仇者聯盟", 80),),
|
||||||
((2141, "電影—復仇者聯盟", 80),))
|
((2141, "電影—復仇者聯盟", 80),))
|
||||||
|
p.add_transfer_transaction(
|
||||||
|
-13,
|
||||||
|
((6273, "電影—2001太空漫遊", 80),),
|
||||||
|
((2141, "電影—2001太空漫遊", 80),))
|
||||||
p.add_transfer_transaction(
|
p.add_transfer_transaction(
|
||||||
-11,
|
-11,
|
||||||
((2141, "電影—復仇者聯盟", 80),),
|
((2141, "電影—復仇者聯盟", 80),),
|
||||||
((1113, "電影—復仇者聯盟", 80),))
|
((1113, "電影—復仇者聯盟", 80),))
|
||||||
|
|
||||||
|
p.add_expense_transaction(
|
||||||
|
-13,
|
||||||
|
((6273, "公車—262—民生社區→頂溪捷運站", 30),))
|
||||||
|
|
||||||
p.add_expense_transaction(
|
p.add_expense_transaction(
|
||||||
-2,
|
-2,
|
||||||
((6272, "午餐—排骨飯", random.randint(40, 200)),
|
((6272, "午餐—排骨飯", random.randint(40, 200)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user