{{ Form::open(['action' => ['Guest\AccountController@storePayment', $account]]) }}
{{ Form::customText('amount') }}
{{ Form::customSelect('currency', $currencies->pluck('name', 'id')) }}
{{ Form::customSelect('paymentType', $paymentTypes->pluck('display_name', 'id')) }}
{{ Form::customText('date', \App\Localization\CarbonExtensions::userLocalNow(), ['class' => 'form-control datetimepicker-control']) }}
{{ Form::customSubmit('Create intermediate payment') }}
{{ Form::close() }}
| Currency |
Amount |
|
@foreach($currencies as $currency)
| {{ $currency->name }} |
@currency( round(($account->salesTotal - $account->paymentsTotal) / $currency->conversionRateToDefault) ) {{ $currency->symbol }}
|
|
@endforeach