@extends('admin.layouts.master') @section('title') @if(isset($title)) {{ $title }} @else Rent Orders @endif @stop @section('content')
Rent Orders List
@if(!(\Setting::get('calculate_price_based_on_planned_period'))) @foreach(\RentalType::all() as $rental_type) @endforeach @endif
{{-- Search Forms --}}
{{--
{{ Form::open(array('url' => 'admin/orders/rents/search', 'class' => 'form-inline')) }}
Search by order No#
{{ Form::label('order_no', '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')) }}
Search order by SKU
{{ Form::label('sku', 'SKU', ['class' => 'sr-only']) }} {{ Form::text('sku', '', ['class' => 'form-control', 'placeholder' => 'SKU', 'required' => 'required']) }}
{{ Form::close() }}
--}} {{--
{{ Form::open(array('method' => 'get', 'class' => 'form-inline')) }} @if($from_date) @endif @if($to_date) @endif
Search order by customer phone or name
{{ Form::label('customer', 'phone or name', ['class' => 'sr-only']) }} {{ Form::text('customer', Input::get('customer'), ['class' => 'form-control', 'placeholder' => 'phone or name']) }}
{{ Form::close() }}
--}} {{--
{{ Form::open(array('url' => 'admin/orders/rents/search', 'class' => 'form-inline')) }}
Search order by invoice number
{{ Form::label('invoice_number', 'Invoice No#', ['class' => 'sr-only']) }} {{ Form::text('invoice_number', '', ['class' => 'form-control', 'placeholder' => 'Invoice No#', 'required' => 'required']) }}
{{ Form::close() }}
--}}
{{ Form::open(array('method' => 'get','class'=>'form')) }}
{{ Form::text('from_date', $from_date, array('class' => 'form-control', 'data-provide' => 'datepicker', 'data-date-format' => 'yyyy/mm/dd', 'placeholder' => 'From Date')) }}
{{ Form::text('to_date', $to_date, array('class' => 'form-control', 'data-provide' => 'datepicker', 'data-date-format' => 'yyyy/mm/dd', 'placeholder' => 'To Date')) }}
{{--
{{ Form::select('order_status', array('open' => 'Open Orders', 'delivered_order' => 'Delivered Orders', 'returned' => 'Returned Orders', 'all_active' => 'All Active Orders', 'closed' => 'Closed Orders'), $order_status, array('class'=>'bs-select form-control', 'data-live-search'=>'true', 'data-size'=>'8')) }}
--}}