Invoice customization added
This commit is contained in:
@ -67,6 +67,10 @@ class FormServiceProvider extends ServiceProvider
|
||||
'page', 'model' => null,
|
||||
]);
|
||||
|
||||
Form::component('invoice_text', 'partials.form.invoice_text', [
|
||||
'name', 'text', 'icon', 'values', 'selected' => null, 'attributes' => ['required' => 'required'], 'input_name', 'input_value', 'col' => 'col-md-6',
|
||||
]);
|
||||
|
||||
Form::component('dateRange', 'partials.form.date_range', [
|
||||
'name', 'text', 'icon', 'attributes' => ['required' => 'required'], 'value' => null, 'col' => 'col-md-6',
|
||||
]);
|
||||
|
@ -53,6 +53,11 @@ class ViewComposerServiceProvider extends ServiceProvider
|
||||
View::composer(
|
||||
['incomes.invoices.invoice', 'expenses.bills.bill'], 'App\Http\ViewComposers\Logo'
|
||||
);
|
||||
|
||||
// Add Invoice Text
|
||||
View::composer(
|
||||
['incomes.invoices.*'], 'App\Http\ViewComposers\InvoiceText'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user