Update Report Livechat

This commit is contained in:
2023-09-09 10:36:01 +07:00
parent ab194600c2
commit cff5dba314
5 changed files with 81 additions and 33 deletions

View File

@@ -11,12 +11,21 @@ class Livechat extends Model
use HasFactory;
// public $sStatusNames = [
// 0 => 'Menunggu Konfirmasi',
// 1 => 'Diterima',
// 3 => 'Ditolak',
// 2 => 'Selesai',
// 4 => 'Expired',
// ];
public $sStatusNames = [
0 => 'Menunggu Konfirmasi',
1 => 'Diterima',
3 => 'Ditolak',
2 => 'Selesai',
4 => 'Expired',
0 => 'Request TC',
1 => 'Accepted by Doctor but User not Payment',
3 => 'Decline by Doctor',
2 => 'Payment Success',
4 => 'Payment Expired',
5 => 'Cancel by Patient'
];
const CREATED_AT = 'dCreateOn';