Skip to content

Commit b37959e

Browse files
committed
Updates README
1 parent e03fee1 commit b37959e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ use LaravelDaily\Invoices\Classes\InvoiceItem;
143143
]);
144144

145145
$items = [
146-
(new InvoiceItem())->title('Service 1')->pricePerUnit(47.79)->quantity(2)->discount(10),
146+
(new InvoiceItem())->title('Service 1')->description('additional text')->pricePerUnit(47.79)->quantity(2)->discount(10),
147147
(new InvoiceItem())->title('Service 2')->pricePerUnit(71.96)->quantity(2),
148148
(new InvoiceItem())->title('Service 3')->pricePerUnit(4.56),
149149
(new InvoiceItem())->title('Service 4')->pricePerUnit(87.51)->quantity(7)->discount(4)->units('kg'),
@@ -391,6 +391,7 @@ Almost every configuration value can be overrided dynamically by methods.
391391

392392
## InvoiceItem
393393
- title(string) - product or service name
394+
- description(string) - additional information for service entry
394395
- units(string) - measurement units of item (adds units columns if set)
395396
- quantity(float) - amount of units of item
396397
- pricePerUnit(float)
838 KB
Binary file not shown.

0 commit comments

Comments
 (0)