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>
|
||||
5
modules/EcmProducts/tpls/DetailViewEcmActions.tpl
Executable file
5
modules/EcmProducts/tpls/DetailViewEcmActions.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;overflow:auto;" id="ecmactionTableDIV">
|
||||
<table id="tableTimeEdit" name="tableTimeEdit" class="positions" style="width:100%">
|
||||
</table>
|
||||
</div>
|
||||
38
modules/EcmProducts/tpls/EditVew_prices_and_category.tpl
Executable file
38
modules/EcmProducts/tpls/EditVew_prices_and_category.tpl
Executable file
@@ -0,0 +1,38 @@
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td style="width:40%;">
|
||||
<input type="hidden" name="position_list4" id="position_list4" value='{$POSITION_LIST4}'>
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:300px;overflow:auto;" id="itemsTableDIV3">
|
||||
<table class="positions" style="width:100%;" id="itemsTable4">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="70%">{$MOD.LBL_PRICE_NAME}</td>
|
||||
<td width="30%">{$MOD.LBL_PRICE_VALUE}</td>
|
||||
<td width="30%">{$MOD.LBL_PRICE_CURRENCY}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
</td>
|
||||
<td style="width:10%;"></td>
|
||||
<td style="width:40%;">
|
||||
<input type="hidden" name="position_list3" id="position_list3" value='{$POSITION_LIST3}'>
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:300px;overflow:auto;" id="itemsTableDIV3">
|
||||
<table class="positions" style="width:100%;" id="itemsTable3">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="80%">{$MOD.LBL_CATEGORY_NAME}</td>
|
||||
<td width="20%"></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
23
modules/EcmProducts/tpls/EditViewComponents.tpl
Executable file
23
modules/EcmProducts/tpls/EditViewComponents.tpl
Executable file
@@ -0,0 +1,23 @@
|
||||
{*<link rel="stylesheet" type="text/css" href="modules/EcmProducts/AjaxSearch/AjaxSearch.css" />
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV">
|
||||
<table class="positions" style="width:100%;" id="itemsTable">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="4%">{$MOD.LBL_EDITTABLE_NO}</td>
|
||||
<td width="10%">{$MOD.LBL_EDITTABLE_CODE}</td>
|
||||
<td width="58%">{$MOD.LBL_EDITTABLE_NAME}</td>
|
||||
<td width="12%">{$MOD.LBL_EDITTABLE_UNIT}</td>
|
||||
<td width="10%">{$MOD.LBL_EDITTABLE_QUANTITY}</td>
|
||||
<td width="6%">{$MOD.LBL_EDITTABLE_OPTIONS}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div >
|
||||
<br>*}
|
||||
<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>
|
||||
18
modules/EcmProducts/tpls/EditViewEcmAction.tpl
Executable file
18
modules/EcmProducts/tpls/EditViewEcmAction.tpl
Executable file
@@ -0,0 +1,18 @@
|
||||
<div id="searchProducts" class="edit view search basic">
|
||||
<br>
|
||||
Wyszukaj: <input type="text" value=""
|
||||
id="searchEcmActionInput" /> <img
|
||||
onclick="searchActions();"
|
||||
src="modules/EcmSales/images/search.gif" style="cursor: pointer;">
|
||||
Kategoria: {html_options name=select_ecmaction_category options=$ecmaction_category}
|
||||
</div>
|
||||
<div id="ttabble">
|
||||
<table id="wyszukiwanie" name="wyszukiwanie" style="width: 100%">
|
||||
</table>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;overflow:auto;" id="ecmactionTableDIV">
|
||||
<table id="tableTimeEdit" name="tableTimeEdit" class="positions" style="width: 100%">
|
||||
</table>
|
||||
</div>
|
||||
59
modules/EcmProducts/tpls/QuickCreate.tpl
Executable file
59
modules/EcmProducts/tpls/QuickCreate.tpl
Executable file
@@ -0,0 +1,59 @@
|
||||
|
||||
<form name="ecmproductsQuickCreate" id="ecmproductsQuickCreate" method="POST" action="index.php">
|
||||
<input type="hidden" name="module" value="EcmProducts">
|
||||
|
||||
<input type="hidden" name="return_action" value="{$REQUEST.return_action}">
|
||||
<input type="hidden" name="return_module" value="{$REQUEST.return_module}">
|
||||
<input type="hidden" name="return_id" value="{$REQUEST.return_id}">
|
||||
<input type="hidden" name="action" value='Save'>
|
||||
<input type="hidden" name="duplicate_parent_id" value="{$REQUEST.duplicate_parent_id}">
|
||||
<input type="hidden" name="to_pdf" value='1'>
|
||||
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{$ASSIGNED_USER_ID}" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom: 2px;">
|
||||
<input title= "{$APP.LBL_SAVE_BUTTON_TITLE}"
|
||||
accessKey= "{$APP.LBL_SAVE_BUTTON_KEY}"
|
||||
class= "button"
|
||||
type= "submit"
|
||||
name= "button" {$saveOnclick|default:"onclick=\"return check_form('EcmProductsQuickCreate');\""} value=" {$APP.LBL_SAVE_BUTTON_LABEL} " >
|
||||
<input title= "{$APP.LBL_CANCEL_BUTTON_TITLE}"
|
||||
accessKey= "{$APP.LBL_CANCEL_BUTTON_KEY}"
|
||||
class= "button"
|
||||
type= "submit"
|
||||
name= "button" {$cancelOnclick|default:"onclick=\"this.form.action.value='$RETURN_ACTION'; this.form.module.value='$RETURN_MODULE'; this.form.record.value='$RETURN_ID'\""}
|
||||
value= " {$APP.LBL_CANCEL_BUTTON_LABEL} ">
|
||||
<input title= "{$APP.LBL_FULL_FORM_BUTTON_TITLE}"
|
||||
accessKey= "{$APP.LBL_FULL_FORM_BUTTON_KEY}"
|
||||
class= "button"
|
||||
type= "submit"
|
||||
name= "button"
|
||||
onclick= "this.form.to_pdf.value='0';this.form.action.value='EditView'; this.form.module.value='EcmProducts';"
|
||||
value= " {$APP.LBL_FULL_FORM_BUTTON_LABEL} ">
|
||||
</td>
|
||||
<td align="right" nowrap>
|
||||
<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
|
||||
{$APP.NTC_REQUIRED}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th align="left" class="dataLabel" colspan="4">
|
||||
<h4 class="dataLabel"><slot>{$MOD.LBL_ECMPRODUCT_INFORMATION}</slot></h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="dataLabel" width="15%"><slot>{$MOD.LBL_NAME} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td>
|
||||
<td width="35%"><slot><textarea name='name' cols="40" tabindex='1' rows="1">{$NAME}</textarea></slot></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<script>
|
||||
{$additionalScripts}
|
||||
</script>
|
||||
104
modules/EcmProducts/tpls/share.tpl
Executable file
104
modules/EcmProducts/tpls/share.tpl
Executable file
@@ -0,0 +1,104 @@
|
||||
<script>
|
||||
{literal}
|
||||
$(document).ready(function(){
|
||||
$("#select_all").click(function(){
|
||||
var checked_status = this.checked;
|
||||
$("input[name='users[]']").each(function(){
|
||||
this.checked = checked_status;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
function checkthis(){
|
||||
var error=0
|
||||
$("input[name='users[]']").each(function(){
|
||||
|
||||
if($( this ).is( ':checked' )){
|
||||
error=1;
|
||||
}
|
||||
});
|
||||
if(error==1){
|
||||
return true;
|
||||
} else {
|
||||
alert('Zaznacz choć jedną firmę');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
<style>
|
||||
{literal}
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
.text-right {
|
||||
text-align: right !important;
|
||||
}
|
||||
.account_name {
|
||||
background:rgba(0,0,0,0);
|
||||
border:none;
|
||||
text-color: black;
|
||||
}
|
||||
{/literal}
|
||||
</style>
|
||||
{if $added==1}
|
||||
<h3><span style="color:green;">Produkty zostały udostępnione</span></h3>
|
||||
<br><br>{/if}
|
||||
<h3>Udostępnij firmie</h3>
|
||||
<form action="index.php" method="POST" name="SendEmail" id="SendEmail" enctype="multipart/form-data">
|
||||
<input type="hidden" name="action" value="share">
|
||||
<input type="hidden" name="module" value="EcmProducts">
|
||||
<input type="hidden" name="uid" value="{$uid}">
|
||||
<table class="list view" width="100%" cellspacing="0" cellpadding="0" border="0" id="transactions_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" nowrap="nowrap" width="10%"><div style="white-space: nowrap;" width="100%" align="left">
|
||||
<input type="checkbox" name="select_all" id="select_all" value=""></div></th>
|
||||
<th scope="col" nowrap="nowrap" width="90%">
|
||||
<div style="white-space: nowrap;" width="100%" align="left">Firma</div></th>
|
||||
</tr>
|
||||
<thead>
|
||||
<tbody>
|
||||
{foreach from=$users item=row key=k}
|
||||
<tr class="evenListRowS1" row-number="">
|
||||
<td class="text-left"><input type="checkbox" name="users[]" value="{$row.dbasename}">
|
||||
</td>
|
||||
<td class="text-left">{$row.name}</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<h3>Wybrane produkty</h3>
|
||||
|
||||
<table class="list view" width="100%" cellspacing="0" cellpadding="0" border="0" id="transactions_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" nowrap="nowrap" width="100%">
|
||||
<div style="white-space: nowrap;" width="100%" align="left">Produkt</div></th>
|
||||
</tr>
|
||||
<thead>
|
||||
<tbody>
|
||||
{foreach from=$account_list item=row key=k}
|
||||
<tr class="evenListRowS1" row-number="">
|
||||
|
||||
<td class="text-left">{$row.name}</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<input class="button primary" type="submit" value="Udostępnij" name="submit" onclick='return checkthis();' accesskey="S" title="Zapisz [Alt+S]">
|
||||
</form>
|
||||
216
modules/EcmProducts/tpls/shortPDF.tpl
Executable file
216
modules/EcmProducts/tpls/shortPDF.tpl
Executable file
@@ -0,0 +1,216 @@
|
||||
<table style='width: 100%'>
|
||||
<tr>
|
||||
<td style='width: 50%'><img src="custom/themes/default/images/company_logo.png" width="{$COMPANY_LOGO_WIDTH}" height="{$COMPANY_LOGO_HEIGHT}"></td>
|
||||
<td style='width: 50%; text-align: right; vertical-align: top'>{$current_date}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style='width: 100%'>
|
||||
<tr>
|
||||
<td style="width: 70%">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Nazwa produktu:</b>
|
||||
</td>
|
||||
<td style='font-size: 120%'>
|
||||
{$product->name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Indeks produktu:</b>
|
||||
</td>
|
||||
<td style='font-size: 120%'>
|
||||
{$product->code}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>J.M:</b>
|
||||
</td>
|
||||
<td style='font-size: 120%'>
|
||||
{foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc}
|
||||
{if $klucz==$product->unit_id}
|
||||
{$wartosc}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="width: 30%; text-align: right">
|
||||
{if $product->product_picture != ''}
|
||||
<img src='modules/EcmProducts/upload/images/{$product->product_picture}'>
|
||||
{/if}
|
||||
{if $product->packing_front_picture!= ''}
|
||||
<img src='modules/EcmProducts/upload/images/{$product->packing_front_picture}'>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{if isset($componentList)}
|
||||
<br>
|
||||
Komponenty
|
||||
<table class='positions' style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style='{$thcss}'>
|
||||
Lp.
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Indeks
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Nazwa
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
j.m.
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Ilość
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Cena
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Wartość
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{assign var=sumSignle value=0}
|
||||
{assign var=sumTotal value=0}
|
||||
{foreach from=$componentList key=key item=value}
|
||||
{assign var=sumSignle value=$sumSignle+$value.price.Single}
|
||||
{assign var=sumTotal value=$sumTotal+$value.price.Summary}
|
||||
<tr>
|
||||
<td style='{$tbodytd} text-align: center'>
|
||||
{$key+1}
|
||||
</td>
|
||||
<td style='{$tbodytd}'>
|
||||
{$value.code}
|
||||
</td>
|
||||
<td style='{$tbodytd}'>
|
||||
{$value.name}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
|
||||
{foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc}
|
||||
{if $klucz==$value.unit_id}
|
||||
{$wartosc}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.quantity|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.price.Single|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.price.Summary|number_format:2:",":"."}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<foot>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
Suma
|
||||
</td>
|
||||
<td style='text-align: right'>
|
||||
{$sumSignle|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='text-align: right'>
|
||||
{$sumTotal|number_format:2:",":"."}
|
||||
</td>
|
||||
</tr>
|
||||
</foot>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $product->action_list!= '[]'}
|
||||
<br>
|
||||
Czynności
|
||||
<table class="positions" style="width: 100%">
|
||||
<thead style=''>
|
||||
<tr>
|
||||
<th style='{$thcss}'>
|
||||
Lp.
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Indeks
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Nazwa
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
j.m.
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Ilość
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Cena
|
||||
</th>
|
||||
<th style='{$thcss}'>
|
||||
Wartość
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{assign var=sumSignle value=0}
|
||||
{assign var=sumTotal value=0}
|
||||
{foreach from=$product->action_list key=key item=value}
|
||||
{assign var=sumSignle value=$sumSignle+$value.price.Single}
|
||||
{assign var=sumTotal value=$sumTotal+$value.price.Summary}
|
||||
<tr>
|
||||
<td style='{$tbodytd} text-align: center'>
|
||||
{$key+1}
|
||||
</td>
|
||||
<td style='{$tbodytd}'>
|
||||
{$value.indeks}
|
||||
</td>
|
||||
<td style='{$tbodytd}'>
|
||||
{$value.name}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
|
||||
{foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc}
|
||||
{if $klucz==$value.unit_id}
|
||||
{$wartosc}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.quantity|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.price.Single|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='{$tbodytd} text-align: right'>
|
||||
{$value.price.Summary|number_format:2:",":"."}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<foot>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
Suma
|
||||
</td>
|
||||
<td style='text-align: right'>
|
||||
{$sumSignle|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style='text-align: right'>
|
||||
{$sumTotal|number_format:2:",":"."}
|
||||
</td>
|
||||
</tr>
|
||||
</foot>
|
||||
</table>
|
||||
{/if}
|
||||
841
modules/EcmProducts/views/EditView/EditView.tpl
Executable file
841
modules/EcmProducts/views/EditView/EditView.tpl
Executable file
@@ -0,0 +1,841 @@
|
||||
{*
|
||||
|
||||
|
||||
|
||||
/*********************************************************************************
|
||||
|
||||
|
||||
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
|
||||
|
||||
|
||||
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
|
||||
|
||||
|
||||
* the terms of the GNU General Public License version 3 as published by the
|
||||
|
||||
|
||||
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
|
||||
|
||||
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
|
||||
|
||||
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
|
||||
|
||||
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
|
||||
|
||||
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
|
||||
|
||||
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
|
||||
|
||||
|
||||
* details.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
|
||||
|
||||
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
|
||||
|
||||
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
|
||||
|
||||
|
||||
* 02110-1301 USA.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
|
||||
|
||||
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
|
||||
|
||||
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
|
||||
|
||||
|
||||
* Section 5 of the GNU General Public License version 3.
|
||||
|
||||
|
||||
|
||||
*
|
||||
|
||||
|
||||
|
||||
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
||||
|
||||
|
||||
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
|
||||
|
||||
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
|
||||
|
||||
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
|
||||
|
||||
|
||||
* "Powered by SugarCRM".
|
||||
|
||||
|
||||
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
*}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
|
||||
.dataLabel { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
.dataField { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
.tabEditViewDF { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
td .dataLabel { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
td .dataField { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
td .tabEditViewDF { padding: 2px; }
|
||||
|
||||
|
||||
|
||||
.tabForm { border-top:none; }
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{include file='modules/EcmProducts/views/EditView/header.tpl'}}
|
||||
|
||||
|
||||
|
||||
{sugar_include include=$includes}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0" class='tabDetailView' id='tabFormPagination'>
|
||||
|
||||
|
||||
|
||||
{{if $panelCount == 0}}
|
||||
|
||||
|
||||
|
||||
{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}}
|
||||
|
||||
|
||||
|
||||
{{if $SHOW_VCR_CONTROL}}
|
||||
|
||||
|
||||
|
||||
{$PAGINATION}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
|
||||
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
|
||||
|
||||
var SelectedTab = "";
|
||||
|
||||
|
||||
|
||||
function SetTab(tab_name) {
|
||||
|
||||
|
||||
|
||||
var TabMenu = document.getElementById('groupTabs');
|
||||
|
||||
|
||||
|
||||
var tabs = TabMenu.getElementsByTagName('li');
|
||||
|
||||
|
||||
|
||||
for(i=0;i<tabs.length;i++) {
|
||||
|
||||
|
||||
|
||||
if((tab_name+'_menu') === tabs[i].id) {
|
||||
|
||||
|
||||
|
||||
tabs[i].className = 'active';
|
||||
|
||||
|
||||
|
||||
tabs[i].getElementsByTagName('a')[0].className = 'current';
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
|
||||
tabs[i].className = '';
|
||||
|
||||
|
||||
|
||||
tabs[i].getElementsByTagName('a')[0].className = '';
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var prev = document.getElementById(SelectedTab);
|
||||
|
||||
|
||||
|
||||
var curr = document.getElementById(tab_name);
|
||||
|
||||
|
||||
|
||||
prev.style.display = 'none';
|
||||
|
||||
|
||||
|
||||
curr.style.display = '';
|
||||
|
||||
|
||||
|
||||
SelectedTab = tab_name;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="tabList" style="margin-top:10px;" id="groupTabs">
|
||||
|
||||
|
||||
|
||||
{{foreach name=section from=$sectionPanels key=label item=panel}}
|
||||
|
||||
|
||||
|
||||
{{if $panel[0][0].field.type == 'tab'}}
|
||||
|
||||
|
||||
|
||||
<li class="{{if $panel[0][0].field.active}}active{{/if}}" id="{{$label}}_menu">
|
||||
|
||||
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
|
||||
|
||||
var set{{$label}} = function() {literal} { {/literal} SetTab('{{$label}}'); {literal} }; {/literal}
|
||||
|
||||
|
||||
|
||||
{{if $panel[0][0].field.active}}SelectedTab="{{$label}}";{{/if}}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<a class="{{if $panel[0][0].field.active}}current{{/if}}" href="javascript:set{{$label}}();">{sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'}</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{* Loop through all top level panels first *}}
|
||||
|
||||
|
||||
|
||||
{{counter name="panelCount" start=-1 print=false assign="panelCount"}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{foreach name=section from=$sectionPanels key=label item=panel}}
|
||||
|
||||
|
||||
|
||||
{{counter name="panelCount" print=false}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{* Print out the table data *}}
|
||||
|
||||
|
||||
|
||||
<div id="{{$label}}" style="display:{{if !$panel[0][0].field.active}}none{{/if}};">
|
||||
|
||||
|
||||
|
||||
{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"}
|
||||
|
||||
|
||||
|
||||
{{* Check to see if the panel variable is an array, if not, we'll attempt an include with type param php *}}
|
||||
|
||||
|
||||
|
||||
{{* See function.sugar_include.php *}}
|
||||
|
||||
|
||||
|
||||
{{if !is_array($panel)}}
|
||||
|
||||
|
||||
|
||||
{sugar_include type='php' file='{{$panel}}'}
|
||||
|
||||
|
||||
|
||||
{{else}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="{$def.templateMeta.panelClass|default:tabForm}">
|
||||
|
||||
|
||||
|
||||
{{* Only show header if it is not default or an int value *}}
|
||||
|
||||
|
||||
|
||||
{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}}
|
||||
|
||||
|
||||
|
||||
<th class="dataLabel" align="left" colspan="8">
|
||||
|
||||
|
||||
|
||||
<h4>{sugar_translate label='LBL_{{$label}}' module='{{$module}}'}</h4>
|
||||
|
||||
|
||||
|
||||
</th>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{assign var='rowCount' value=0}}
|
||||
|
||||
|
||||
|
||||
{{foreach name=rowIteration from=$panel key=row item=rowData}}
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{assign var='columnsInRow' value=$rowData|@count}}
|
||||
|
||||
|
||||
|
||||
{{assign var='columnsUsed' value=0}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{* Loop through each column and display *}}
|
||||
|
||||
|
||||
|
||||
{{counter name="colCount" start=0 print=false assign="colCount"}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{foreach name=colIteration from=$rowData key=col item=colData}}
|
||||
|
||||
|
||||
|
||||
{{counter name="colCount" print=false}}
|
||||
|
||||
|
||||
|
||||
{{math assign="tabIndex" equation="$panelCount * $maxColumns + $colCount"}}
|
||||
|
||||
|
||||
|
||||
{{if count($rowData) == $colCount}}
|
||||
|
||||
|
||||
|
||||
{{assign var="colCount" value=0}}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{if empty($def.templateMeta.labelsOnTop) && empty($colData.field.hideLabel)}}
|
||||
|
||||
|
||||
|
||||
<td valign="top" width='{{$def.templateMeta.widths[$smarty.foreach.colIteration.index].label}}%' class="dataLabel" NOWRAP>
|
||||
|
||||
|
||||
|
||||
{{if isset($colData.field.customLabel)}}
|
||||
|
||||
|
||||
|
||||
{{$colData.field.customLabel}}
|
||||
|
||||
|
||||
|
||||
{{elseif isset($colData.field.label)}}
|
||||
|
||||
|
||||
|
||||
{capture name="label" assign="label}
|
||||
|
||||
|
||||
|
||||
{sugar_translate label='{{$colData.field.label}}' module='{{$module}}'}
|
||||
|
||||
|
||||
|
||||
{/capture}
|
||||
|
||||
|
||||
|
||||
{$label|strip_semicolon}:
|
||||
|
||||
|
||||
|
||||
{{elseif isset($fields[$colData.field.name])}}
|
||||
|
||||
|
||||
|
||||
{capture name="label" assign="label}
|
||||
|
||||
|
||||
|
||||
{sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'}
|
||||
|
||||
|
||||
|
||||
{/capture}
|
||||
|
||||
|
||||
|
||||
{$label|strip_semicolon}:
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{* Show the required symbol if field is required, but override not set. Or show if override is set *}}
|
||||
|
||||
|
||||
|
||||
{{if ($fields[$colData.field.name].required && (!isset($colData.field.displayParams.required) || $colData.field.displayParams.required)) ||
|
||||
|
||||
|
||||
|
||||
(isset($colData.field.displayParams.required) && $colData.field.displayParams.required)}}
|
||||
|
||||
|
||||
|
||||
<span class="required">{{$APP.LBL_REQUIRED_SYMBOL}}</span>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td valign="top" width='{{if $colData.field.allCols}}100%{{else}}{{$def.templateMeta.widths[$smarty.foreach.colIteration.index].field}}{{/if}}%' class='tabEditViewDF' {{if $colData.field.allCols}}colspan='8'{{else}}{{if $colData.colspan}}colspan='{{$colData.colspan}}'{{/if}}{{/if}} NOWRAP>
|
||||
|
||||
|
||||
|
||||
{{if !empty($def.templateMeta.labelsOnTop)}}
|
||||
|
||||
|
||||
|
||||
{{if isset($colData.field.label)}}
|
||||
|
||||
|
||||
|
||||
{{if !empty($colData.field.label)}}
|
||||
|
||||
|
||||
|
||||
{sugar_translate label='{{$colData.field.label}}' module='{{$module}}'}:
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{elseif isset($fields[$colData.field.name])}}
|
||||
|
||||
|
||||
|
||||
{sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'}:
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{* Show the required symbol if field is required, but override not set. Or show if override is set *}}
|
||||
|
||||
|
||||
|
||||
{{if ($fields[$colData.field.name].required && (!isset($colData.field.displayParams.required) || $colData.field.displayParams.required)) ||
|
||||
|
||||
|
||||
|
||||
(isset($colData.field.displayParams.required) && $colData.field.displayParams.required)}}
|
||||
|
||||
|
||||
|
||||
<span class="required">{{$APP.LBL_REQUIRED_SYMBOL}}</span>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{if !isset($colData.field.label) || !empty($colData.field.label)}}
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{if $fields[$colData.field.name] && !empty($colData.field.fields) }}
|
||||
|
||||
|
||||
|
||||
{{foreach from=$colData.field.fields item=subField}}
|
||||
|
||||
|
||||
|
||||
{{if $fields[$subField.name]}}
|
||||
|
||||
|
||||
|
||||
{counter name="panelFieldCount"}
|
||||
|
||||
|
||||
|
||||
{{sugar_field parentFieldArray='fields' tabindex=$colData.field.tabindex vardef=$fields[$subField.name] displayType='editView' displayParams=$subField.displayParams formName=$form_name}}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
{{elseif !empty($colData.field.customCode)}}
|
||||
|
||||
|
||||
|
||||
{counter name="panelFieldCount"}
|
||||
|
||||
|
||||
|
||||
{{sugar_evalcolumn var=$colData.field.customCode colData=$colData tabindex=$colData.field.tabindex}}
|
||||
|
||||
|
||||
|
||||
{{elseif $fields[$colData.field.name]}}
|
||||
|
||||
|
||||
|
||||
{counter name="panelFieldCount"}
|
||||
|
||||
|
||||
|
||||
{{$colData.displayParams}}
|
||||
|
||||
|
||||
|
||||
{{sugar_field parentFieldArray='fields' tabindex=$colData.field.tabindex vardef=$fields[$colData.field.name] displayType='editView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type formName=$form_name}}
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if $panelFieldCount == 0}
|
||||
|
||||
|
||||
|
||||
<script>document.getElementById("{{$label}}").style.display='none';</script>
|
||||
|
||||
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
{{include file='modules/EcmProducts/views/EditView/footer.tpl'}}
|
||||
61
modules/EcmProducts/views/EditView/footer.tpl
Executable file
61
modules/EcmProducts/views/EditView/footer.tpl
Executable file
@@ -0,0 +1,61 @@
|
||||
{*
|
||||
|
||||
/*********************************************************************************
|
||||
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
|
||||
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
|
||||
|
||||
*
|
||||
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
|
||||
* the terms of the GNU General Public License version 3 as published by the
|
||||
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
|
||||
*
|
||||
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
|
||||
* details.
|
||||
|
||||
*
|
||||
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
|
||||
* 02110-1301 USA.
|
||||
|
||||
*
|
||||
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
|
||||
*
|
||||
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
|
||||
* Section 5 of the GNU General Public License version 3.
|
||||
|
||||
*
|
||||
|
||||
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
||||
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
79
modules/EcmProducts/views/EditView/header.tpl
Executable file
79
modules/EcmProducts/views/EditView/header.tpl
Executable file
@@ -0,0 +1,79 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form action="index.php" method="POST" name="{$form_name}" id="{$form_id}" {$enctype}>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td style="padding-bottom: 2px;">
|
||||
<input type="hidden" name="module" value="{$module}">
|
||||
{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"}
|
||||
<input type="hidden" name="record" value="">
|
||||
{else}
|
||||
<input type="hidden" name="record" value="{$fields.id.value}">
|
||||
{/if}
|
||||
<input type="hidden" name="isDuplicate" value="false">
|
||||
<input type="hidden" name="action">
|
||||
<input type="hidden" name="return_module" value="{$smarty.request.return_module}">
|
||||
<input type="hidden" name="return_action" value="{$smarty.request.return_action}">
|
||||
<input type="hidden" name="return_id" value="{$smarty.request.return_id}">
|
||||
<input type="hidden" name="contact_role">
|
||||
{if !empty($smarty.request.return_module)}
|
||||
<input type="hidden" name="relate_to" value="{$smarty.request.return_module}">
|
||||
<input type="hidden" name="relate_id" value="{$smarty.request.return_id}">
|
||||
{/if}
|
||||
<input type="hidden" name="offset" value="{$offset}">
|
||||
{{if isset($form.hidden)}}
|
||||
{{foreach from=$form.hidden item=field}}
|
||||
{{$field}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
{{if empty($form.button_location) || $form.button_location == 'top'}}
|
||||
{{if !empty($form) && !empty($form.buttons)}}
|
||||
{{foreach from=$form.buttons key=val item=button}}
|
||||
{{sugar_button module="$module" id="$button" view="$view"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{sugar_button module="$module" id="SAVE" view="$view"}}
|
||||
{{sugar_button module="$module" id="CANCEL" view="$view"}}
|
||||
{{/if}}
|
||||
{{if empty($form.hideAudit) || !$form.hideAudit}}
|
||||
{{sugar_button module="$module" id="Audit" view="$view"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td align='right'>{{$ADMIN_EDIT}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user