fix financials
Tests / PHPUnit (push) Failing after 1m21s

This commit is contained in:
root
2026-07-18 22:57:40 -04:00
parent 068e739408
commit a30c1398a1
61 changed files with 10908 additions and 1775 deletions
+8 -2
View File
@@ -35,7 +35,10 @@ class PaymentModel extends Model
'installment_seq',
'transaction_id',
'idempotency_key',
'request_fingerprint_hash',
'check_file',
'evidence_status',
'evidence_failure_message',
'check_number',
'payment_method',
'payment_date',
@@ -76,7 +79,8 @@ class PaymentModel extends Model
'installment_seq' => 'permit_empty|integer|greater_than[0]',
'transaction_id' => 'required|max_length[100]',
'idempotency_key' => 'permit_empty|max_length[36]',
'idempotency_key' => 'permit_empty|max_length[100]',
'request_fingerprint_hash' => 'permit_empty|exact_length[64]',
'payment_method' => 'required|in_list[cash,check,card]',
'payment_date' => 'required|valid_date',
'school_year' => 'required|string|max_length[9]',
@@ -87,6 +91,8 @@ class PaymentModel extends Model
'voided_by' => 'permit_empty|integer',
'void_reason' => 'permit_empty|max_length[255]',
'check_file' => 'permit_empty|max_length[255]',
'evidence_status' => 'permit_empty|max_length[30]',
'evidence_failure_message' => 'permit_empty|max_length[255]',
'check_number' => 'permit_empty|max_length[100]',
'updated_by' => 'permit_empty|integer',
];
@@ -145,7 +151,7 @@ class PaymentModel extends Model
'greater_than' => 'Installment sequence must be greater than zero.',
],
'idempotency_key' => [
'max_length' => 'Idempotency key must not exceed 36 characters.',
'max_length' => 'Idempotency key must not exceed 100 characters.',
],
'check_number' => [
'max_length' => 'Check number must not exceed 100 characters.',