<form method="POST" action="/eagle_client_istanbulcups/api/caisses/update_type_caisse.php">
<input type="hidden" name="id" id="edit_type_id">
<input type="hidden" name="caisse_id" value="<?= $caisse_id ?>">

<div class="modal fade" id="editType" tabindex="-1">
  <div class="modal-dialog">
    <div class="modal-content">

      <div class="modal-header bg-warning">
        <h5>Modifier solde initial</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
      </div>

      <div class="modal-body">
        <label class="form-label">Solde initial</label>
        <input type="number" step="0.01" name="solde_initial" id="edit_solde"
               class="form-control" required>
      </div>

      <div class="modal-footer">
        <button class="btn btn-warning">
          <i class="fa fa-save"></i> Mettre à jour
        </button>
      </div>

    </div>
  </div>
</div>
</form>
