fix invoice and enrollment fees
This commit is contained in:
@@ -31,7 +31,6 @@ class PaymentsLogicAndDataRepairSupport extends Migration
|
||||
'payment_repair_transition_review',
|
||||
'payment_repair_invoice_review',
|
||||
'payment_repair_analysis',
|
||||
'invoice_opening_paid_balances',
|
||||
'invoice_adjustments',
|
||||
'payments_backup_20260718',
|
||||
] as $table) {
|
||||
@@ -259,20 +258,6 @@ class PaymentsLogicAndDataRepairSupport extends Migration
|
||||
) ENGINE=InnoDB"
|
||||
);
|
||||
|
||||
$this->db->query(
|
||||
"CREATE TABLE IF NOT EXISTS `invoice_opening_paid_balances` (
|
||||
`invoice_id` INT UNSIGNED NOT NULL,
|
||||
`amount` DECIMAL(10,2) NOT NULL,
|
||||
`effective_before_payment_id` INT UNSIGNED DEFAULT NULL,
|
||||
`school_year` VARCHAR(9) NOT NULL,
|
||||
`evidence_reference` VARCHAR(255) NOT NULL,
|
||||
`approved_by` INT UNSIGNED NOT NULL,
|
||||
`approved_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`notes` TEXT,
|
||||
PRIMARY KEY (`invoice_id`)
|
||||
) ENGINE=InnoDB"
|
||||
);
|
||||
|
||||
$this->db->query(
|
||||
"CREATE TABLE IF NOT EXISTS `payment_repair_decisions` (
|
||||
`payment_id` INT UNSIGNED NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user