remove max payment amount for settlements
Some checks failed
CI / update (push) Failing after 5s

This commit is contained in:
2025-09-10 08:08:00 +02:00
parent 73c7626c32
commit c53300d5a7

View File

@@ -98,11 +98,6 @@
return;
}
if (amount > selectedSettlement.amount) {
error = 'Settlement amount cannot exceed the debt amount';
return;
}
try {
submitting = true;
error = null;
@@ -264,13 +259,11 @@
type="number"
step="0.01"
min="0.01"
max={selectedSettlement.amount}
bind:value={settlementAmount}
placeholder="0.00"
/>
</div>
<small class="max-amount">
Maximum: {formatCurrency(selectedSettlement.amount)}
</small>
</div>