@extends('layouts.app') @section('content')
@include('users.includes.sidebar')
@include('users.includes.header')

Home / Hard Copy Order

{{--
Hardcopy Order
--}}

Bulk {{$bulk->payment_id}}

@if ($bulk->payment_status == 1)

Paid

@else

Not Paid

@endif

Order Date: {{$bulk->created_at}}

{{-- @if ($agent->user->is_agent == 1 && $agent->status == 0) Awaiting Approval Approve Agent Account @elseif ($agent->user->is_agent == 2 && $agent->status == 1) Approved Agent Account Deactivate Agent Account @elseif ($agent->user->is_agent == 2 && $agent->status == 0) Deactivated Agent Account Activate Agent Account @endif --}}
@php $str = json_decode($bulk->orders); $arr = $str->edition; $qty = $str->quantity; @endphp
@for ($i=0; $i @endfor
S/N Items Level Quantity Unit Price Total
{{$i + 1}} @php $e = explode('|',$arr[$i]); $cont = App\Content::find($e[0]); @endphp {{$cont->name}} {{$cont->level->name}} {{$qty[$i]}} {{$e[1]}} {{$e[1] * $qty[$i]}}
Grand Total {{$bulk->total}}






Order Update


{{-- @dd($subscription) --}}
@if ($bulk->payment_status == '1')
@csrf @if ($bulk->status == 0)

Awaiting Processing

{{-- --}} @elseif ($bulk->status == 1)

Order Processing, awaiting shipping

{{-- --}} @elseif ($bulk->status == 2)

Order shipped, awaiting delivery

{{-- --}} @elseif ($bulk->status == 3)

Order delivered, please confirm when received

@elseif ($bulk->status == 4)

Order received, awaiting commission

{{-- --}} @elseif ($bulk->status == 5)

Commission sent, please confirm when received

@elseif ($bulk->status == 6)

Agent confirmed the commission reciept , update order to complete

{{-- --}} @endif {{-- status 1 -> processing status 2 -> shipped status 3 -> delivered status 4 -> recieved status 5 -> comminssion sent status 6 -> commission received status 7 -> order complete --}}
@endif
@include('users.includes.footer')
@endsection