categories for invoices/bills
This commit is contained in:
		@@ -97,6 +97,9 @@
 | 
			
		||||
                </table>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {{ Form::selectGroup('category_id', trans_choice('general.categories', 1), 'folder-open-o', $categories) }}
 | 
			
		||||
 | 
			
		||||
        {{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }}
 | 
			
		||||
 | 
			
		||||
        {{ Form::fileGroup('attachment', trans('general.attachment'),[]) }}
 | 
			
		||||
@@ -190,6 +193,10 @@
 | 
			
		||||
                placeholder: "{{ trans('general.form.select.field', ['field' => trans_choice('general.currencies', 1)]) }}"
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            $("#category_id").select2({
 | 
			
		||||
                placeholder: "{{ trans('general.form.select.field', ['field' => trans_choice('general.categories', 1)]) }}"
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            $('#attachment').fancyfile({
 | 
			
		||||
                text  : '{{ trans('general.form.select.file') }}',
 | 
			
		||||
                style : 'btn-default',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user