@extends('backend.layouts.app') @section('content')

{{ count(App\Models\Location::select('province')->distinct()->get()) }}

Province

{{ count(App\Models\Location::select('municipality')->distinct()->get()) }}

Municipality

{{ count(App\Models\Location::select('city')->distinct()->get()) }}

City

{{ count(App\Models\Location::select('barangay')->distinct()->get()) }}

Barangay

@foreach($loc as $locations) @endforeach
Province Distict Municipality City Barangay Shipping Fee Up to 119kg Shipping Fee Up 120 to 199 Shipping 200kg to 299kg Free w/ min purchase of (Php 15,000) Below min Purchase of (Php 15,000) Free w/min purchase of (Php 25,000) Below min purchase of (Php 25,000) Action
{{$locations->province ? $locations->province : 'N/A'}} {{$locations->district ? $locations->district : 'N/A'}} {{$locations->municipality ? $locations->municipality : 'N/A'}} {{$locations->city ? $locations->city : 'N/A'}} {{$locations->barangay}} {{$locations->small ? $locations->small : 'N/A'}} {{$locations->medium ? $locations->medium : 'N/A'}} {{$locations->large ? $locations->large : 'N/A'}} {{$locations->freepurch ? $locations->freepurch : 'N/A'}} {{$locations->belowpurch ? $locations->belowpurch : 'N/A' }} {{$locations->freepurch1 ? $locations->freepurch1 : 'N/A'}} {{$locations->belowpurch1 ? $locations->belowpurch1 : 'N/A'}}
@endsection