refs #1075
This commit is contained in:
		| @@ -17,7 +17,7 @@ | ||||
|  | ||||
|             <div class="card-body"> | ||||
|                 <div class="row"> | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, config('general.vendors'), ['required' => 'required', 'change' => 'onChangeContact']) }} | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, config('general.vendors'), ['required' => 'required', 'path' => route('modals.vendors.create'), 'change' => 'onChangeContact']) }} | ||||
|  | ||||
|                     {{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, setting('default.currency'), ['required' => 'required', 'change' => 'onChangeCurrency']) }} | ||||
|  | ||||
| @@ -160,7 +160,7 @@ | ||||
|  | ||||
|                     {{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }} | ||||
|  | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, setting('default.category'), []) }} | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, setting('default.category'), ['required' => 'required', 'path' => route('modals.categories.create') . '?type=expense']) }} | ||||
|  | ||||
|                     {{ Form::recurring('create') }} | ||||
|  | ||||
|   | ||||
| @@ -18,7 +18,7 @@ | ||||
|  | ||||
|             <div class="card-body"> | ||||
|                 <div class="row"> | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, $bill->contact_id, ['required' => 'required', 'change' => 'onChangeContact']) }} | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, $bill->contact_id, ['required' => 'required', 'path' => route('modals.vendors.create'), 'change' => 'onChangeContact']) }} | ||||
|  | ||||
|                     {{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange', $currencies, $bill->currency_code, ['required' => 'required', 'change' => 'onChangeCurrency']) }} | ||||
|  | ||||
| @@ -161,7 +161,7 @@ | ||||
|  | ||||
|                     {{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }} | ||||
|  | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $bill->category_id) }} | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $bill->category_id, ['required' => 'required', 'path' => route('modals.categories.create') . '?type=expense']) }} | ||||
|  | ||||
|                     {{ Form::recurring('edit', $bill) }} | ||||
|  | ||||
|   | ||||
| @@ -26,7 +26,7 @@ | ||||
|  | ||||
|                     {{ Form::selectGroup('account_id', trans_choice('general.accounts', 1), 'university', $accounts, setting('default.account'), ['required' => 'required', 'change' => 'onChangeAccount']) }} | ||||
|  | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, setting('default.vendor'), []) }} | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, setting('default.vendor'), ['path' => route('modals.vendors.create')]) }} | ||||
|  | ||||
|                     {{ Form::textareaGroup('description', trans('general.description')) }} | ||||
|  | ||||
|   | ||||
| @@ -39,11 +39,11 @@ | ||||
|  | ||||
|                     {{ Form::selectGroup('account_id',  trans_choice('general.accounts', 1), 'university', $accounts, $payment->account_id, ['required' => 'required', 'change' => 'onChangeAccount']) }} | ||||
|  | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, $payment->contact_id, []) }} | ||||
|                     {{ Form::selectAddNewGroup('contact_id', trans_choice('general.vendors', 1), 'user', $vendors, $payment->contact_id, ['path' => route('modals.vendors.create')]) }} | ||||
|  | ||||
|                     {{ Form::textareaGroup('description', trans('general.description')) }} | ||||
|  | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $payment->category_id, ['required' => 'required']) }} | ||||
|                     {{ Form::selectAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $payment->category_id, ['required' => 'required', 'path' => route('modals.categories.create') . '?type=expense']) }} | ||||
|  | ||||
|                     {{ Form::recurring('edit', $payment) }} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user