@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("All Invoice Parts")}}
#{{__("ID")}} | {{__("Invoice Part Name")}} | {{__("order number")}} | {{__("Part Price")}} | {{__("Technician Name")}} | {{__("Main Specialties")}} | {{__("Services")}} |
---|---|---|---|---|---|---|
{{$InvoicePart->id}} | {{$InvoicePart->name}} | {{$InvoicePart->Invoice ? ($InvoicePart->invoice->order ? $InvoicePart->invoice->order->id : Null) : Null}} | {{$InvoicePart->price}} | {{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->full_name:null}} | {{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->getAllNameCategory():null}} | @foreach($InvoicePart->invoice->services as $index => $service) @if($index == 0) {{$service->service->name}} @else {{ " - " . $service->service->name}} @endif @endforeach |