feat: add common settings management page with transactional database updates and theme configuration

This commit is contained in:
Ümit Tunç
2026-04-28 22:07:52 +03:00
parent 784724c6bc
commit 166e430734
@@ -236,13 +236,7 @@ $themes = explode("\n", "dx.light.css
</select>
{{e2("PDF Template Path")}} :
<input type="text" name="pdf_template_path" value="{{setting('pdf_template_path')}}" class="form-control" id="">
{{e2("Handover Control Count")}}:
<?php $handoverControlCount = setting('handover_control_count', 3); ?>
<select name="handover_control_count" class="form-control select2">
@for($i = 1; $i <= 10; $i++)
<option value="{{$i}}" {{$handoverControlCount == $i ? 'selected' : ''}}>{{$i}}</option>
@endfor
</select>
<button type="submit" class="btn btn-primary mt-5" id="updateSettingsBtn">{{e2("Update")}}</button>
</form>