Speichern und Laden von Einheits-Preisen implementiert
This commit is contained in:
@@ -68,10 +68,10 @@
|
||||
<td colspan="2"></td>
|
||||
<td>{t('net_sum')}</td>
|
||||
<td>{document.net_sum/100} {document.currency}</td>
|
||||
<td colspan="2">{t('gros_sum')}</td>
|
||||
<td colspan="2">{t('gross_sum')}</td>
|
||||
<td>{document.gross_sum/100} {document.currency}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user