Speichern und Laden von Einheits-Preisen implementiert

This commit is contained in:
2025-07-17 23:48:32 +02:00
parent 67cb0b61b6
commit fc90b94fb2
4 changed files with 8 additions and 10 deletions

View File

@@ -216,7 +216,7 @@
<button onclick={() => position_select = true}>{t('add_position')}</button>
{/if}
</legend>
<PositionList bind:document={doc} {update} bind:error={error} />
<PositionList bind:document={doc} submit={update} bind:error={error} />
</fieldset>
<fieldset>
<legend>{t('footer')}</legend>
@@ -230,8 +230,6 @@
<fieldset>
<legend>TODO</legend>
<ul>
<li>Button zum Versenden des Dokuments einbauen</li>
<li>Preise in den Company-Einstellungen ändern, wenn für eine Position der Preis geändert wird siehe <em>documents.db</em>, Tabelle <em>customer_prices</em></li>
<li>Preise in der Tabelle neu berechnen, wenn Positionen geändert werden</li>
</ul>
</fieldset>