add - IR to all sheba in devices

This commit is contained in:
2025-11-10 10:43:39 +03:30
parent d946b8c670
commit 66f8818679
5 changed files with 56 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ def pos_organizations_sharing_information(
"organization_name": item.organization.name,
"bank_account": {
"credit_card": item.organization.bank_information.first().card,
"sheba": item.organization.bank_information.first().sheba,
"sheba": "IR" + item.organization.bank_information.first().sheba,
"account": item.organization.bank_information.first().account,
} if item.organization.bank_information.exists() else {},
"broker": item.broker.name if item.broker else None,
@@ -57,7 +57,7 @@ def pos_organizations_sharing_information(
"organization_name": item.organization.name,
"bank_account": {
"credit_card": item.organization.bank_information.first().card,
"sheba": item.organization.bank_information.first().sheba,
"sheba": "IR" + item.organization.bank_information.first().sheba,
"account": item.organization.bank_information.first().account,
} if item.organization.bank_information.exists() else {},
"broker": item.broker.name if item.broker else None,
@@ -118,7 +118,7 @@ def agency_organization_pos_info(
"organization_name": agency.name,
"bank_account": {
"credit_card": agency.bank_information.first().card,
"sheba": agency.bank_information.first().sheba,
"sheba": "IR" + agency.bank_information.first().sheba,
"account": agency.bank_information.first().account,
} if agency.bank_information.exists() else {},
"amount": agc_share_amount,