@extends('admin.layouts.master') @section('title') @if(isset($title)) {{ $title }} @else Sale Orders @endif @stop @section('content')
@if(isset($title)) {{ $title }} @else Sale Orders @endif
@foreach($orders as $order) @endforeach
# Order Created At Customer Current Status Actions
{{ $order->order_number }} {{ $order->created_at->timezone(Config::get('app.view_timezone')) }} @if($order->is_sku_sale){{ $order->customer->getFullName() }}@endif {{ $order->getCurrentStatusTitle() }} @if($order->getCurrentStatus()->status == 'created' && $order->invoices()->count()) Pay @endif @if($order->getCurrentStatus()->status != 'canceled') @if($order->getCurrentStatus()->status == 'completed') Refund @else Cancel order @endif @endif View
@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