update validasi benefit & plan

This commit is contained in:
2023-05-24 09:56:47 +07:00
parent 6f49e54631
commit f7838352b0
12 changed files with 484 additions and 9 deletions

View File

@@ -126,6 +126,57 @@ class Plan extends Model
"Max Periode of Surgery Non Surgery" => "max_surgery_periode_days",
];
public static $listing_doc_headers = [
"Service",
"Plan",
"Customer Plan",
"Plan Type",
"Start Date of Plan",
"End Date of Plan",
"Referral",
"Referral Source",
"Referral Duration",
"Family Plan",
"Family Sharing Overflow",
"Plan Limit",
"Layer ID",
"Layer Condition",
"Budget Type",
"Budget Code",
"Budget Condition",
"Surgery",
"Non Surgery",
"Max/Claim",
"Max Count of Claim",
"Area",
"Shared Plan",
"Shared Plan Type",
"Cashless(%)",
"Reimbursement(%)",
"Digital(%)",
"CoShareM(%)",
"CoShareS(%)",
"CoShareC(%)",
"Cashless Deductible",
"Reimbursement Deductible",
"Digital Deductible",
"DeductibleM",
"DeductibleS",
"DeductibleC",
"Co-share & Deductible Condition",
"MSC",
"Gender",
"Min Age",
"Max Age",
"Rule of Excess",
"Max Excess Covered",
"Prorate Type",
"Prorate Lookup",
"Currency",
"Reinstatement days for Surgery NonSurgery",
"Max Periode of Surgery Non Surgery",
];
public function setAreaLimitAttribute($value)
{
$this->attributes['area_limit'] = empty($value) ? null : $value;