@extends('layouts.app') @section('title', 'Rate Card Details') @section('content')

๐Ÿ“„ Rate Card {{ $card->version ?: '#' . $card->id }}

{{ optional($card->country)->country_name }} ยท Effective {{ $card->effective_date->format('d-m-Y') }}

Back
@if(session('success')) @endif @if(session('error')) @endif
ID: {{ $card->id }}
Country: {{ optional($card->country)->country_name }}
Effective Date: {{ $card->effective_date->format('d-m-Y') }}
Version: {{ $card->version ?: 'โ€”' }}
Status: {{ $card->statusLabel() }}
Weight records: {{ count($rows) }}
Rates per row: 4
Uploaded by: {{ optional($card->uploader)->name ?: 'โ€”' }}
File: {{ $card->uploaded_file }}
Uploaded: {{ $card->created_at->format('d-m-Y H:i') }}
@if($card->canActivate())
@csrf
@endif @if($card->canDeactivate())
@csrf
@endif
@include('admin.selling-rates._rates', ['rows' => $rows, 'tableId' => 'rateCardDetailTable', 'showStatus' => true])
@endsection @push('styles') @endpush @push('scripts') @endpush