<?php $branch = $branch ?? null; ?>

<label class="block">
    <span class="text-sm font-semibold text-ink-700">Nombre *</span>
    <input name="name" value="<?php echo e(old('name', $branch?->name)); ?>" required class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">Teléfono</span>
    <input name="phone" value="<?php echo e(old('phone', $branch?->phone)); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">WhatsApp</span>
    <input name="whatsapp" value="<?php echo e(old('whatsapp', $branch?->whatsapp)); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">Email</span>
    <input name="email" type="email" value="<?php echo e(old('email', $branch?->email)); ?>" class="input mt-1.5">
</label>
<label class="block md:col-span-2">
    <span class="text-sm font-semibold text-ink-700">Dirección</span>
    <input name="address" value="<?php echo e(old('address', $branch?->address)); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">Ciudad</span>
    <input name="city" value="<?php echo e(old('city', $branch?->city)); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">Departamento</span>
    <input name="state" value="<?php echo e(old('state', $branch?->state)); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">País</span>
    <input name="country" value="<?php echo e(old('country', $branch?->country ?? 'Colombia')); ?>" class="input mt-1.5">
</label>
<label class="block">
    <span class="text-sm font-semibold text-ink-700">Zona horaria</span>
    <input name="timezone" value="<?php echo e(old('timezone', $branch?->timezone ?? config('app.timezone'))); ?>" class="input mt-1.5">
</label>
<label class="inline-flex items-center gap-2 text-sm text-ink-700">
    <input type="checkbox" name="is_active" value="1" <?php if(old('is_active', $branch?->is_active ?? true)): echo 'checked'; endif; ?> class="rounded border-ink-300 text-brand-600 focus:ring-brand-500">
    Activa
</label>
<?php /**PATH /Applications/XAMPP/xamppfiles/htdocs/CitasSoft/resources/views/tenant/modules/partials/branch-fields.blade.php ENDPATH**/ ?>