File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments