Merge branch 'dev-latest' into feature/bugfix
This commit is contained in:
@@ -287,7 +287,11 @@ export class GlSettingsDialogComponent implements OnInit {
|
||||
this.sponsorDDService
|
||||
.upsertGlMapping({
|
||||
sponsorBankId: 0,
|
||||
ddPayableGlAccountId: val.ddPayableGlAccountId,
|
||||
// DD Payable is set per sponsor bank (Organization > Sponsor Banks) and is the only source
|
||||
// DD posting reads, so this screen no longer owns it. We still round-trip whatever the row
|
||||
// already had -- so an existing value is preserved -- but a tenant that never set it (NULL)
|
||||
// now saves fine instead of hitting "Sponsor DD Payable GL account is required".
|
||||
ddPayableGlAccountId: this.mapping?.ddPayableGlAccountId ?? null,
|
||||
chequeClearingGlAccountId: val.chequeClearingGlAccountId,
|
||||
cashGlAccountId: val.cashGlAccountId,
|
||||
chargesIncomeGlAccountId: val.chargesIncomeGlAccountId,
|
||||
|
||||
Reference in New Issue
Block a user