@extends('admin.layouts.app') @section('title', 'Ongkos Kirim') @section('content')

Ongkos Kirim

Tambah Ongkir
{{-- Desktop table --}}
@forelse($costs as $cost) @empty @endforelse
Kota 1kg Pertama Per Kg Status
{{ $cost->city_name }} Rp {{ number_format($cost->cost, 0, ',', '.') }} @if($cost->cost_per_kg) Rp {{ number_format($cost->cost_per_kg, 0, ',', '.') }} @else @endif @if($cost->is_active) Aktif @else Nonaktif @endif Edit
Belum ada ongkir
{{-- Mobile cards --}}
@forelse($costs as $cost)
{{ $cost->city_name }} @if($cost->is_active) Aktif @else Nonaktif @endif
1kg Pertama: Rp {{ number_format($cost->cost, 0, ',', '.') }}
Per Kg Tambahan: @if($cost->cost_per_kg) Rp {{ number_format($cost->cost_per_kg, 0, ',', '.') }} @else @endif
Edit
@empty
Belum ada ongkir
@endforelse
@include('admin.layouts._delete-modal') @endsection