@extends('layouts.app', ['title' => __('Add Site')]) @section('content') @include('sites.partials.header', [ 'title' => 'Orders', 'class' => 'col-lg-12', ])
# | Name | Date | Status | Site | Total | --}} |
---|---|---|---|---|---|---|
{{ $order->id }} | {{$order->billing->first_name}} {{$order->billing->last_name}} | {{ \Carbon\Carbon::parse($order->date_created)->format('M j, Y') }} | {{ Str::title(str_replace('-', ' ', $order->status)) }} | {{ $sites->filter(function($site) use($order) { return $site->id == $order->site_id; })->first()->site_name }} | ${{ $order->total }} |