change mock data for some projects
This commit is contained in:
@@ -2416,6 +2416,20 @@ const MOCK_PROJECTS = [
|
|||||||
{ name: 'City of Plano', category: 'Permits & Fees', allocated: 1000, committed: 1000, actual: 950 },
|
{ name: 'City of Plano', category: 'Permits & Fees', allocated: 1000, committed: 1000, actual: 950 },
|
||||||
{ name: 'Reserve Fund', category: 'Contingency', allocated: 5000, committed: 1200, actual: 950 }
|
{ name: 'Reserve Fund', category: 'Contingency', allocated: 5000, committed: 1200, actual: 950 }
|
||||||
],
|
],
|
||||||
|
// Cost breakdown / expenses — actuals reflect spend-to-date and each line is fully
|
||||||
|
// paid (paymentRequests cover the actual), so outstanding expenses are $0.
|
||||||
|
expenses: [
|
||||||
|
{ id: 'exp_003_1', type: 'material', name: 'Comfort Air Systems', category: 'Equipment & Materials', allocated: 15000, actual: 12500, paid: true, paymentRequests: [ { id: 'req_003_1_1', requestDate: '2026-01-10', requestedAmount: 12500, amountPaid: 12500, paymentDate: '2026-01-14' } ] },
|
||||||
|
{ id: 'exp_003_2', type: 'labor', name: 'Comfort Air Systems', category: 'Labor - HVAC', allocated: 8000, actual: 6000, paid: true, paymentRequests: [ { id: 'req_003_2_1', requestDate: '2026-01-22', requestedAmount: 6000, amountPaid: 6000, paymentDate: '2026-01-26' } ] },
|
||||||
|
{ id: 'exp_003_3', type: 'labor', name: 'Sparky Electric', category: 'Labor - Electrical', allocated: 3000, actual: 2400, paid: true, paymentRequests: [ { id: 'req_003_3_1', requestDate: '2026-02-05', requestedAmount: 2400, amountPaid: 2400, paymentDate: '2026-02-08' } ] },
|
||||||
|
{ id: 'exp_003_4', type: 'other', name: 'City of Plano', category: 'Permits & Fees', allocated: 1000, actual: 950, paid: true, paymentRequests: [ { id: 'req_003_4_1', requestDate: '2026-01-06', requestedAmount: 950, amountPaid: 950, paymentDate: '2026-01-08' } ] },
|
||||||
|
{ id: 'exp_003_5', type: 'other', name: 'Reserve Fund', category: 'Contingency', allocated: 5000, actual: 600, paid: true, paymentRequests: [ { id: 'req_003_5_1', requestDate: '2026-02-10', requestedAmount: 600, amountPaid: 600, paymentDate: '2026-02-12' } ] },
|
||||||
|
{ id: 'exp_003_6', type: 'team', name: 'Jesus Gonzales', category: 'Sales Rep', costType: 'Commission', allocated: 3200, actual: 3200, paid: true, paymentRequests: [ { id: 'req_003_6_1', requestDate: '2026-02-12', requestedAmount: 3200, amountPaid: 3200, paymentDate: '2026-02-15' } ] }
|
||||||
|
],
|
||||||
|
paymentsReceived: [
|
||||||
|
{ id: 'rcv_003_1', from: 'Homeowner', method: 'ACH', amount: 18000, date: '2026-01-08', refNumber: 'ACH-003-1', memo: 'HVAC deposit & equipment payment' },
|
||||||
|
{ id: 'rcv_003_2', from: 'Homeowner', method: 'Check', amount: 12000, date: '2026-02-20', refNumber: 'CHK-003', memo: 'Progress payment — installation' }
|
||||||
|
],
|
||||||
invoices: [
|
invoices: [
|
||||||
{ id: 'inv_003_1', amount: 8200, submittedBy: 'con_001', status: 'paid', dueDate: '2026-01-15', datePaid: '2026-01-16' },
|
{ id: 'inv_003_1', amount: 8200, submittedBy: 'con_001', status: 'paid', dueDate: '2026-01-15', datePaid: '2026-01-16' },
|
||||||
{ id: 'inv_003_2', amount: 10500.25, submittedBy: 'v6', status: 'pending', dueDate: '2026-02-19' },
|
{ id: 'inv_003_2', amount: 10500.25, submittedBy: 'v6', status: 'pending', dueDate: '2026-02-19' },
|
||||||
@@ -2623,6 +2637,20 @@ const MOCK_PROJECTS = [
|
|||||||
{ name: 'Texas Builders LLC', category: 'Structural Repairs (CO)', allocated: 0, committed: 850, actual: 850 },
|
{ name: 'Texas Builders LLC', category: 'Structural Repairs (CO)', allocated: 0, committed: 850, actual: 850 },
|
||||||
{ name: 'Reserve Fund', category: 'Contingency', allocated: 5000, committed: 1350, actual: 350 }
|
{ name: 'Reserve Fund', category: 'Contingency', allocated: 5000, committed: 1350, actual: 350 }
|
||||||
],
|
],
|
||||||
|
// Cost breakdown / expenses — actuals reflect spend-to-date and each line is fully
|
||||||
|
// paid (paymentRequests cover the actual), so outstanding expenses are $0.
|
||||||
|
expenses: [
|
||||||
|
{ id: 'exp_005_1', type: 'material', name: 'ABC Supply Co.', category: 'Materials - Siding', allocated: 12000, actual: 8000, paid: true, paymentRequests: [ { id: 'req_005_1_1', requestDate: '2026-01-10', requestedAmount: 8000, amountPaid: 8000, paymentDate: '2026-01-13' } ] },
|
||||||
|
{ id: 'exp_005_2', type: 'labor', name: 'Siding Solutions TX', category: 'Labor - Prep & Install', allocated: 9000, actual: 3500, paid: true, paymentRequests: [ { id: 'req_005_2_1', requestDate: '2026-01-16', requestedAmount: 3500, amountPaid: 3500, paymentDate: '2026-01-20' } ] },
|
||||||
|
{ id: 'exp_005_3', type: 'other', name: 'Sunbelt Rentals', category: 'Equipment Rental', allocated: 2000, actual: 1500, paid: true, paymentRequests: [ { id: 'req_005_3_1', requestDate: '2026-01-09', requestedAmount: 1500, amountPaid: 1500, paymentDate: '2026-01-12' } ] },
|
||||||
|
{ id: 'exp_005_4', type: 'other', name: 'Texas Builders LLC', category: 'Structural Repairs (CO)', allocated: 850, actual: 850, paid: true, paymentRequests: [ { id: 'req_005_4_1', requestDate: '2026-01-19', requestedAmount: 850, amountPaid: 850, paymentDate: '2026-01-22' } ] },
|
||||||
|
{ id: 'exp_005_5', type: 'other', name: 'Reserve Fund', category: 'Contingency', allocated: 5000, actual: 350, paid: true, paymentRequests: [ { id: 'req_005_5_1', requestDate: '2026-01-25', requestedAmount: 350, amountPaid: 350, paymentDate: '2026-01-27' } ] },
|
||||||
|
{ id: 'exp_005_6', type: 'team', name: 'Sarah Calloway', category: 'Sales Rep', costType: 'Commission', allocated: 2800, actual: 2800, paid: true, paymentRequests: [ { id: 'req_005_6_1', requestDate: '2026-01-28', requestedAmount: 2800, amountPaid: 2800, paymentDate: '2026-01-31' } ] }
|
||||||
|
],
|
||||||
|
paymentsReceived: [
|
||||||
|
{ id: 'rcv_005_1', from: 'Homeowner', method: 'ACH', amount: 13000, date: '2026-01-08', refNumber: 'ACH-005-1', memo: 'Siding project deposit' },
|
||||||
|
{ id: 'rcv_005_2', from: 'Homeowner', method: 'Check', amount: 9000, date: '2026-02-06', refNumber: 'CHK-005', memo: 'Progress payment — tear-off & barrier' }
|
||||||
|
],
|
||||||
invoices: [
|
invoices: [
|
||||||
{ id: 'inv_005_1', amount: 8400, submittedBy: 'con_001', status: 'paid', dueDate: '2026-01-12', datePaid: '2026-01-13' },
|
{ id: 'inv_005_1', amount: 8400, submittedBy: 'con_001', status: 'paid', dueDate: '2026-01-12', datePaid: '2026-01-13' },
|
||||||
{ id: 'inv_005_2', amount: 5800, submittedBy: 'v3', status: 'paid', dueDate: '2026-01-20', datePaid: '2026-01-21' },
|
{ id: 'inv_005_2', amount: 5800, submittedBy: 'v3', status: 'paid', dueDate: '2026-01-20', datePaid: '2026-01-21' },
|
||||||
@@ -3798,6 +3826,20 @@ const MOCK_PROJECTS = [
|
|||||||
{ name: 'City of Plano', category: 'Permits', allocated: 800, committed: 800, actual: 800 },
|
{ name: 'City of Plano', category: 'Permits', allocated: 800, committed: 800, actual: 800 },
|
||||||
{ name: 'Reserve Fund', category: 'Contingency', allocated: 1900, committed: 1000, actual: 0 },
|
{ name: 'Reserve Fund', category: 'Contingency', allocated: 1900, committed: 1000, actual: 0 },
|
||||||
],
|
],
|
||||||
|
// Cost breakdown / expenses — materials, permits and commission are fully paid, while
|
||||||
|
// the in-progress labor and the structural-rot change order are only partially paid,
|
||||||
|
// so the project still carries some outstanding expenses.
|
||||||
|
expenses: [
|
||||||
|
{ id: 'exp_019_1', type: 'material', name: 'Owens Corning', category: 'Materials', allocated: 15400, actual: 14200, paid: true, paymentRequests: [ { id: 'req_019_1_1', requestDate: '2026-03-24', requestedAmount: 14200, amountPaid: 14200, paymentDate: '2026-03-26' } ] },
|
||||||
|
{ id: 'exp_019_2', type: 'labor', name: 'Plano Siding Crew', category: 'Labor', allocated: 10400, actual: 4800, paid: false, paymentRequests: [ { id: 'req_019_2_1', requestDate: '2026-03-27', requestedAmount: 4800, amountPaid: 2800, paymentDate: '2026-03-28' } ] },
|
||||||
|
{ id: 'exp_019_3', type: 'other', name: 'City of Plano', category: 'Permits', allocated: 800, actual: 800, paid: true, paymentRequests: [ { id: 'req_019_3_1', requestDate: '2026-03-04', requestedAmount: 800, amountPaid: 800, paymentDate: '2026-03-05' } ] },
|
||||||
|
{ id: 'exp_019_4', type: 'other', name: 'Texas Builders LLC', category: 'Structural Sheathing (CO-019-02)', allocated: 3800, actual: 1800, paid: false, paymentRequests: [ { id: 'req_019_4_1', requestDate: '2026-03-29', requestedAmount: 1800, amountPaid: 800, paymentDate: '2026-03-30' } ] },
|
||||||
|
{ id: 'exp_019_5', type: 'team', name: 'Jesus Gonzales', category: 'Sales Rep', costType: 'Commission', allocated: 2850, actual: 2850, paid: true, paymentRequests: [ { id: 'req_019_5_1', requestDate: '2026-03-02', requestedAmount: 2850, amountPaid: 2850, paymentDate: '2026-03-05' } ] }
|
||||||
|
],
|
||||||
|
paymentsReceived: [
|
||||||
|
{ id: 'rcv_019_1', from: 'Insurance Carrier', method: 'ACH', amount: 21375, date: '2026-03-01', refNumber: 'ACH-019-1', memo: 'Insurance claim payout — siding replacement' },
|
||||||
|
{ id: 'rcv_019_2', from: 'Sandra Tran', method: 'Check', amount: 7125, date: '2026-02-25', refNumber: 'CHK-019', memo: 'Homeowner deposit (25%)' }
|
||||||
|
],
|
||||||
changeOrders: [
|
changeOrders: [
|
||||||
{ id: 'CO-019-01', title: 'Rot Repair — 2 Panels', amount: 380, status: 'approved', description: 'Two panels of rotted OSB substrate discovered during demo. Repaired.' },
|
{ id: 'CO-019-01', title: 'Rot Repair — 2 Panels', amount: 380, status: 'approved', description: 'Two panels of rotted OSB substrate discovered during demo. Repaired.' },
|
||||||
{ id: 'CO-019-02', title: 'Hidden Rot & Structural Sheathing Replacement', amount: 3800, status: 'approved', dateSubmitted: '2026-03-28', description: 'Full west wall sheathing found severely rotted behind old siding — 320 sq ft of OSB substructure replaced plus additional labor days. Exceeds original labor budget by $3,800.' },
|
{ id: 'CO-019-02', title: 'Hidden Rot & Structural Sheathing Replacement', amount: 3800, status: 'approved', dateSubmitted: '2026-03-28', description: 'Full west wall sheathing found severely rotted behind old siding — 320 sq ft of OSB substructure replaced plus additional labor days. Exceeds original labor budget by $3,800.' },
|
||||||
|
|||||||
Reference in New Issue
Block a user