subcontractor payments table added in owners box

This commit is contained in:
Satyam Rastogi
2026-05-20 18:45:00 +05:30
parent 11b15a2e30
commit 5dd781ca45
3 changed files with 531 additions and 0 deletions
+29
View File
@@ -5152,6 +5152,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
{ id: 'sct_001_f1', description: 'Labour — Ridge Cap Replacement', type: 'Labour / Service Fee', amount: 350, createdAt: '2026-05-16T13:20:00Z' },
{ id: 'sct_001_f2', description: 'Mobilization to site', type: 'Mobilization Fee', amount: 75, createdAt: '2026-05-16T13:22:00Z' },
],
projectId: 'proj_004',
paymentStatus: 'Unpaid',
paymentRequestedAt: '2026-05-16T17:30:00Z',
createdAt: '2026-05-15T09:12:00Z',
updatedAt: '2026-05-16T17:30:00Z',
},
@@ -5194,6 +5197,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
fees: [
{ id: 'sct_002_f1', description: 'Labour — Day 1 disconnect / prep', type: 'Labour / Service Fee', amount: 425, createdAt: '2026-05-12T17:00:00Z' },
],
projectId: 'proj_003',
paymentStatus: 'Unpaid',
paymentRequestedAt: '2026-05-12T17:00:00Z',
createdAt: '2026-05-10T15:40:00Z',
updatedAt: '2026-05-12T17:00:00Z',
},
@@ -5232,6 +5238,10 @@ const MOCK_SUBCONTRACTOR_TASKS = [
fees: [
{ id: 'sct_003_f1', description: 'Touch-up paint labour', type: 'Labour / Service Fee', amount: 180, createdAt: '2026-05-14T17:35:00Z' },
],
projectId: 'proj_006',
paymentStatus: 'Paid',
paymentRequestedAt: '2026-05-14T17:35:00Z',
paidAt: '2026-05-18T10:15:00Z',
createdAt: '2026-05-05T11:00:00Z',
updatedAt: '2026-05-14T17:30:00Z',
},
@@ -5267,6 +5277,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
],
expenses: [],
fees: [],
projectId: 'proj_003',
paymentStatus: 'Unpaid',
paymentRequestedAt: null,
createdAt: '2026-05-18T22:40:00Z',
updatedAt: '2026-05-18T23:10:00Z',
},
@@ -5306,6 +5319,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
fees: [
{ id: 'sct_005_f1', description: 'Inspection — initial visit', type: 'Inspection Fee', amount: 125, createdAt: '2026-05-14T13:00:00Z' },
],
projectId: 'proj_012',
paymentStatus: 'Unpaid',
paymentRequestedAt: '2026-05-14T13:00:00Z',
createdAt: '2026-05-12T10:00:00Z',
updatedAt: '2026-05-15T16:20:00Z',
},
@@ -5334,6 +5350,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
thread: [],
expenses: [],
fees: [],
projectId: 'proj_011',
paymentStatus: 'Unpaid',
paymentRequestedAt: null,
createdAt: '2026-05-17T14:00:00Z',
updatedAt: '2026-05-17T14:00:00Z',
},
@@ -5374,6 +5393,10 @@ const MOCK_SUBCONTRACTOR_TASKS = [
fees: [
{ id: 'sct_007_f1', description: 'Labour — deck repair (2 days)', type: 'Labour / Service Fee', amount: 920, createdAt: '2026-05-07T16:50:00Z' },
],
projectId: 'proj_011',
paymentStatus: 'Paid',
paymentRequestedAt: '2026-05-07T16:50:00Z',
paidAt: '2026-05-12T14:00:00Z',
createdAt: '2026-05-01T09:00:00Z',
updatedAt: '2026-05-07T17:00:00Z',
},
@@ -5426,6 +5449,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
{ id: 'sct_008_f1', description: 'Labour — Kitchen GFCI install (2 outlets + island)', type: 'Labour / Service Fee', amount: 220, createdAt: '2026-05-19T12:35:00Z' },
{ id: 'sct_008_f2', description: 'Mobilization to site', type: 'Mobilization Fee', amount: 75, createdAt: '2026-05-19T08:00:00Z' },
],
projectId: 'proj_011',
paymentStatus: 'Unpaid',
paymentRequestedAt: '2026-05-19T12:35:00Z',
createdAt: '2026-05-16T13:00:00Z',
updatedAt: '2026-05-19T18:00:00Z',
},
@@ -5455,6 +5481,9 @@ const MOCK_SUBCONTRACTOR_TASKS = [
thread: [],
expenses: [],
fees: [],
projectId: null,
paymentStatus: 'Unpaid',
paymentRequestedAt: null,
createdAt: '2026-05-09T10:00:00Z',
updatedAt: '2026-05-13T12:00:00Z',
},