@extends('layouts.branch') @section('title', 'ID Generation Settings') @section('header', 'Identity Configuration') @section('content')
@include('partials.branch._breadcrumbs', [ 'breadcrumbs' => [ ['name' => 'Settings', 'url' => '#'], ['name' => 'ID Prefix Generation', 'url' => route('branch.settings.id-generation')] ] ])
@csrf

ID Generation Settings

Configure custom prefixes and automated numbering for branch operations

Identity Structure

Generated IDs follow the format: {{ auth()->guard('branch')->user()->outlet_code }} + [Prefix] + [Number].
Example: If prefix is PR and number is 1001, the ID will be {{ auth()->guard('branch')->user()->outlet_code }}PR1001.

@foreach($settings as $setting)
{{ $categories[$setting->category] ?? $setting->category }}

Configure parameters

category}.prefix", $setting->prefix) }}" placeholder="e.g. PR" class="w-full px-5 py-3 bg-white border border-slate-200 rounded-xl focus:ring-4 focus:ring-indigo-500/10 focus:border-indigo-500 outline-none transition-all font-bold text-xs uppercase tracking-widest text-slate-700">
category}.current_number", $setting->current_number) }}" required min="1" class="w-full px-5 py-3 bg-white border border-slate-200 rounded-xl focus:ring-4 focus:ring-indigo-500/10 focus:border-indigo-500 outline-none transition-all font-bold text-xs tracking-widest text-slate-700">
@endforeach

Automated identity generation ensures operational integrity

@endsection