@extends('layouts.app') @section('content')
| {{ app()->getLocale() == 'ar' ? 'السيارة' : 'Car' }} | {{ app()->getLocale() == 'ar' ? 'الوصف' : 'Description' }} | {{ app()->getLocale() == 'ar' ? 'التكلفة' : 'Cost' }} | {{ app()->getLocale() == 'ar' ? 'التاريخ' : 'Date' }} | {{ app()->getLocale() == 'ar' ? 'موعد الصيانة القادم' : 'Next Due' }} |
|---|---|---|---|---|
|
{{ $record->car->title }}
{{ $record->car->plate_number }}
|
{{ $record->description }} | {{ number_format($record->cost) }} {{ app()->getLocale() == 'ar' ? 'ر.س' : 'SAR' }} | {{ $record->maintenance_date->format('Y-m-d') }} | {{ $record->next_due_km ? number_format($record->next_due_km) . ' ' . (app()->getLocale() == 'ar' ? 'كم' : 'KM') : '-' }} |