@extends('layouts.admin') @section('title', trans('general.title.edit', ['type' => trans_choice('general.transfers', 1)])) @section('content')
{!! Form::model($transfer, [ 'method' => 'PATCH', 'url' => ['banking/transfers', $transfer->id], 'role' => 'form' ]) !!}
{{ 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' => 'yyyy-mm-dd', 'autocomplete' => 'off']) }} {{ Form::textareaGroup('description', trans('general.description')) }} {{ Form::selectGroup('payment_method', trans_choice('general.payment_methods', 1), 'credit-card', $payment_methods, null) }} {{ Form::textGroup('reference', trans('general.reference'), 'file-text-o', []) }}
@permission('update-banking-transfers') @endpermission {!! Form::close() !!}
@endsection @push('js') @endpush @push('css') @endpush @push('scripts') @endpush