feat: add bank account relation to PurchaseReceiptPayments and update related services

- Added bank account relation to PurchaseReceiptPayments model.
- Updated BankAccount model to include purchaseReceiptPayments relation.
- Modified PurchaseReceiptPayments service to handle bank account data during payment creation.
- Enhanced SuppliersService to order suppliers by creation date.
- Updated SupplierInvoicesService to include bank account details in invoice payments and order payments by payedAt.
- Added foreign key constraint for bankAccountId in PurchaseReceiptPayments table.
This commit is contained in:
2025-12-29 10:14:56 +03:30
parent b35a3633ed
commit 1bb206a608
8 changed files with 330 additions and 23 deletions
File diff suppressed because one or more lines are too long