Add profesional_default and especialidad_default fields to config page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1f49f5bff5
commit
f0514641b3
@@ -124,6 +124,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="font-medium text-gray-800"><i class="fas fa-user-md mr-2 text-green-500"></i>Valores por Defecto RDA</h4>
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-gray-700 mb-1">Profesional Default <span class="text-gray-400 font-normal">(código TNS, ej: 02)</span></label>
|
||||
<input type="text" name="config_profesional_default"
|
||||
value="{{ configs|selectattr('key', 'equalto', 'profesional_default')|map(attribute='value')|first|default('') }}"
|
||||
class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 text-sm">
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-gray-700 mb-1">Especialidad Default <span class="text-gray-400 font-normal">(código Firebird, ej: BAC)</span></label>
|
||||
<input type="text" name="config_especialidad_default"
|
||||
value="{{ configs|selectattr('key', 'equalto', 'especialidad_default')|map(attribute='value')|first|default('') }}"
|
||||
class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 text-sm">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit"
|
||||
class="px-6 py-2.5 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition-colors">
|
||||
<i class="fas fa-save mr-2"></i> Guardar Configuración
|
||||
|
||||
Reference in New Issue
Block a user