@extends('layouts.layoutMaster') @section('title', ($model->id ? 'Update' : 'Create') . ' Account Category') @php $m = 'App\\Models\\AccountCategory'; $labels = Helper::getModelLabels($m); $breadcrumbs = [ ['url' => route('dashboard'), 'label' => 'Dashboard'], ['url' => route('account-category.index'), 'label' => 'Account Category'], ]; if ($model->id) { $breadcrumbs[] = [ 'url' => route('account-category.show', ['account_category' => $model->id]), 'label' => $model->name, ]; $breadcrumbs[] = [ 'url' => route('account-category.edit', ['account_category' => $model->id]), 'label' => 'Update Account Category', ]; } else { $breadcrumbs[] = [ 'url' => route('account-category.create'), 'label' => 'Create Account Category', ]; } @endphp @section('content')
{{ $model->id ? 'Update account category information' : 'Fill in the details below to create a new account category' }}