Shipping Charges
{{-- Displaying The Validation Errors: https://laravel.com/docs/9.x/validation#quick-displaying-the-validation-errors AND https://laravel.com/docs/9.x/blade#validation-errors --}} {{-- Determining If An Item Exists In The Session (using has() method): https://laravel.com/docs/9.x/session#determining-if-an-item-exists-in-the-session --}} {{-- Our Bootstrap success message in case of updating admin password is successful: --}} @if (Session::has('success_message'))
Success: {{ Session::get('success_message') }}
@endif
{{-- DataTable --}}
{{-- using the id here for the DataTable --}}
ID | Country | Rate (0g to 500g) | Rate (501g to 1000g) | Rate (1001g to 2000g) | Rate (2001g to 5000g) | Rate (Above 5000g) | Status | Actions |
---|---|---|---|---|---|---|---|---|
{{ $shipping['id'] }} | {{ $shipping['country'] }} | {{ $shipping['0_500g'] }} | {{ $shipping['501g_1000g'] }} | {{ $shipping['1001_2000g'] }} | {{ $shipping['2001g_5000g'] }} | {{ $shipping['above_5000g'] }} | @if ($shipping['status'] == 1) {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @else {{-- if the admin status is inactive --}} {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @endif | {{-- Icons from Skydash Admin Panel Template --}} {{-- Confirm Deletion JS alert and Sweet Alert --}} {{-- --}} {{-- --}} {{-- Icons from Skydash Admin Panel Template --}} {{-- --}} {{-- --}} {{-- --}} {{-- Icons from Skydash Admin Panel Template --}} {{-- --}} |