Skip to content

Commit 6429913

Browse files
committed
doc
1 parent 4ba973d commit 6429913

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Try out [the interactive demo](https://elegantly.dev/laravel-invoices) to explor
2727
- [Rendering the Invoice as a view](#rendering-the-invoice-as-a-view)
2828
- [Rendering the Invoice within a View](#rendering-the-invoice-within-a-view)
2929
- [Adding Taxes](#adding-taxes)
30-
- [Tax by Percentage](#tax-by-percentage)
31-
- [Tax as a Fixed Amount](#tax-as-a-fixed-amount)
30+
- [Tax by Percentage](#tax-by-percentage)
31+
- [Tax as a Fixed Amount](#tax-as-a-fixed-amount)
3232
- [Adding Discounts](#adding-discounts)
33-
- [Discount by Percentage](#discount-by-percentage)
34-
- [Discount as a Fixed Amount](#discount-as-a-fixed-amount)
33+
- [Discount by Percentage](#discount-by-percentage)
34+
- [Discount as a Fixed Amount](#discount-as-a-fixed-amount)
3535
- [Customization](#customization)
3636
- [Customizing Fonts](#customizing-fonts)
3737
- [Customizing the Invoice Template](#customizing-the-invoice-template)
@@ -450,7 +450,7 @@ This approach allows for seamless integration of the invoice into a dynamic and
450450

451451
Taxes are applied to individual `PdfInvoiceItem` item. You can define them either as a percentage or a fixed amount.
452452

453-
### Tax by Percentage
453+
#### Tax by Percentage
454454

455455
To add a tax as a percentage, set the `tax_percentage` property on the `PdfInvoiceItem`. This value should be a float between 0 and 100.
456456

@@ -464,7 +464,7 @@ new PdfInvoiceItem(
464464
),
465465
```
466466

467-
### Tax as a Fixed Amount
467+
#### Tax as a Fixed Amount
468468

469469
To apply a tax as a specific monetary amount, set the `unit_tax` property on the `PdfInvoiceItem`.
470470

@@ -485,7 +485,7 @@ Discounts are represented by the `InvoiceDiscount` class and are applied to the
485485
- You can add multiple discounts to a single invoice.
486486
- Discounts can be specified as a fixed amount (`amount_off`) or a percentage (`percent_off`). If both are provided for the same discount, the `amount_off` value takes precedence.
487487

488-
### Discount by Percentage
488+
#### Discount by Percentage
489489

490490
To apply a discount as a percentage, set the `percent_off` property.
491491

@@ -506,7 +506,7 @@ $pdfInvoice = new PdfInvoice(
506506
);
507507
```
508508

509-
### Discount as a Fixed Amount
509+
#### Discount as a Fixed Amount
510510

511511
To apply a discount as a fixed amount, set the `amount_off` property.
512512

0 commit comments

Comments
 (0)