{#if doc}
{t('customer')}
update('customer.name',val)} />
{t('customer_id')}:
update('customer.id',val)} />
{t('tax_id')}:
update('customer.tax_id',val)} />
{t('email')}:
update('customer.email',val)} />
{t('sender')}
update('sender.name',val)} />
{t('local_court')}:
update('sender.court',val)} />
{t('tax_id')}:
update('sender.tax_id',val)} />
{t('bank_account')}:
update('sender.bank_account',val)} />
{t('type_'+doc.type)}
{t('number')}:
update('number',val)} />
{t('state')}:
update('state',val)} />
{t('date')}:
update('date',val)} />
{t('delivery_date')}:
update('delivery',val)} />
{t('template')}:
{#if editable}
update('template_id',doc.template)} /> {:else} {doc.template.name} {/if}
{t('create_new_object',{object:t('succeeding_document')})}:
{t('head')}
update('head',val)} />
{t('positions')} {#if editable}
position_select = true}>{t('add_object',{object:t('position')})}
{/if}
{t('footer')}
update('footer',val)} />
{t('tags')}
{t('actions')}
{t('create_pdf')}
router.navigate(`/document/${doc.id}/send`)} >{t('send_document')}
{/if}
{t('notes')}
{#if position_select}
position_select=false} {doc} onSelect={addPosition} /> {/if}