@extends('layouts.default') @section('title', 'Edit Deposit') @section('new_button') view_listDeposit List remove_red_eyeshow add Deposit @endsection @section('content') {!! Form::model($deposit,[ 'method' => 'PATCH', 'url' => ['banking/deposit',$deposit->id], 'role' => 'form']) !!}
{{ Form::selectGroup('account_id', 'Deposit To', $accounts, $deposit->account_id, ['data-live-search'=>'true','required'=>'required']) }}
{{ Form::textGroup('paid_at', 'Date', Date::parse($deposit->paid_at)->format('yyyy-mm-dd'), ['id' => 'paid_at', 'class' => 'form-control', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'']) }}
{{ Form::textGroup('memo', 'Memo', $deposit->memo, []) }}
{{ Form::hidden('currency_code', setting('general.default_currency') , ['id' => 'currency_code']) }}

Deposites

@forelse($deposit->items as $item) @empty @endforelse
Actions Received From Account Memo Payment Method Price
{!! Form::select('deposite[' . $deposite_row . '][payment]', $payment_methods, $item->payment,['id'=> 'payment-id-'. $deposite_row, 'class' => 'selectpicker', 'placeholder' => trans('general.form.select.field', ['field' =>trans_choice('accounting.account_name', 1)])]) !!}
{!! Form::select('deposite[' . $deposite_row . '][payment]', $payment_methods, config('accounts.payment_method'),['id'=> 'payment-id-'. $deposite_row, 'class' => 'selectpicker', 'placeholder' => trans('general.form.select.field', ['field' =>trans_choice('accounting.account_name', 1)])]) !!}
{{ trans('invoices.total') }} @money($deposit->price,'USD',true)
{{ Form::fileGroup('attachment', trans('general.attachment')) }} @if($deposit->attachment) {{ $deposit->attachment->basename }} @endif
{{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }}
{{ Form::saveButton('Update banking/deposit') }}
{!! Form::close() !!} @include('accounts/common/models/chartofaccount') @endsection