Merge remote-tracking branch 'refs/remotes/origin/staging' into staging

This commit is contained in:
kevin
2023-07-04 09:42:37 +07:00
1905 changed files with 550 additions and 13 deletions

View File

0
frontend/dashboard/src/pages/ClaimRequests/Form.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/ClaimRequests/Index.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/ClaimRequests/List.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Claims/CreateUpdate.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Claims/Form.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Claims/Index.tsx Executable file → Normal file
View File

2
frontend/dashboard/src/pages/Claims/List.tsx Executable file → Normal file
View File

@@ -84,7 +84,7 @@ export default function List() {
onChange={handleSearchChange}
value={searchText}
/>
<Tooltip title="Export Excel">
<Tooltip title="Benefit Usage Report">
<Button variant="outlined" startIcon={<AssessmentIcon />} sx={{ p: 1.8 }} onClick={handleGetData}/>
</Tooltip>
</Stack>

0
frontend/dashboard/src/pages/Claims/Show.tsx Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@@ -710,6 +710,12 @@ export default function PlanList() {
<Grid item xs={6}>
: {row.max_period_for_disability ? row.max_period_for_disability : '-'}
</Grid>
<Grid item xs={6}>
Limit Free TC
</Grid>
<Grid item xs={6}>
: {row.limit_free_tc ? row.limit_free_tc : '-'}
</Grid>
<Grid item xs={6}>
Currency
</Grid>

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

8
frontend/dashboard/src/pages/Corporates/Form.tsx Executable file → Normal file
View File

@@ -231,6 +231,7 @@ export default function CorporateForm({ isEdit, currentCorporate }: Props) {
welcome_message: currentCorporate?.welcome_message || '',
help_text: currentCorporate?.help_text || '',
active: currentCorporate?.id ? currentCorporate?.active === 1 : true,
automatic_linking: currentCorporate?.id ? currentCorporate?.automatic_linking === 1 : true,
policy_id: currentCorporate?.current_policy?.id || '',
policy_code: currentCorporate?.current_policy?.code || '',
policy_total_premi: currentCorporate?.current_policy?.total_premi || 0,
@@ -303,6 +304,7 @@ export default function CorporateForm({ isEdit, currentCorporate }: Props) {
formData.append('name', data.name);
formData.append('code', data.code);
formData.append('active', data.active ? '1' : '0');
formData.append('automatic_linking', data.automatic_linking ? 1 : 0);
formData.append('type', data.type);
formData.append('welcome_message', data.welcome_message);
formData.append('reason', data.reason);
@@ -430,6 +432,10 @@ export default function CorporateForm({ isEdit, currentCorporate }: Props) {
value: 'member_id',
label: 'Member ID',
},
{
value: 'policy_code',
label: 'Policy Number',
},
{
value: 'phone',
label: 'Nomor Telepon',
@@ -571,6 +577,8 @@ export default function CorporateForm({ isEdit, currentCorporate }: Props) {
<Card sx={{ p: 3 }}>
{JSON.stringify(values.active)}
<RHFSwitch name="active" label="Is Company Active" />
{JSON.stringify(values.automatic_linking)}
<RHFSwitch name="automatic_linking" label="Is Company Automatic Linking" />
<Stack spacing={3} mt={2} alignItems="center">
<Typography align="center">Company Logo</Typography>
{/* <RHFUploadAvatar

View File

View File

View File

View File

View File

View File

0
frontend/dashboard/src/pages/Corporates/Index.tsx Executable file → Normal file
View File

View File

View File

View File

View File

View File

0
frontend/dashboard/src/pages/Corporates/Plan/Index.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Corporates/Plan/List.tsx Executable file → Normal file
View File

View File

View File

View File

View File

0
frontend/dashboard/src/pages/Corporates/Show.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Dashboard.tsx Executable file → Normal file
View File

View File

View File

0
frontend/dashboard/src/pages/Master/Diagnosis/List.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Doctors/Create.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Doctors/Form.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Doctors/Index.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Doctors/List.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Drug/Create.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Drug/Index.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Master/Drug/List.tsx Executable file → Normal file
View File

View File

View File

View File

View File

View File

0
frontend/dashboard/src/pages/Master/Hospitals/Form.tsx Executable file → Normal file
View File

View File

0
frontend/dashboard/src/pages/Master/Hospitals/List.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Medicines/Create.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Members/Index.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Page404.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Profile/FormPassword.tsx Executable file → Normal file
View File

0
frontend/dashboard/src/pages/Profile/Index.tsx Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More