Files
alrahma_sunday_school/app/Models/ManualPaymentModel.php
T
root 4aac9472af
Tests / PHPUnit (push) Successful in 1m17s
update manual pay recording
2026-07-18 15:06:52 -04:00

29 lines
580 B
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
use App\Models\Concerns\SchoolYearAutoFillTrait;
class ManualPaymentModel extends Model
{
use SchoolYearAutoFillTrait;
protected $table = 'manual_payments';
protected $allowedFields = [
'invoice_number',
'amount',
'payment_method',
'reference',
'proof_path',
'update_by',
'school_year',
'created_at'];
protected $validationRules = [
'school_year' => 'required|string|max_length[9]',
];
protected $useTimestamps = false;
}