@extends('layouts.default') @section('title', trans('general.title.new', ['type' => trans_choice('general.revenues', 1)])) @section('content')
{!! Form::open(['url' => 'incomes/revenues', 'files' => true, 'role' => 'form']) !!}
{{ Form::textGroup('paid_at', trans('general.date'), 'calendar',['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => ''], Date::now()->format($date_format)) }} {{ Form::textGroup('amount', trans('general.amount'), 'money', ['required' => 'required', 'autofocus' => 'autofocus']) }} {{ Form::selectGroup('account_id', trans_choice('general.accounts', 1), 'university', $accounts, setting('general.accounts', 1)) }} {{ Form::hidden('account_chart_id',null,['id'=>'account_chart_id']) }} {!! Form::hidden('currency_code', setting('general.default_currency') , ['id' => 'currency_code']) !!} {{ Form::selectGroup('category_id', trans_choice('general.categories', 1), 'folder-open-o', $categories) }}
{{ trans_choice('general.customers', 1) }} {!! Form::select('customer_id', $customers, null, array_merge(['class' => 'selectpicker', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.customers', 1)])])) !!}
{{ Form::selectGroup('payment_method', trans_choice('general.payment_methods', 1), 'credit-card', $payment_methods, setting('general.default_payment_method')) }} {{ Form::textGroup('reference', trans('general.reference'), 'file-text-o', []) }} {{ Form::fileGroup('attachment', trans('general.attachment')) }} {{ Form::textareaGroup('description', trans('general.description')) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush