Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Invoice Filter

Erwan   ( User )

Commented 4 years ago

Hello!
I'm creating a custom module to do some custom export on invoices but I have a problem:
I cannot access to the Invoice filter from my method. (Basically adding an export button as the XLS export button)
When I do the call below I have an exception error:

$invoices = Invoice::with(['items', 'item_taxes', 'histories', 'payments', 'totals'])->filter(request()->input())->get();

can you tell me how to call it?
thanks

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions