mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
feat(FE-208,212): simplify PurchaseOrder forms by removing unused fields and updating user names
This commit is contained in:
@@ -10,7 +10,7 @@ import { BaseGroupedApproval } from '@/types/api/api-general';
|
||||
import { PURCHASE_ORDER_APPROVAL_LINE } from '@/config/approval-line';
|
||||
|
||||
interface PurchaseOrderDetailProps {
|
||||
type?: 'detail' | 'edit' | 'approval-purchasing' | 'approval-manager';
|
||||
type?: 'detail' | 'edit';
|
||||
}
|
||||
|
||||
const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
@@ -26,8 +26,8 @@ const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
action_by: {
|
||||
id: 1,
|
||||
id_user: 1,
|
||||
email: 'staff@company.com',
|
||||
name: 'Staff Pengajuan',
|
||||
email: 'user@company.com',
|
||||
name: 'User Pengajuan',
|
||||
},
|
||||
action_at: '2025-01-10T08:00:00Z',
|
||||
},
|
||||
@@ -46,7 +46,7 @@ const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
id: 2,
|
||||
id_user: 2,
|
||||
email: 'purchasing@company.com',
|
||||
name: 'Ahmad Purchasing',
|
||||
name: 'Staff Purchasing',
|
||||
},
|
||||
action_at: '2025-01-10T10:30:00Z',
|
||||
},
|
||||
@@ -65,7 +65,7 @@ const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
id: 3,
|
||||
id_user: 3,
|
||||
email: 'manager.purchasing@company.com',
|
||||
name: 'Budi Manager Purchasing',
|
||||
name: 'Manager Purchasing',
|
||||
},
|
||||
action_at: '2025-01-10T14:15:00Z',
|
||||
},
|
||||
@@ -83,8 +83,8 @@ const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
action_by: {
|
||||
id: 4,
|
||||
id_user: 4,
|
||||
email: 'warehouse@company.com',
|
||||
name: 'Candra Warehouse',
|
||||
email: 'user@company.com',
|
||||
name: 'User Pengajuan',
|
||||
},
|
||||
action_at: '2025-01-12T09:00:00Z',
|
||||
},
|
||||
@@ -102,8 +102,8 @@ const dummyGroupedApprovals: BaseGroupedApproval[] = [
|
||||
action_by: {
|
||||
id: 5,
|
||||
id_user: 5,
|
||||
email: 'finance@company.com',
|
||||
name: 'Diana Finance',
|
||||
email: 'user@company.com',
|
||||
name: 'User Pengajuan',
|
||||
},
|
||||
action_at: '2025-01-12T16:00:00Z',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user