@extends('seller.layouts.app') @section('panel_content')
{{ translate('Inhouse Orders') }}
@if (addon_is_activated('refund_request')) @endif @foreach ($orders as $key => $order_id) @php $order = \App\Models\Order::find($order_id->id); @endphp @if ($order != null) @if (addon_is_activated('refund_request')) @endif @endif @endforeach
# {{ translate('Order Code') }} {{ translate('Customer') }} {{ translate('Amount') }} {{ translate('Delivery Status') }} {{ translate('Payment Method') }} {{ translate('Payment Status') }}{{ translate('Refund') }}{{ translate('Options') }}
{{ $key + 1 + ($orders->currentPage() - 1) * $orders->perPage() }} {{ $order->code }}@if ($order->viewed == 0) {{ translate('New') }}@endif @if ($order->user != null) {{ $order->user->name }} @else Guest ({{ $order->guest_id }}) @endif {{ single_price($order->grand_total) }} @php $status = $order->delivery_status; @endphp {{ translate(ucfirst(str_replace('_', ' ', $status))) }} {{ translate(ucfirst(str_replace('_', ' ', $order->payment_type))) }} @if ($order->payment_status == 'paid') {{ translate('Paid') }} @else {{ translate('Unpaid') }} @endif @if (count($order->refund_requests) > 0) {{ count($order->refund_requests) }} {{ translate('Refund') }} @else {{ translate('No Refund') }} @endif
{{ $orders->appends(request()->input())->links() }}
@endsection @section('modal') @include('modals.delete_modal') @endsection @section('script') @endsection