@extends('admin.layouts.master') @section('content')
{{-- Search Forms --}}
{{ Form::open(array('url' => 'admin/orders/rents/search', 'class' => 'form-inline')) }}
{{ Form::label('order_no', 'Search by Order No.', ['class' => 'sr-only']) }} {{ Form::text('order_no', (new Carbon\Carbon())->setTimezone(\Setting::get('app.view_timezone'))->format('ymd'), ['class' => 'form-control', 'placeholder' => 'Order No.', 'required' => 'required']) }}
{{ Form::close() }}
{{ Form::open(array('url' => 'admin/orders/rents/search', 'class' => 'form-inline')) }}
{{ Form::label('sku', 'Search by SKU', ['class' => 'sr-only']) }} {{ Form::text('sku', null, ['class' => 'form-control', 'placeholder' => 'SKU #', 'required' => 'required']) }}
{{ Form::close() }}
DELIVER ITEMS - #{{ $rent_order->order_number }}

Customer Info

@include('admin.orders.rents.customer-info', array('customer' => $rent_order->customer)) @if($rentable_requested_categories->count())
Renter(s):
    @foreach($rentable_requested_categories as $rentable_requested_category) @if ($rentable_requested_category->renter && $rentable_requested_category->renter->name != $prior_renter)
  • {{ $rentable_requested_category->renter->name }}
  • @endif @endforeach
@endif

@if (\Setting::get('show_deposit_items'))

Deposit item

Deposit item

Deposit in custody: {{ ($rent_order->deposit_in_custody)?"Yes":"no" }}

Deposit item: {{ $rent_order->deposit_item }}

Deposit notes:
{{ $rent_order->deposit_notes }}

@endif @if(\Setting::get('scanning_is_enabled'))

Scan Product SKU

@endif
{{ Form::open(array('id' => 'deliver_products_from')) }} {{ Form::hidden('warnings_accepted', false) }}
@if($errors->has())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($rentable_requested_categories as $rentable_requested_category)
{{ $rentable_requested_category->productCategory->name }} {{ $rentable_requested_category->product_id ? $rentable_requested_category->product->getProductOptionDescription() : '' }}
@if ($rentable_requested_category->productCategory->isComposite()) @for($i=1; $i <= $rentable_requested_category->qty; $i++)
@if($rentable_requested_category->hasAttribute()) @foreach ($rentable_requested_category->renterCategoryAttributeValues as $attribute)
{{ $attribute->renterAttribute->name }}
{{ Form::text('attr_' . $rentable_requested_category->id . '_' . $attribute->renterAttribute->name , $attribute->value, array( 'id'=>'attribute','class' => 'form-control')) }}
@endforeach
DIN Setting:

@endif
{{ Form::text('sku_' . $rentable_requested_category->id . '_' . $i, '000', array( 'id'=>'sku','class' => 'form-control')) }}
@foreach ($rentable_requested_category->getChildren() as $requested_item)
{{ Form::label('sku_' . $requested_item->id . '_' . $i, $requested_item->productCategory->name . ' SKU') }} {{ Form::text('sku_' . $requested_item->id . '_' . $i, $requested_item->product_id ? $requested_item->product->sku : '000', array( 'id'=>'sku','class' => 'form-control')) }}
@endforeach @endfor @else @for($i=1; $i <= $rentable_requested_category->qty; $i++)
@if($rentable_requested_category->hasAttribute()) @foreach ($rentable_requested_category->renterCategoryAttributeValues as $attribute)
{{ $attribute->renterAttribute->name }}
{{ Form::text('attr_' . $rentable_requested_category->id . '_' . $attribute->renterAttribute->name , $attribute->value, array( 'id'=>'attribute','class' => 'form-control')) }}
@endforeach
DIN Setting:

@endif
{{ Form::label('sku_' . $rentable_requested_category->id . '_' . $i, 'SKU') }} {{ Form::text('sku_' . $rentable_requested_category->id . '_' . $i, $rentable_requested_category->product_id ? $rentable_requested_category->product->sku : '000', array( 'id'=>'sku','class' => 'form-control')) }}
@endfor @endif
@endforeach
@if(Setting::get('has_borrow_item'))
@if($borrowed_line_items->count()) @foreach($borrowed_line_items as $borrowed_line_item) @endforeach
Name
{{ $borrowed_line_item->category->name }} {{ $borrowed_line_item->product_id ? $borrowed_line_item->product->getProductOptionDescription() : '' }}
@else

No borrowed item.

@endif
@endif @if(Setting::get('has_purchase_item'))
@if($purchased_line_items->count()) @foreach($purchased_line_items as $purchased_line_item) @endforeach
Name
{{ $purchased_line_item->category->name }} {{ $purchased_line_item->product_id ? $purchased_line_item->product->getProductOptionDescription() : '' }}
@else

No purchased item.

@endif
@endif
{{ Form::submit('Deliver', array('class' => 'btn btn-lg btn-primary pull-right')) }} < Back
{{ Form::close() }}
@stop @section('scripts') @parent @stop