@extends('layouts.app') @section('title', $title ?? 'Order Delivered') @section('breadcrumb', $title ?? 'Order Delivered') @section('sub-breadcrumb') List Detail Items @endsection @section('order-p', 'kt-menu__item--open kt-menu__item--here') @section($active ?? 'order-receive', 'kt-menu__item--active') @section('content')
@include('layouts.notification')
Oulet Name
: {{$order['brand_outlet']['name']}}
Oulet Address
: {{$order['brand_outlet']['address']}}
Order Date
: {{$order['order_date']}}
@if ($order['brand_outlet']['status_franchise'] == 0)
Item Transfer
: {{$order['item_transfer_id_accurate']}}
Gudang
: {{$order['brand_outlet']['accurate_warehouse']['name']}}
@else
Sales Order
: {{$order['order_id_accurate']}}
Delivery Order
: {{$order['delivery_order_id_accurate']}}
@endif
Status Outlet
: @if ($order['brand_outlet']['status_franchise'] == 1) Outlet Franchise @else Outlet Brand @endif
Total Items
: {{$order['item_total']}} pcs
User Order
: {{$order['user_order']['name']}}
User Email
: {{$order['user_order']['email']}}
User Phone
: {{$order['user_order']['phone']}}
Address
: {{$order['address'] ?? '-'}}
Detail Barang
@if ($order['status'] == "BARANG DITERIMA - LUNAS - BERMASALAH" || $order['is_problem'] == 1) @endif @foreach ($order['brand_outlet_order_details'] as $item) @if ($order['status'] == "BARANG DITERIMA - LUNAS - BERMASALAH" || $order['is_problem'] == 1) @if ($item['qty_send'] == null) @else @endif @endif @endforeach
Item Qty SKU UnitReceive Item
{{$item['name']}} {{$item['qty']}} {{$item['brand_item']['accurate_code']}} {{$item['brand_item']['brand_item_unit2_order']['unit']['name']}} {{$item['qty']}} {{$item['qty_send']}}
Keterangan
@foreach ($order['brand_outlet_order_descs'] as $item)
{{$item['key']}}
: {{$item['value']}}
@endforeach @if (isset($order['note']))
Catatan Penerimaan Order

{{$order['note']}}

@endif
Gambar lampiran pengiriman order:
@foreach ($order['brand_outlet_order_images'] as $item) @if ($item['status'] == "ship") @if (strpos($item['image'], "pdf")) Lihat pdf @else @endif @endif @endforeach
Gambar order diterima:
@foreach ($order['brand_outlet_order_images'] as $item) @if ($item['status'] == "receive") @endif @endforeach
@if (isset($timeline))
TimeLine

@foreach ($timeline as $item)
{{$item['created_at']}}
{{$item['subject']}}
Email: {{$item['email']}}
User: {{$item['user']}}
{{-- --}}
@endforeach
@endif
{{-- begin: modal --}} {{-- end: modal --}} @endsection @section('custom-style') @endsection @section('custom-script') @endsection