@extends('admin.layouts.master') @section('content')
Return Order # {{ $rent_order->order_number }}

{{ App::make('BarcodeGenerator')->getBarcodeHTML($rent_order->order_number, "C39",1,30) }}

@foreach($line_items as $line_item) getDelayMinutes()) class="danger" @endif> @endforeach
SKU Rent Time In rent time Total Price
{{ $line_item->product->sku }} {{ $line_item->getRentTime()->timezone(\Setting::get('app.view_timezone')) }} {{ $line_item->getInRentTimeString() }} {{ Setting::get('currency_symbol') }}{{ number_format($line_item->getTotalPrice(), 2) }}

Total:

{{ Setting::get('currency_symbol') }}{{ $total }}

Discount:

{{ Setting::get('currency_symbol') }}{{ $discount }} @if($flyer) (Promotion code: {{ $flyer->code }}) @endif

Total Tax:

{{ Setting::get('currency_symbol') }}{{ number_format($total_tax, 2) }}

Grand Total:

{{ Setting::get('currency_symbol') }}{{ number_format($grand_total, 2) }}
{{ Form::open() }} {{ Form::hidden('rent_order_id', $rent_order->id) }} @foreach($line_items as $line_item) {{ Form::hidden('returns[]', $line_item->id) }} {{ Form::hidden('penalty_price_'.$line_item->id, Input::get('penalty_price_'.$line_item->id)) }} @if(Input::has('service_'.$line_item->id)) {{ Form::hidden('service_'.$line_item->id, 1) }} {{ Form::hidden('service_'.$line_item->id.'_comment', Input::get('service_'.$line_item->id.'_comment')) }} @endif @endforeach @if($flyer) {{ Form::hidden('flyer_code', $flyer->code) }} @endif
{{ Form::select('payment_method', array('credit_card' => 'Credit Card', 'cash' => 'Cash', 'debit' => 'Debit'), null, array('class'=>'bs-select form-control', 'data-live-search'=>'true', 'data-size'=>'8')) }} {{ Form::label('payment_method', 'Payment Method') }}
{{ Form::submit('Pay', array('class' => 'btn btn-primary btn-lg btn-outline ')) }} {{ Form::close() }}
@stop @section('scripts') @parent {{ HTML::script('assets/global/plugins/datatables/media/js/jquery.dataTables.min.js') }} {{ HTML::script('assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js') }} @stop