Files
ladill-frontdesk/resources/views/frontdesk/admin/branches/create.blade.php
T
isaacclad 5526a10342
Deploy Ladill Frontdesk / deploy (push) Successful in 48s
Move Branches and Team into Settings as Pro features.
Gate multi-branch and team management behind paid plans, nest their
routes under Settings, and remove them from the sidebar Administration
section.
2026-07-16 08:13:42 +00:00

15 lines
1.2 KiB
PHP

<x-app-layout title="Add branch">
<div class="mx-auto max-w-lg">
<a href="{{ route('frontdesk.branches.index') }}" class="text-sm text-slate-500 hover:text-slate-800">&larr; Branches</a>
<h1 class="mt-2 text-xl font-semibold text-slate-900">Add branch</h1>
<form method="POST" action="{{ route('frontdesk.branches.store') }}" class="mt-6 space-y-4 rounded-2xl border border-slate-200 bg-white p-6">
@csrf
<div><label class="block text-sm font-medium">Name</label><input type="text" name="name" required class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
<div><label class="block text-sm font-medium">Code</label><input type="text" name="code" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
<div><label class="block text-sm font-medium">Address</label><input type="text" name="address" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
<div><label class="block text-sm font-medium">Phone</label><input type="tel" name="phone" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
<button type="submit" class="btn-primary w-full">Save</button>
</form>
</div>
</x-app-layout>