fitur import request log dan final log

This commit is contained in:
2024-01-12 06:46:10 +07:00
parent 52f7cacfd8
commit 81fb10fbf0
6 changed files with 404 additions and 49 deletions

View File

@@ -34,6 +34,7 @@ class RequestLog extends Model
'hak_kamar_pasien',
'penempatan_kamar',
'catatan',
'import_system',
'code',
'approved_by',
'approved_at',
@@ -50,14 +51,38 @@ class RequestLog extends Model
'deleted_by',
];
public static $doc_headers_to_field_map = [
"ID REQUEST LOG" => "id",
"STATUS (approved, declined, requested)" => "status",
public static $doc_headers_to_field_map = [
"Date Of Request" => "submission_date",
"Date Addmission" => "submission_date",
"Member ID Peserta" => "member_id",
"Type of patient" => "service",
"Provider Name" => "organization_id",
"End Of Claim Numbers" => "code",
"Remarks" => "keterangan",
"Diagnosis" => "catatan",
"Tgl Billing dari RS" => "approved_final_log_at",
"Benefit Item" => "benefit_id",
"Total Billing" => "total_billing",
"Amount Approval" => "amount_approval",
"Amount Not Approval" => "amount_not_approval",
"QC 1" => "status_final_log",
];
public static $listing_doc_headers = [
"ID REQUEST LOG",
"STATUS (approved, declined, requested)",
"Date Of Request",
"Date Addmission",
"Member ID Peserta",
"Type of patient",
"Provider Name",
"End Of Claim Numbers",
"Remarks",
"Diagnosis",
"Tgl Billing dari RS",
"Benefit Item",
"Total Billing",
"Amount Approval",
"Amount Not Approval",
"QC 1",
];
public static $listing_data_doc_headers = [