@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.transfers', 1)])) @section('content')
{!! Form::open(['url' => 'banking/transfers', 'role' => 'form', 'class' => 'form-loading-button']) !!}
{{ Form::selectGroup('from_account_id', trans('transfers.from_account'), 'university', $accounts) }} {{ Form::selectGroup('to_account_id', trans('transfers.to_account'), 'university', $accounts) }} {{ Form::textGroup('amount', trans('general.amount'), 'money') }} {{ Form::textGroup('transferred_at', trans('general.date'), 'calendar',['id' => 'transferred_at', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '', 'autocomplete' => 'off'], Date::now()->toDateString()) }} {{ Form::textareaGroup('description', trans('general.description')) }} {{ 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::hidden('currency_code', null, ['id' => 'currency_code']) !!} {!! Form::hidden('currency_rate', null, ['id' => 'currency_rate']) !!}
{!! Form::close() !!}
@endsection @push('js') @if (language()->getShortCode() != 'en') @endif @endpush @push('css') @endpush @push('scripts') @endpush