|
|
@ -8,7 +8,7 @@ |
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-md-6"> |
|
|
<div class="col-md-6"> |
|
|
{!! Form::model($payment, ['route'=>['payments.update', $payment->id], 'method' => 'patch']) !!} |
|
|
|
|
|
|
|
|
{!! Form::model($payment, ['route' => ['payments.update', $payment], 'method' => 'patch']) !!} |
|
|
<div class="panel panel-default"> |
|
|
<div class="panel panel-default"> |
|
|
<div class="panel-heading"><h3 class="panel-title">{{ __('payment.edit') }}</h3></div> |
|
|
<div class="panel-heading"><h3 class="panel-title">{{ __('payment.edit') }}</h3></div> |
|
|
<div class="panel-body"> |
|
|
<div class="panel-body"> |
|
|
@ -36,7 +36,10 @@ |
|
|
@if ($payment->partner_type == 'App\Entities\Users\User') |
|
|
@if ($payment->partner_type == 'App\Entities\Users\User') |
|
|
{{ Form::hidden('partner_type', 'users') }} |
|
|
{{ Form::hidden('partner_type', 'users') }} |
|
|
@endif |
|
|
@endif |
|
|
{!! FormField::select('partner_id', $partners, ['label'=> __('payment.customer')]) !!} |
|
|
|
|
|
|
|
|
{!! FormField::select('partner_id', $partners, [ |
|
|
|
|
|
'label' => __('payment.customer'), |
|
|
|
|
|
'placeholder' => $payment->in_out ? __('customer.select') : __('vendor.select') |
|
|
|
|
|
]) !!} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
{!! FormField::textarea('description', ['label' => __('payment.description')]) !!} |
|
|
{!! FormField::textarea('description', ['label' => __('payment.description')]) !!} |
|
|
|