From b6ae6a2783570edefd01ff5bc2b22b1e43d7df81 Mon Sep 17 00:00:00 2001 From: Cleon <18450687+meld-cp@users.noreply.github.com> Date: Sat, 7 Jan 2023 21:07:08 +1300 Subject: [PATCH] docs --- docs/examples/invoice-builder.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/examples/invoice-builder.md b/docs/examples/invoice-builder.md index b5b7955..8924d56 100644 --- a/docs/examples/invoice-builder.md +++ b/docs/examples/invoice-builder.md @@ -26,13 +26,13 @@ const customers = [ { id: 101, name: 'Some Other Co', address: ['123 Some Other Rd', 'Some City'] }, ] -// Define the invoices their lines +// Define the invoices and their lines const invoices = [ { id: '22001', customer:100, date: '2022-12-01', status: 'open', work: [ - { inv: '22001', date: '2022-11-13', start: 7.00, end: 16.50, rate: 25.45, desc: 'I did the thing' }, - { inv: '22001', date: '2022-11-16', start: 10.75, end: 12.00, rate: 25.45, desc: 'I did the other thing' }, + { date: '2022-11-13', start: 7.00, end: 16.50, rate: 25.45, desc: 'I did the thing' }, + { date: '2022-11-16', start: 10.75, end: 12.00, rate: 25.45, desc: 'I did the other thing' }, ] }, ]