@@ -15,35 +15,44 @@ Try out [the interactive demo](https://elegantly.dev/laravel-invoices) to explor
1515
1616## Table of Contents
1717
18- 1 . [ Requirements] ( #requirements )
19- 2 . [ Installation] ( #installation )
20- 3 . [ The PdfInvoice Class] ( #the-pdfinvoice-class )
21-
22- - [ Full exemple] ( #full-exemple )
23- - [ Custom Fields] ( #custom-fields )
24- - [ Seller & Buyer] ( #seller--buyer )
25- - [ Shipping Address] ( #shipping-address )
26- - [ Logo] ( #logo )
27- - [ Invoice Items] ( #invoice-items )
28- - [ Tax] ( #tax )
29- - [ Discounts] ( #discounts )
30- - [ Customizing the Template] ( #customizing-the-template )
31- - [ Customizing the PDF Font] ( #customizing-the-pdf-font )
32- - [ Rendering the Invoice as a PDF] ( #rendering-the-invoice-as-a-pdf )
33- - [ Rendering the Invoice in a View] ( #rendering-the-invoice-in-a-view )
34- - [ Creating an Invoice Builder with Livewire] ( #creating-an-invoice-builder-with-livewire )
35-
36- 4 . [ The Invoice Eloquent Model] ( #the-invoice-eloquent-model )
37- - [ Basic Usage] ( #basic-usage )
38- - [ Serial Numbers] ( #serial-numbers )
39- - [ Unique Serial Numbers] ( #unique-serial-numbers )
40- - [ Serial Numbers with Multiple Prefixes and Series] ( #serial-numbers-with-multiple-prefixes-and-series )
41- - [ Customizing the Serial Number Format] ( #customizing-the-serial-number-format )
42- - [ Displaying a PDF] ( #displaying-a-pdf )
43- - [ Customizing the PDF] ( #customizing-the-pdf )
44- - [ Dynamic Logo] ( #dynamic-logo )
45- - [ Displaying Your Invoice as a PDF] ( #displaying-your-invoice-as-a-pdf )
46- - [ Attaching Your Invoice to an Email] ( #attaching-your-invoice-to-an-email )
18+ - [ Requirements] ( #requirements )
19+ - [ Installation] ( #installation )
20+ - [ The ` PdfInvoice ` Class] ( #the-pdfinvoice-class )
21+ - [ Full Example] ( #full-example )
22+ - [ Rendering the Invoice as a PDF] ( #rendering-the-invoice-as-a-pdf )
23+ - [ Storing the PDF in a file] ( #storing-the-pdf-in-a-file )
24+ - [ Downloading the Invoice as a PDF] ( #downloading-the-invoice-as-a-pdf )
25+ - [ From a controller] ( #from-a-controller )
26+ - [ From a Livewire component] ( #from-a-livewire-component )
27+ - [ Rendering the Invoice as a view] ( #rendering-the-invoice-as-a-view )
28+ - [ Rendering the Invoice within a View] ( #rendering-the-invoice-within-a-view )
29+ - [ Adding Taxes] ( #adding-taxes )
30+ - [ Tax by Percentage] ( #tax-by-percentage )
31+ - [ Tax as a Fixed Amount] ( #tax-as-a-fixed-amount )
32+ - [ Adding Discounts] ( #adding-discounts )
33+ - [ Discount by Percentage] ( #discount-by-percentage )
34+ - [ Discount as a Fixed Amount] ( #discount-as-a-fixed-amount )
35+ - [ Customization] ( #customization )
36+ - [ Customizing Fonts] ( #customizing-fonts )
37+ - [ Customizing the Invoice Template] ( #customizing-the-invoice-template )
38+ - [ The ` Invoice ` Eloquent Model] ( #the-invoice-eloquent-model )
39+ - [ Complete Example] ( #complete-example )
40+ - [ Generating Unique Serial Numbers] ( #generating-unique-serial-numbers )
41+ - [ Using Multiple Prefixes and Series for Serial Numbers] ( #using-multiple-prefixes-and-series-for-serial-numbers )
42+ - [ Customizing the Serial Number Format] ( #customizing-the-serial-number-format )
43+ - [ Converting an ` Invoice ` Model to a ` PdfInvoice ` ] ( #converting-an-invoice-model-to-a-pdfinvoice )
44+ - [ Display, Download, and Store Invoices] ( #display-download-and-store-invoices )
45+ - [ Attaching Invoices to Mailables] ( #attaching-invoices-to-mailables )
46+ - [ Attaching Invoices to Notifications] ( #attaching-invoices-to-notifications )
47+ - [ Customizing PDF Output from the Model] ( #customizing-pdf-output-from-the-model )
48+ - [ Casting ` state ` and ` type ` to Enums] ( #casting-state-and-type-to-enums )
49+ - [ Using a Dynamic Logo] ( #using-a-dynamic-logo )
50+ - [ Testing] ( #testing )
51+ - [ Changelog] ( #changelog )
52+ - [ Contributing] ( #contributing )
53+ - [ Security Vulnerabilities] ( #security-vulnerabilities )
54+ - [ Credits] ( #credits )
55+ - [ License] ( #license )
4756
4857## Requirements
4958
@@ -518,13 +527,13 @@ $pdfInvoice = new PdfInvoice(
518527);
519528```
520529
521- ## Customization
530+ ### Customization
522531
523- ### Customizing Fonts
532+ #### Customizing Fonts
524533
525534See the [ Dompdf font guide] ( https://github.com/dompdf/dompdf ) .
526535
527- ### Customizing the Invoice Template
536+ #### Customizing the Invoice Template
528537
529538To customize the invoice template, first publish the package's views:
530539
0 commit comments