This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<h1>{$FOCUS->parent_name}</h1>
{if $ERRORS|@count != 0}
<b>{$MOD.LBL_ERRORS}</b><br>
{/if}
{foreach from=$ERRORS key="key" item="item" name="components"}
{$item}<br>
{/foreach}
<table class="ListView" width="100%">
<tr>
<td class="listViewThS1"><b>{$MOD.LBL_EDITTABLE_CODE}</b></td>
<td class="listViewThS1"><b>{$MOD.LBL_EDITTABLE_NAME}</b></td>
<td class="listViewThS1"><b>{$MOD.LBL_EDITTABLE_QUANTITY}</b></td>
<td class="listViewThS1"><b>{$MOD.LBL_EDITTABLE_PRICE}</b></td>
<td class="listViewThS1"><b>{$MOD.LBL_INVOICE}</b></td>
<td class="listViewThS1"><b>{$MOD.LBL_CORRECT}</b></td>
</tr>
{foreach from=$POSITION_LIST key="key" item="item" name="components"}
<tr style="background-color:{cycle values="#e6e6e6;,#ffffff;"}">
<td class="oddListRowS1">{$item.code}</td>
<td class="oddListRowS1">{$item.name}</td>
<td class="oddListRowS1">{$item.quantity} / {$item.old_qty}</td>
<td class="oddListRowS1">{$item.price_netto}</td>
<td class="oddListRowS1">{if $item.inv_id!=''}<a href="index.php?module=EcmInvoiceOuts&action=DetailView&record={$item.inv_id}">{$item.inv_document_no}</a>{else}-{/if}</td>
<td class="oddListRowS1">{if $item.cor_id!=''}<a href="index.php?module=EcmInvoiceOuts&action=DetailView&record={$item.cor_id}">{$item.cor_document_no}</a>{else}-{/if}</td>
</tr>
{/foreach}
</table><br><br>
{if $ERRORS|@count == 0}
<a href="index.php?module=EcmInvoiceOuts&action=EditView&sess_id={$SESS_ID}&parent_doc_id={$FOCUS->id}&parent_doc_type=EcmReturn"><input type="button" value="{$MOD.LBL_CREATE_COR}"></a>
{else}
<a href="index.php?module=EcmReturns&action=DetailView&record={$FOCUS->id}"><input type="button" value="{$FOCUS->document_no}"></a>
{/if}