Self hosted, latest version.
I’m currently creating invoices with the code below:
It works perfectly for creating invoices, but when I try to create a quote with createQuote() I get:
Fatal error: Uncaught Error: Call to undefined method InvoiceNinja\Models\Client::createQuote()
Do you have a tiny snippet or hint for how to create a quote with the PHP api?
echo "Creating Invoice"; $client->createInvoice(); $client->save(); $invoice = $client->createInvoice(); $invoice->addInvoiceItem('Diagnostic Charge', 'Diagnostic Charge (includes first 30 minutes)', 75, 1);