@extends('layouts.default_report') @section('report_name') Payment @stop @section('report_description') Product Sales @stop @section('excel') {!!Form::open(['method'=>'get','route' =>array('payment.excel')])!!} {!!Form::hidden('user_excel',null,['id'=>'user_excel'])!!} {!!Form::hidden('date_excel',null,['id'=>'date_excel'])!!} {!!Form::hidden('status_excel',null,['id'=>'status_excel'])!!} {!!Form::submit('Export Excel',['class'=>'btn btn-success pull-right', 'onclick'=>'return payment_excel(event);', 'data-url'=>asset('index.php/admin/payment.excel') ])!!} {!!Form::close()!!} @stop @section('form') {!!Form::open(array('id'=>'search_form', 'method'=>'post','route' =>array('payment.index'),'class'=>'form-horizontal')) !!} @include('Admin.reports.payment.partial.searchfilters') {!!Form::close()!!} @stop @section('table') @foreach($payments as $payment) @endforeach
Date Payment Id Customer Phone Email Amount Currency Receipt Payment Status Order Status Detail
{!! explode(' ',$payment->created_at)[0] !!} {!! $payment->payment_id !!} {!! $payment->request->customer_name !!} {!! $payment->request->phone_no !!} {!! $payment->request->email !!} {!! $payment->amount!!} {!! $payment->currency !!} {!! $payment->status !!} View
Notice: Undefined variable: payment in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/payment/index.blade.php on line 66

Notice: Trying to get property 'status' of non-object in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/payment/index.blade.php on line 66

Notice: Undefined variable: payment in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/payment/index.blade.php on line 69

Notice: Trying to get property 'status' of non-object in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/payment/index.blade.php on line 69
In Progress @include('Admin.reports.payment.partial.confirmation_modal', [ 'order_id'=>$payment->id, 'cell_id'=>'td_'.$payment->id, 'req_status'=>'inprogress_request_'.$payment->id, 'url'=>asset('admin/reports/orders/status_update/'.$payment->id), 'status'=>'completed', 'msg_status'=>'complete', 'btn_class'=>'btn-primary' ]) Reject @include('Admin.reports.payment.partial.confirmation_modal', [ 'order_id'=>$payment->id, 'cell_id'=>'td_'.$payment->id, 'req_status'=>'reject_request_'.$payment->id, 'url'=>asset('admin/reports/orders/status_update/'.$payment->id), 'status'=>'rejected', 'msg_status'=>'reject', 'btn_class'=>'btn-danger' ])
Complete @include('Admin.reports.payment.partial.confirmation_modal', [ 'order_id'=>$payment->id, 'cell_id'=>'td_'.$payment->id, 'req_status'=>'completed_request_'.$payment->id, 'url'=>asset('admin/reports/orders/status_update/'.$payment->id), 'status'=>'completed', 'msg_status'=>'complete', 'btn_class'=>'btn-success' ])
{!! ucwords($payment->status) !!}
Detail @include('Admin.reports.payment.partial.order_modal',['request'=>$payment->request])
@section('pagination') {!! $payments->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop @include('Admin.reports.payment.partial.msg_modal') @section('extra_css') @stop @section('app_jquery') @endsection