@extends('layouts.admin.master') @section('title', 'Delivery') @section('content')
Delivery
@csrf
@error('company_name')
{{ $message }}
@enderror
@error('phone_number')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('township')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
@if (count($deliveries) != 0) @php $count = 1; @endphp @foreach ($deliveries as $delivery) @if ($delivery['delivery_is_discontinued'] == 0) @elseif ($delivery['delivery_is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif
No Company Name Phone Number City Township Address Remark Discontinued Edit Delete
{{ $count }} {{ $delivery['company_name'] }} {{ $delivery['phone_number'] }} {{ $delivery['city_name'] }} {{ $delivery['township_name'] }} {{ $delivery['address'] }} {{ $delivery['remark'] }}
@endsection