mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
refactor estimate to invoice endpoint
This commit is contained in:
@ -390,7 +390,7 @@ class EstimatesController extends Controller
|
|||||||
'invoice_prefix',
|
'invoice_prefix',
|
||||||
$request->header('company')
|
$request->header('company')
|
||||||
);
|
);
|
||||||
$due_date = Carbon::parse($estimate->estimate_date)->addDays(7);
|
$due_date = Carbon::now()->addDays(7);
|
||||||
$tax_per_item = CompanySetting::getSetting(
|
$tax_per_item = CompanySetting::getSetting(
|
||||||
'tax_per_item',
|
'tax_per_item',
|
||||||
$request->header('company')
|
$request->header('company')
|
||||||
|
|||||||
Reference in New Issue
Block a user