mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
Fix Invoice/Estimate template issues and Add Payment Receipt, Custom Payment Modes and Item units
This commit is contained in:
committed by
Mohit Panjwani
parent
56a955befd
commit
4c33a5d88c
@ -49,6 +49,7 @@ Route::group(['prefix' => 'reports'], function () {
|
||||
|
||||
});
|
||||
|
||||
|
||||
// download invoice pdf with a unique_hash $id
|
||||
// -------------------------------------------------
|
||||
Route::get('/invoices/pdf/{id}', [
|
||||
@ -64,6 +65,14 @@ Route::get('/estimates/pdf/{id}', [
|
||||
'uses' => 'FrontendController@getEstimatePdf'
|
||||
]);
|
||||
|
||||
|
||||
// download payment pdf with a unique_hash $id
|
||||
// -------------------------------------------------
|
||||
Route::get('/payments/pdf/{id}', [
|
||||
'as' => 'get.payment.pdf',
|
||||
'uses' => 'FrontendController@getPaymentPdf'
|
||||
]);
|
||||
|
||||
Route::get('/customer/invoices/pdf/{id}', [
|
||||
'as' => 'get.invoice.pdf',
|
||||
'uses' => 'FrontendController@getCustomerInvoicePdf'
|
||||
|
||||
Reference in New Issue
Block a user