@extends('backend.layout.main') @push('css') @endpush @section('content') @if (session('message'))
| # | {{ __('db.product') }} | {{ __('db.Quantity') }} | {{ __('db.Unit Price') }} | {{ __('db.Total') }} | |
|---|---|---|---|---|---|
| {{ $idx + 1 }} |
{{ optional($item->product)->name }}
{{ optional($item->product)->code }}
|
|
{{ number_format($item->total, config('decimal')) }} | ||
|
{{ __('db.search_product_to_add') }}
|
|||||
| {{ __('db.parts_total') }} | {{ number_format($job->items->sum('total'), config('decimal')) }} | ||||
| # | {{ __('db.date') }} | {{ __('db.Amount') }} | {{ __('db.Method') }} | {{ __('db.Account') }} | {{ __('db.reference') }} | {{ __('db.Note') }} | |
|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $p->payment_at ? $p->payment_at->format(config('date_format')) : '—' }} | {{ number_format($p->amount, config('decimal')) }} | {{ $p->paying_method }} | @if($p->account_id) {{ optional($p->account)->name ?? '—' }} @else — @endif | {{ $p->payment_reference ?? '—' }} | {{ $p->payment_note ?? '—' }} | |
|
{{ __('db.no_payments_yet') }}
|
|||||||
| {{ __('db.Paid Amount') }} | {{ number_format($job->payments->sum('amount'), config('decimal')) }} | ||||||
| {{ __('db.reference') }} | {{ $job->reference_no }} |
|---|---|
| {{ __('db.Type') }} | {{ ucfirst($job->service_type) }} |
| {{ __('db.title') }} | {{ $job->title }} |
| {{ __('db.customer') }} | {{ optional($job->customer)->name }} |
| {{ __('db.Warehouse') }} | {{ optional($job->warehouse)->name }} |
| {{ __('db.status') }} | {!! $job->status_badge !!} |
| {{ __('db.expected_delivery') }} | {{ $job->expected_delivery_date->format(config('date_format')) }} |