@extends('layouts.user_type.auth') @section('pageTitle', 'Common Masters') @section('pageSub', 'Lookup values and master data used across the platform. System entries are locked.') @section('pageActions') @endsection @section('common') @include('components.alert')
All entries
{{ $commons->total() }} entries
@forelse ($commons as $index => $common) @empty @endforelse
# Code List Value Status
{{ str_pad($commons->firstItem()+$index,2,'0',STR_PAD_LEFT) }}
{{ $common->code }} @if ($common->is_system === 1) @endif
{{ $common->type === 'Master' ? 'List' : $common->type }} @if($common->value){{ $common->value }}@else—@endif {{ ucfirst($common->status) }}
@if ($common->status !== 'deleted' && $common->is_system !== 1)
@csrf
@endif
No entries
Add a list definition, then add values to it.
@include('components.pagination', ['paginator' => $commons])
Create New Common
Choose “Master” to create a new list, or pick a list to add a value to it.
@csrf
Leave empty for a list definition.
@endsection