We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90db840 commit 8336df2Copy full SHA for 8336df2
README.md
@@ -91,7 +91,9 @@ $item->delete();
91
#### Invoice lifecycle:
92
93
```php
94
-use Squarebit\InvoiceXpress\API\Data\PdfData;$invoice = (new IxInvoice())
+use Squarebit\InvoiceXpress\API\Data\PdfData;
95
+
96
+$invoice = (new IxInvoice())
97
->setClient(IxClient::findOrFail(1234)) // set the invoice's client
98
->addItem(IxItem::find(2345)) // add an IxItem model
99
->addItem(ItemData::from([....])) // you can also add from an ItemData
@@ -183,7 +185,7 @@ $invoiceEndpoint->sendByEmail(
183
185
EmailData::from([
184
186
'client_data' => EmailClientData::from([
187
'email' => '[email protected]'
- ])
188
+ ]),
189
'subject' => '...',
190
'body' => '...',
191
'cc' => '...',
0 commit comments