@extends('layouts.admin') @section('h1') Order requests @stop @section('content')
ID | Client | Vendor | Product | Qty | Price | Created | Actions |
---|---|---|---|---|---|---|---|
{{ $object->id}} | @if($object->client) {{$object->client->full_name}} @else Deleted user @endif | @if($object->vendor) {{$object->vendor->full_name}} @else Deleted user @endif | @if($object->product) {{$object->product->title}} ({{number_format($object->product_price_amount, 2)}} {{$object->price_currency->symbol}} / {{$object->price_unit->title}}) @else Deleted product @endif | {{$object->qty}} | {{number_format($object->total_price_amount, 2)}} {{$object->price_currency->symbol}} | {{$object->created_at->diffForHumans()}} |