{{-- --}} {{ trans('theme.' . $action . '_items') }}

{!! Form::open(['route' => ['order.submitCancelRequest', $order], 'data-toggle' => 'validator']) !!} {!! Form::hidden('action', $action) !!}
  • {!! Form::checkbox('all_items', null, $order->cancellation && !$order->cancellation->isPartial() ? 1 : null, ['class' => 'i-check']) !!} {{ trans('theme.all_items') }} ({{ $order->quantity . ' ' . trans('theme.items') }}) {{ get_formated_currency($order->grand_total, true, 2) }}
  • @foreach ($order->inventories as $item)
  • {!! Form::checkbox('items[]', $item->id, $order->cancellation && $order->cancellation->isItemInRequest($item->id) ? 1 : null, ['class' => 'i-check']) !!} {{ $item->slug }} {{ $item->pivot->item_description }} x {{ $item->pivot->quantity }} {{ get_formated_currency($item->pivot->unit_price * $item->pivot->quantity, true, 2) }}
  • @endforeach
{!! Form::textarea('description', null, ['id' => 'description', 'class' => 'form-control', 'rows' => 3, 'placeholder' => trans('theme.placeholder.description')]) !!}
{{ trans('theme.order_' . $action . '_msg_title') }}
{!! Form::close() !!}
* {{ trans('theme.help.required_fields') }}