@extends('layouts.admin')
| {{ trans('home.id') }} | {{ trans('home.name') }} | {{ trans('home.phone') }} | {{ trans('home.ssn') }} | {{ trans('home.email') }} | {{ trans('home.company') }} | {{ trans('home.invoice_number') }} | {{ trans('home.invoice_amount') }} | {{ trans('home.invoice_discount') }} | {{ trans('home.invoice_paid') }} | {{ trans('home.responsible_employee') }} | {{ trans('home.code') }} | تاريخ الالتحاق (الدفع) | الإجراءات |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->id }} | {{ $invoice->client?->name }} | {{ $invoice->client?->phone }} | {{ $invoice->client?->ssn ?? '-' }} | {{ $invoice->client?->email }} | {{$invoice->client->company?$invoice->client->company->name: __('home.no_company') }} | {{ $invoice->invoice_number }} | {{ $invoice->invoice_value }} | {{ $invoice->discount ?? '-' }} | {{ $invoice->items->sum('amount') }} | {{ $invoice->client?->responsible_employee?->user ? ($invoice->client?->responsible_employee?->user?->f_name . ' ' . $invoice->client?->responsible_employee?->user?->l_name) : '-' }} | {{ $training->code }} | {{ $invoice->updated_at?->format('d - m - Y') }} | client?->id)}}">التفاصيل |