@extends('panel::layouts.app') @section('body-class', '') @section('title', __('panel/menu.orders')) @section('page-title-right') @hookinsert('panel.orders.index.title.right') @endsection @section('content')
| {{ __('panel/common.id') }} | {{ __('panel/order.number') }} | {{ __('panel/order.order_items') }} | {{ __('panel/order.customer_name') }} | {{ __('panel/order.shipping_method_name') }} | {{ __('panel/order.billing_method_name') }} | {{ __('panel/order.total') }} | {{ __('panel/order.status') }} | @hookinsert('panel.orders.index.header.extra'){{ __('panel/order.created_at') }} | {{ __('panel/common.actions') }} |
| {{ $item->id }} | {{ $item->number }} {{ $item->id == $item->parent_id ? 'M' : '' }} |
@foreach ($item->items->take(5) as $product)
|
@if ($item->customer_id > 0) {{ $item->customer_name }} @else {{ $item->customer_name }} @endif | {{ $item->shipping_method_name }} | {{ $item->billing_method_name }} | {{ $item->total_format }} | {{ $item->status_format }} | @hookinsert('panel.orders.index.row.extra', $item){{ $item->created_at }} | {{ __('panel/common.view') }} |