Skip to content

Commit

Permalink
fix: breakfast commission debit reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
anhilmy committed Jul 2, 2024
1 parent d38d510 commit 56dbc84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def post_room_charges(parent_id, tobe_posted_list):
breakfast_commission.amount = float(int(channel.breakfast_cashback))
accumulated_amount += float(int(channel.breakfast_cashback))
breakfast_commission.credit_account = PROFIT_SHARING_ACCOUNT
breakfast_commission.debit_account = breakfast_charge_credit_account
breakfast_commission.debit_account = breakfast_charge_debit_account
breakfast_commission.remark = 'Commission ' + channel.name + ' : ' + item["room_id"] + " - " + get_last_audit_date().strftime("%d-%m-%Y")
breakfast_commission.parent = item["folio_id"]
breakfast_commission.parenttype = 'Inn Folio'
Expand Down

0 comments on commit 56dbc84

Please sign in to comment.