diff --git a/inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py b/inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py index 6b90354..97b6f43 100644 --- a/inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py +++ b/inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py @@ -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'