-
- @if ($assetMaintenance->supplier)
- {{ $assetMaintenance->supplier->name }}
- @endif
- |
- {{ $assetMaintenance->title }} |
- {{ $assetMaintenance->asset_maintenance_type }} |
- {{ $assetMaintenance->start_date }} |
- {{ $assetMaintenance->completion_date }} |
- {{ $assetMaintenance->notes }} |
- {{ $assetMaintenance->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }} |
- {{ $use_currency.$assetMaintenance->cost }} |
-
- @if ($assetMaintenance->admin)
- {{ $assetMaintenance->admin->fullName() }}
- @endif
- |
+ @foreach ($asset->assetmaintenances as $assetMaintenance)
+ @if (is_null($assetMaintenance->deleted_at))
+
+ {{ $assetMaintenance->supplier->name }} |
+ {{ $assetMaintenance->title }} |
+ {{ $assetMaintenance->asset_maintenance_type }} |
+ {{ $assetMaintenance->start_date }} |
+ {{ $assetMaintenance->completion_date }} |
+ {{ $assetMaintenance->notes }} |
+ {{ $assetMaintenance->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }} |
+ {{ $use_currency.$assetMaintenance->cost }} |
+
+ @if ($assetMaintenance->admin)
+ {{ $assetMaintenance->admin->present()->fullName() }}
+ @endif
+ |
cost; ?>
@can('update', \App\Models\Asset::class)
|