@extends(ucfirst(activeGuard()).'.'.layout())
@section('pagetitle', __('trans.weight'))
@section('content')

@php
    $titleColumn = 'title_' . lang();
@endphp

<table class="table">
    <tr>
        <td>@lang('trans.country')</td>
        <td class="text-center">{{ $Model->country?->{$titleColumn} ?? '-' }}</td>
    </tr>
    <tr>
        <td>@lang('trans.price')</td>
        <td class="text-center">{{ number_format($Model->price, 2) }}</td>
    </tr>
    <tr>
        <td>@lang('trans.weight')</td>
        <td class="text-center">{{ $Model->weight }}</td>
    </tr>
    <tr>
        <td>@lang('trans.free_delivery')</td>
        <td class="text-center">{{ $Model->free_delivery }}</td>
    </tr>
    <tr>
        <td>@lang('trans.created_at')</td>
        <td class="text-center">{{ $Model->created_at->translatedFormat('F j, Y, g:i a') }}</td>
    </tr>
</table>

@endsection
