| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/billing/resources/views/admin/priorities/ |
Upload File : |
@extends('layouts.admin')
@section('content')
<div class="card">
<div class="card-header">
{{ trans('global.edit') }} {{ trans('cruds.priority.title_singular') }}
</div>
<div class="card-body">
<form action="{{ route("admin.priorities.update", [$priority->id]) }}" method="POST" enctype="multipart/form-data">
@csrf
@method('PUT')
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
<label for="name">{{ trans('cruds.priority.fields.name') }}*</label>
<input type="text" id="name" name="name" class="form-control" value="{{ old('name', isset($priority) ? $priority->name : '') }}" required>
@if($errors->has('name'))
<em class="invalid-feedback">
{{ $errors->first('name') }}
</em>
@endif
<p class="helper-block">
{{ trans('cruds.priority.fields.name_helper') }}
</p>
</div>
<div class="form-group {{ $errors->has('color') ? 'has-error' : '' }}">
<label for="color">{{ trans('cruds.priority.fields.color') }}</label>
<input type="text" id="color" name="color" class="form-control colorpicker" value="{{ old('color', isset($priority) ? $priority->color : '') }}">
@if($errors->has('color'))
<em class="invalid-feedback">
{{ $errors->first('color') }}
</em>
@endif
<p class="helper-block">
{{ trans('cruds.priority.fields.color_helper') }}
</p>
</div>
<div>
<input class="btn btn-danger" type="submit" value="{{ trans('global.save') }}">
</div>
</form>
</div>
</div>
@endsection
@section('styles')
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.5.3/css/bootstrap-colorpicker.min.css" rel="stylesheet">
@endsection
@section('scripts')
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.5.3/js/bootstrap-colorpicker.min.js"></script>
<script>
$('.colorpicker').colorpicker();
</script>
@endsection