form stuff done
This commit is contained in:
@ -62,6 +62,10 @@ class FormServiceProvider extends ServiceProvider
|
||||
Form::component('saveButtons', 'partials.form.save_buttons', [
|
||||
'cancel', 'col' => 'col-md-12',
|
||||
]);
|
||||
|
||||
Form::component('recurring', 'partials.form.recurring', [
|
||||
'page', 'model' => null,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -39,6 +39,11 @@ class ViewComposerServiceProvider extends ServiceProvider
|
||||
'modules.*', 'App\Http\ViewComposers\Modules'
|
||||
);
|
||||
|
||||
// Add recurring
|
||||
View::composer(
|
||||
['partials.form.recurring',], 'App\Http\ViewComposers\Recurring'
|
||||
);
|
||||
|
||||
// Add logo
|
||||
View::composer(
|
||||
['incomes.invoices.invoice', 'expenses.bills.bill'], 'App\Http\ViewComposers\Logo'
|
||||
|
Reference in New Issue
Block a user