@extends('layouts.admin.master') @section('title', 'Customer Type') @section('content') Customer Type Add New Customer Type Clear Save Customer Type Info @csrf Customer Type Name * @error('customer_type_name') {{ $message }} @enderror Other Name Customer Type Code * @error('customer_type_code') {{ $message }} @enderror Discontinued Customer Type Lists No Cutomer Type Name Other Name Customer Type Code Discontinued Edit Delete @if (count($customerTypes) != 0) @php $count = 1; @endphp @foreach ($customerTypes as $customerType) {{ $count }} {{ $customerType['customer_type_name'] }} {{ $customerType['other_name'] }} {{ $customerType['customer_type_code'] }} @if ($customerType['is_discontinued'] == 0) @elseif ($customerType['is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif Update Customer Type @csrf Customer Type Name * Other Name Customer Type Code * Discontinued @csrf Are you sure want to delete? @endsection