@extends('layouts/default') {{-- Page title --}} @section('title') {{ $component->name }} {{ trans('general.component') }} @parent @stop {{-- Right header --}} @section('header_right') @stop {{-- Page content --}} @section('content')
{{ trans('general.asset') }} {{ trans('general.qty') }} {{ trans('general.date') }}
@if ($component->purchase_date)
{{ trans('admin/components/general.date') }}: {{ $component->purchase_date }}
@endif @if ($component->purchase_cost)
{{ trans('admin/components/general.cost') }}: {{ \App\Models\Setting::first()->default_currency }} {{ number_format($component->purchase_cost,2) }}
@endif @if ($component->order_number)
{{ trans('admin/components/general.order') }}: {{ $component->order_number }}
@endif
@section('moar_scripts') @stop @stop