Add TPL files
This commit is contained in:
9
modules/EcmProducts/tpls/DetailViewComponents.tpl
Executable file
9
modules/EcmProducts/tpls/DetailViewComponents.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
{if $COMPONENT_LIST|@count > 0}
|
||||
<input type="button" name="button" value="Utwórz Zamówienie do Dostawcy"
|
||||
onclick="{literal}var r = confirm('Czy napewno utworzyć zamówienia do dostawcy?');if(r==true){window.open('index.php?module=EcmProducts&action=createZD&record={/literal}{$fields.id.value}{literal}');}{/literal}"><br>
|
||||
{/if}
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;overflow:auto;">
|
||||
<input type="hidden" name="component_list" id="component_list" value='{$COMPONENT_LIST|@json_encode}'>
|
||||
<table class="positions" style="width:100%;" id="tableComponents">
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user