@extends('layouts.app') @section('title', __('dashboard.product_details')) @section('page_heading', __('dashboard.product_details')) @section('breadcrumb')
{{ $product->name }}
{{ $product->sku }}
{{ __($product->type) }}
{{ $product->category->name ?? 'N/A' }}
{{ number_format($product->price, 2) }}
{{ number_format((float) $product->acquisition_cost, 2) }}
{{ $product->stock }}
{{ $product->is_scrapped ? 'هالك' : ($product->inventory_status === 'maintenance' ? 'في الصيانة' : 'متاح') }}
{{ $product->scrap_reason ?: '-' }}
{{ $stat['value'] }}
{{ $productStats[0]['value'] }}
{{ $productStats[1]['value'] }}
| # | العنوان | {{ __('dashboard.type_label') }} | {{ __('dashboard.status_label') }} | التكلفة | تحميل العميل | العميل | إجراء |
|---|---|---|---|---|---|---|---|
| {{ $maintenance['id'] }} |
{{ $maintenance['title'] }}
{{ $maintenance['started_at'] ?? '-' }}
|
{{ $maintenance['type'] }} | {{ $maintenance['status'] === 'completed' ? 'مكتملة' : 'مفتوحة' }} | {{ $maintenance['maintenance_cost'] }} | {{ $maintenance['customer_charge_amount'] }} | {{ $maintenance['customer_name'] }} | @if($maintenance['status'] !== 'completed') @else {{ $maintenance['completed_at'] ?? '-' }} @endif |
| لا توجد سجلات صيانة حتى الآن. | |||||||
{{ __('dashboard.history_no_history_found') }}
@endforelse