diff --git a/.gitignore b/.gitignore index 427fbf00..feb62142 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !*.html !*.js !*.css +!*.tpl # ...even if they are in subdirectories !*/ diff --git a/ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl b/ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl new file mode 100755 index 00000000..e1044bdf --- /dev/null +++ b/ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl @@ -0,0 +1,96 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + +*} + + + + {counter start=0 name="colCounter" print=false assign="colCounter"} + + {foreach from=$displayColumns key=colHeader item=params} + {if $params.show} + + {/if} + {counter name="colCounter"} + {/foreach} + + + {foreach name=rowIteration from=$data key=package_id item=package} + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_bgColor' value=$bgColor[0]} + {assign var='_rowColor' value=$rowColor[0]} + {else} + {assign var='_bgColor' value=$bgColor[1]} + {assign var='_rowColor' value=$rowColor[1]} + {/if} + + + + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=col item=params} + + {counter name="colCounter"} + {/foreach} + + + + + {/foreach} + +
view/hide +
+ {sugar_translate label=$params.label module='Administration'} +
+
Select
Advanced  + {if $params.show} + {$package.$col} + {/if} + + Select
+ {foreach name=releaseIteration from=$package.releases key=release_id item=release} + + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$secondaryDisplayColumns key=col item=params} + + {counter name="colCounter"} + {/foreach} + + + {/foreach} +
\ No newline at end of file diff --git a/ModuleInstall/PackageManager/tpls/PackageForm.tpl b/ModuleInstall/PackageManager/tpls/PackageForm.tpl new file mode 100755 index 00000000..3f965f88 --- /dev/null +++ b/ModuleInstall/PackageManager/tpls/PackageForm.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + *} +{$scripts} +{$TREEHEADER} +{literal} + + +{/literal} +{$INSTALLED_PACKAGES_HOLDER} +
+ +
+ +{$hidden_fields} +
+{$FORM_2_PLACE_HOLDER} +{$MODULE_SELECTOR} +
+
+
+
+{$FORM_1_PLACE_HOLDER} +
+ +{if $module_load == 'true'} +
+
+
+ +{literal} +{/literal} +{/if} + + + diff --git a/ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl b/ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl new file mode 100755 index 00000000..aba2eecf --- /dev/null +++ b/ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl @@ -0,0 +1,50 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + *} + + + + + + + + + + + + + +
{$MOD.LBL_MODULE_LICENSE}
{$MOD.LBL_ACCEPT} {$MOD.LBL_DENY}
\ No newline at end of file diff --git a/ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl b/ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl new file mode 100755 index 00000000..c403cc52 --- /dev/null +++ b/ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl @@ -0,0 +1,1084 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + + +{/literal} diff --git a/custom/preDb_60b08fe051546309b61d2714d4a0438d/pdf_teplate/EcmInviceoutContent.tpl b/custom/preDb_60b08fe051546309b61d2714d4a0438d/pdf_teplate/EcmInviceoutContent.tpl new file mode 100755 index 00000000..ad1f3175 --- /dev/null +++ b/custom/preDb_60b08fe051546309b61d2714d4a0438d/pdf_teplate/EcmInviceoutContent.tpl @@ -0,0 +1,344 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + Faktura VAT +
+ nr FV/{$EcmInvoiceOut->document_no} +
+ +
+ Sprzedawca: +
+ + + Data wystawienia: {$EcmInvoiceOut->register_date} Data sprzedaży: {$EcmInvoiceOut->sell_date} +
+ Przedsiębiorstwo Handlowo Usługowe
MAT INSTAL Karol Kluczewski
+
+ Miejsce wystawienia: Toruń{$duplikat} +
+ ul. Płocka 3, 87-100 Toruń + +
+ NIP: 879-155-19-52 + +
+ www.matinstal.pl + + Strona: {literal} {PAGENO} / {nbpg}{/literal} +
+ Tel/fax: 56 648 40 88 + +
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Bank BGŻ BNP Paribas S.A + + Nr rachunku: {$EcmInvoiceOut->bankaccount} +
+ Nabywca: + + Odbiorca: +
+ {$EcmInvoiceOut->parent_name} + + {$EcmInvoiceOut->parent_name} +
+ {$EcmInvoiceOut->parent_address_street} + + {$EcmInvoiceOut->parent_address_street} +
+ {$EcmInvoiceOut->parent_address_postalcode} {$EcmInvoiceOut->parent_address_city} + + {$EcmInvoiceOut->parent_address_postalcode} {$EcmInvoiceOut->parent_address_city} +
+ NIP: {$EcmInvoiceOut->parent_nip} + + NIP: {$EcmInvoiceOut->parent_nip} +
+
+ + + + + + + + + + + + + + + + + + + + +
+ Razem do zapłaty: + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} {$EcmInvoiceOut->currency_id} +
+ Słownie: {$slownieKwota} +
Zapłacono:{$EcmInvoiceOut->paid_val|number_format:2:",":" "} {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id}Pozostało do zapłaty:{$EcmInvoiceOut->total_brutto-$EcmInvoiceOut->paid_val|number_format:2:",":" "} {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id}

+ + + + + + + + + + + + + + + + + +
{$EcmInvoiceOut->assigned_user_name}
Podpis osoby uprawnionej do wystawienia fakturyData odbioruPodpis osoby uprawnionej do obioru faktury
+
+ + + + + + + + + + + + + + + + {foreach from=$EcmInvoiceOut->position_list item=positon} + + + + + + + + + + {/foreach} + +
+ Lp. + + Nazwa towaru/usługi + + Ilość + + J.m. + + VAT + + Cena netto + + Wartość netto +
+ {$positon.position+1} + + {$positon.name} + + {$positon.quantity|number_format:4:",":" "} + + {$positon.unit_name} + + {$positon.ecmvat_name} + + {$positon.price_netto|number_format:2:",":" "} + + {$positon.total_netto|number_format:2:",":" "} +
+
+ + + + + + + + + + + + + + + + + + + + + + + {foreach from=$EcmInvoiceOut->vats_summary item=vat_row name=vat_pozycje} + + + + + + + + + + {/foreach} + +
+ Waluta + + + + Stawka + + Netto   + + VAT   + + Brutto   +
+ {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id} + + Razem: + + + + {$EcmInvoiceOut->total_netto|number_format:2:",":" "} + + {$EcmInvoiceOut->total_vat|number_format:2:",":" "} + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} +
+ + + {if $smarty.foreach.vat_pozycje.iteration eq 1} + W tym: + {/if} + + {$vat_row.0} + + {$vat_row.1|number_format:2:",":" "} + + {$vat_row.2|number_format:2:",":" "} + + {$vat_row.3|number_format:2:",":" "} +
+

+ + + + + + + + + + + + + + + +
+ Forma płatności + + Termin + + Kwota +
+ {$EcmInvoiceOut->payment_method} + + {$EcmInvoiceOut->payment_date} + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} +
+ +
+ +
+ Uwagi: +

+ {$EcmInvoiceOut->pdf_text} +
+ diff --git a/custom/preDb_8a7e080a76ef97c3e304cf463118ef9b/pdf_teplate/EcmInviceoutContent.tpl b/custom/preDb_8a7e080a76ef97c3e304cf463118ef9b/pdf_teplate/EcmInviceoutContent.tpl new file mode 100755 index 00000000..3782b67a --- /dev/null +++ b/custom/preDb_8a7e080a76ef97c3e304cf463118ef9b/pdf_teplate/EcmInviceoutContent.tpl @@ -0,0 +1,344 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + Faktura VAT +
+ nr FV/{$EcmInvoiceOut->document_no} +
+ +
+ Sprzedawca: +
+ + + Data wystawienia: {$EcmInvoiceOut->register_date} Data sprzedaży: {$EcmInvoiceOut->sell_date} +
+ Przedsiębiorstwo Handlowo Usługowe
MAT INSTAL Karol Kluczewski
+
+ Miejsce wystawienia: Toruń +
+ ul. Płocka 3, 87-100 Toruń + +
+ NIP: 879-155-19-52 + +
+ www.matinstal.pl + + Strona: {literal} {PAGENO} / {nbpg}{/literal} +
+ Tel/fax: 56 648 40 88 + +
+ +


+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Bank BGŻ BNP Paribas S.A + + Nr rachunku: {$EcmInvoiceOut->bankaccount} +
+ Nabywca: + + Odbiorca: +
+ {$EcmInvoiceOut->parent_name} + + {$EcmInvoiceOut->parent_name} +
+ {$EcmInvoiceOut->parent_address_street} + + {$EcmInvoiceOut->parent_address_street} +
+ {$EcmInvoiceOut->parent_address_postalcode} {$EcmInvoiceOut->parent_address_city} + + {$EcmInvoiceOut->parent_address_postalcode} {$EcmInvoiceOut->parent_address_city} +
+ NIP: {$EcmInvoiceOut->parent_nip} + + NIP: {$EcmInvoiceOut->parent_nip} +
+
+ + + + + + + + + + + + + + + + + + + + +
+ Razem do zapłaty: + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} {$EcmInvoiceOut->currency_id} +
+ Słownie: {$slownieKwota} +
Zapłacono:{$EcmInvoiceOut->paid_val|number_format:2:",":" "} {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id}Pozostało do zapłaty:{$EcmInvoiceOut->total_brutto-$EcmInvoiceOut->paid_val|number_format:2:",":" "} {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id}

+ + + + + + + + + + + + + + + + + +
{$EcmInvoiceOut->assigned_user_name}
Podpis osoby uprawnionej do wystawienia fakturyData odbioruPodpis osoby uprawnionej do obioru faktury
+
+ + + + + + + + + + + + + + + + {foreach from=$EcmInvoiceOut->position_list item=positon} + + + + + + + + + + {/foreach} + +
+ Lp. + + Nazwa towaru/usługi + + Ilość + + J.m. + + VAT + + Cena netto + + Wartość netto +
+ {$positon.position+1} + + {$positon.name} + + {$positon.quantity|number_format:4:",":" "} + + {$positon.unit_name} + + {$positon.ecmvat_name} + + {$positon.price_netto|number_format:2:",":" "} + + {$positon.total_netto|number_format:2:",":" "} +
+
+ + + + + + + + + + + + + + + + + + + + + + + {foreach from=$EcmInvoiceOut->vats_summary item=vat_row name=vat_pozycje} + + + + + + + + + + {/foreach} + +
+ Waluta + + + + Stawka + + Netto   + + VAT   + + Brutto   +
+ {assign var="Currency_id" value=$EcmInvoiceOut->currency_id} + {$APP_LIST_STRINGS.currency_dom.$Currency_id} + + Razem: + + + + {$EcmInvoiceOut->total_netto|number_format:2:",":" "} + + {$EcmInvoiceOut->total_vat|number_format:2:",":" "} + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} +
+ + + {if $smarty.foreach.vat_pozycje.iteration eq 1} + W tym: + {/if} + + {$vat_row.0} + + {$vat_row.1|number_format:2:",":" "} + + {$vat_row.2|number_format:2:",":" "} + + {$vat_row.3|number_format:2:",":" "} +
+

+ + + + + + + + + + + + + + + +
+ Forma płatności + + Termin + + Kwota +
+ {$EcmInvoiceOut->payment_method} + + {$EcmInvoiceOut->payment_date} + + {$EcmInvoiceOut->total_brutto|number_format:2:",":" "} +
+ +
+ +
+ Uwagi: +

+ {$EcmInvoiceOut->pdf_text} +
+ diff --git a/import/EcmPriceBooks/tpls/QuickCreate.tpl b/import/EcmPriceBooks/tpls/QuickCreate.tpl new file mode 100644 index 00000000..c3c88be0 --- /dev/null +++ b/import/EcmPriceBooks/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
+ + + + + + + + + + + + + + + +
+ + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
+ + + + + + \ No newline at end of file diff --git a/include/MVC/View/tpls/Importvcard.tpl b/include/MVC/View/tpls/Importvcard.tpl new file mode 100755 index 00000000..103a07dd --- /dev/null +++ b/include/MVC/View/tpls/Importvcard.tpl @@ -0,0 +1,68 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +{$MOD.LBL_IMPORT_VCARDTEXT} +{literal} + + +{/literal} + + + + + + +  + + + diff --git a/include/MVC/View/tpls/modulelistmenu.tpl b/include/MVC/View/tpls/modulelistmenu.tpl new file mode 100755 index 00000000..e757242d --- /dev/null +++ b/include/MVC/View/tpls/modulelistmenu.tpl @@ -0,0 +1,41 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +[{foreach from=$LAST_VIEWED item=item name=lastViewed}{ldelim}"text":"{$item.item_summary_short}","url": "{sugar_link module=$item.module_name action='DetailView' record=$item.item_id link_only=1}"{rdelim}{if !$smarty.foreach.lastViewed.last},{/if}{foreachelse}{ldelim} "text": "{$APP.NTC_NO_ITEMS_DISPLAY}"{rdelim}{/foreach}] \ No newline at end of file diff --git a/include/MySugar/tpls/MySugar.tpl b/include/MySugar/tpls/MySugar.tpl new file mode 100755 index 00000000..4a153d4c --- /dev/null +++ b/include/MySugar/tpls/MySugar.tpl @@ -0,0 +1,178 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} + + + + + + + + + + + + + + + +
+
+
+
+ + + + + + + + +
+

{$MOD.LBL_ECMPRICEBOOK_INFORMATION}

+
{$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
+ + diff --git a/include/CreateView/CreateView.tpl b/include/CreateView/CreateView.tpl new file mode 100755 index 00000000..0879ac64 --- /dev/null +++ b/include/CreateView/CreateView.tpl @@ -0,0 +1,173 @@ +{* +/********************************************************************************* +* SugarCRM is a customer relationship management program developed by +* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. +* +* This program is free software; you can redistribute it and/or modify it under +* the terms of the GNU Affero 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 Affero General Public License for more +* details. +* +* You should have received a copy of the GNU Affero 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 Affero General Public License version 3. +* +* In accordance with Section 7(b) of the GNU Affero 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". +********************************************************************************/ +*} + +{{include file=$headerTpl}} +{sugar_include include=$includes} + +
+ {{if $useTabs}} + {* Generate the Tab headers *} + {{counter name="tabCount" start=-1 print=false assign="tabCount"}} + + {{/if}} +
+ {{* 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 *}} +
+ {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}} + + + {{* Only show header if it is not default or an int value *}} + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT' && !$useTabs && $showSectionPanelsTitles}} + + + + {{/if}} + {{assign var='rowCount' value=0}} + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + {{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)}} + + {{/if}} + + {{/foreach}} +
+

{sugar_translate label='{{$label}}' module='{{$module}}'}

+
+ {{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)) || + (isset($colData.field.displayParams.required) && $colData.field.displayParams.required && $fields[$colData.field.name].required !== false)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + + {{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)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + {{if !isset($colData.field.label) || !empty($colData.field.label)}} +
+ {{/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}} +
+ {{/if}} +
+ {if $panelFieldCount == 0} + + {/if} + {{/foreach}} +
+
+ +{{include file=$footerTpl}} + +{{if $useTabs}} + + +{{/if}} diff --git a/include/CreateView/QuickCreate.tpl b/include/CreateView/QuickCreate.tpl new file mode 100755 index 00000000..11d8499d --- /dev/null +++ b/include/CreateView/QuickCreate.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{include file="/include/EditView/EditView.tpl"}} diff --git a/include/CreateView/footer.tpl b/include/CreateView/footer.tpl new file mode 100755 index 00000000..0e85138a --- /dev/null +++ b/include/CreateView/footer.tpl @@ -0,0 +1,61 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
+{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
+{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/include/Dashlets/DashletGenericChartConfigure.tpl b/include/Dashlets/DashletGenericChartConfigure.tpl new file mode 100755 index 00000000..f6c2aa3f --- /dev/null +++ b/include/Dashlets/DashletGenericChartConfigure.tpl @@ -0,0 +1,82 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
+
+ + + + + + + + + + + + + + + {foreach name=searchIteration from=$searchFields key=name item=params} + + + {if ($smarty.foreach.searchIteration.iteration is even) and $smarty.foreach.searchIteration.iteration != $smarty.foreach.searchIteration.last} + + {/if} + {/foreach} + + + + +
+ {$title} + + +
+ {$params.label} + + {$params.input} +
+ +
+
+
\ No newline at end of file diff --git a/include/Dashlets/DashletGenericChartScript.tpl b/include/Dashlets/DashletGenericChartScript.tpl new file mode 100755 index 00000000..3ae33f9b --- /dev/null +++ b/include/Dashlets/DashletGenericChartScript.tpl @@ -0,0 +1,44 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + diff --git a/include/Dashlets/DashletGenericConfigure.tpl b/include/Dashlets/DashletGenericConfigure.tpl new file mode 100755 index 00000000..af9035bf --- /dev/null +++ b/include/Dashlets/DashletGenericConfigure.tpl @@ -0,0 +1,123 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + {if $showMyItemsOnly} + + + + + {/if} + + {foreach name=searchIteration from=$searchFields key=name item=params} + + + {if ($smarty.foreach.searchIteration.iteration is even) and $smarty.foreach.searchIteration.iteration != $smarty.foreach.searchIteration.last} + + {/if} + {/foreach} + + + + +
+

{$strings.general}

+
+ {$strings.title} + + +
+ {$strings.displayRows} + + +
+ + +
+ {$columnChooser} +
+
+
+

{$strings.filters}

+
+ {$strings.myItems} + + +
+ {$params.label} + + {$params.input} +
+ +
+
+
\ No newline at end of file diff --git a/include/Dashlets/DashletGenericDisplay.tpl b/include/Dashlets/DashletGenericDisplay.tpl new file mode 100755 index 00000000..61776cb1 --- /dev/null +++ b/include/Dashlets/DashletGenericDisplay.tpl @@ -0,0 +1,203 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + {foreach from=$displayColumns key=colHeader item=params} + + {/foreach} + {if !empty($quickViewLinks)} + + {/if} + + + {foreach name=rowIteration from=$data key=id item=rowData} + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_rowColor' value=$rowColor[0]} + {else} + {assign var='_rowColor' value=$rowColor[1]} + {/if} + + {if $prerow} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=col item=params} + + {counter name="colCounter"} + {/foreach} + {if !empty($quickViewLinks)} + + {/if} + + {foreachelse} + + + + {/foreach} +
+ + + + + +
  + {if $pageData.urls.startPage} + + + + {else} + + + + {/if} + {if $pageData.urls.prevPage} + + + + {else} + + + {/if} + ({if $pageData.offsets.lastOffsetOnPage == 0}0{else}{$pageData.offsets.current+1}{/if} - {$pageData.offsets.lastOffsetOnPage} {$navStrings.of} {if $pageData.offsets.totalCounted}{$pageData.offsets.total}{else}{$pageData.offsets.total}{if $pageData.offsets.lastOffsetOnPage != $pageData.offsets.total}+{/if}{/if}) + {if $pageData.urls.nextPage} + + + + {else} + + + + {/if} + {if $pageData.urls.endPage && $pageData.offsets.total != $pageData.offsets.lastOffsetOnPage} + + + + {elseif !$pageData.offsets.totalCounted || $pageData.offsets.total == $pageData.offsets.lastOffsetOnPage} + + + + {/if} +
+
+
+ {if $params.sortable|default:true} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir}   + {if $params.orderBy|default:$colHeader|lower == $pageData.ordering.orderBy} + {if $pageData.ordering.sortOrder == 'ASC'} + {capture assign="imageName"}arrow_down.{$arrowExt}{/capture} + {$arrowAlt} + {else} + {capture assign="imageName"}arrow_up.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {capture assign="imageName"}arrow.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir} + {/if} +
+
 
+ + + {if $params.link && !$params.customCode} + <{$pageData.tag.$id[$params.ACLTag]|default:$pageData.tag.$id.MAIN} href='index.php?action={$params.action|default:'DetailView'}&module={if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}&record={$rowData[$params.id]|default:$rowData.ID}&offset={$pageData.offsets.current+$smarty.foreach.rowIteration.iteration}&stamp={$pageData.stamp}'>{$rowData.$col} + {elseif $params.customCode} + {sugar_evalcolumn_old var=$params.customCode rowData=$rowData} + {elseif $params.currency_format} + {sugar_currency_format + var=$rowData.$col + round=$params.currency_format.round + decimals=$params.currency_format.decimals + symbol=$params.currency_format.symbol + convert=$params.currency_format.convert + currency_symbol=$params.currency_format.currency_symbol + } + {elseif $params.type == 'bool'} + + {elseif $params.type == 'multienum'} + {if !empty($rowData.$col)} + {counter name="oCount" assign="oCount" start=0} + {multienum_to_array string=$rowData.$col assign="vals"} + {foreach from=$vals item=item} + {counter name="oCount"} + {if !empty($item)}{sugar_translate label=$params.options select=$item}{if $oCount != count($vals)}, {/if}{/if} + {/foreach} + {/if} + {else} + {$rowData.$col} + {/if} + + {if $pageData.access.edit} + + {/if} + {if $pageData.access.view} + + {/if} +
+ {$APP.LBL_NO_DATA} +
diff --git a/include/DetailView/DetailView.tpl b/include/DetailView/DetailView.tpl new file mode 100755 index 00000000..ec644e08 --- /dev/null +++ b/include/DetailView/DetailView.tpl @@ -0,0 +1,142 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{include file=$headerTpl}} +{sugar_include include=$includes} +
+ {{if $useTabs}} + {* Generate the Tab headers *} + {{counter name="tabCount" start=-1 print=false assign="tabCount"}} + + {{/if}} +
+{{* Loop through all top level panels first *}} +{{counter name="panelCount" print=false start=0 assign="panelCount"}} +{{foreach name=section from=$sectionPanels key=label item=panel}} +{{assign var='panel_id' value=$panelCount}} +
+{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} +{{* Print out the panel title if one exists*}} + +{{* 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}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT' && !$useTabs}} +

{sugar_translate label='{{$label}}' module='{{$module}}'}

+ {{/if}} + {{* Print out the table data *}} + + + + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + {{assign var='columnsInRow' value=$rowData|@count}} + {{assign var='columnsUsed' value=0}} + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + {{/foreach}} + + {{/foreach}} +
+ {{if isset($colData.field.customLabel)}} + {{$colData.field.customLabel}} + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + {capture name="label" assign="label"} + {{$colData.field.label}} + {/capture} + {$label|strip_semicolon}: + {{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}: + {{else}} +   + {{/if}} + + {{if $colData.field.customCode || $colData.field.assign}} + {counter name="panelFieldCount"} + {{sugar_evalcolumn var=$colData.field colData=$colData}} + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + {{foreach from=$colData.field.fields item=subField}} + {{if $fields[$subField]}} + {counter name="panelFieldCount"} + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='DetailView'}}  + {{else}} + {counter name="panelFieldCount"} + {{$subField}} + {{/if}} + {{/foreach}} + {{elseif $fields[$colData.field.name]}} + {counter name="panelFieldCount"} + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='DetailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + {{/if}} +
+{{/if}} +
+{if $panelFieldCount == 0} + + +{/if} +{{/foreach}} +
+{{include file=$footerTpl}} +{{if $useTabs}} + + +{{/if}} \ No newline at end of file diff --git a/include/DetailView/footer.tpl b/include/DetailView/footer.tpl new file mode 100755 index 00000000..07ce6a79 --- /dev/null +++ b/include/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + \ No newline at end of file diff --git a/include/DetailView/header.tpl b/include/DetailView/header.tpl new file mode 100755 index 00000000..ff4c246c --- /dev/null +++ b/include/DetailView/header.tpl @@ -0,0 +1,114 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
+
+ + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} +{{sugar_button module="$module" id="EDIT" view="$view"}} +{{sugar_button module="$module" id="DUPLICATE" view="EditView"}} +{{sugar_button module="$module" id="DELETE" view="$view"}} +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
+
+ {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT} + {{if $panelCount == 0}} + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + {{if $SHOW_VCR_CONTROL}} + {$PAGINATION} + {{/if}} + {{counter name="panelCount" print=false}} + {{/if}} +  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
\ No newline at end of file diff --git a/include/ECM/EcmDropdownEditor/EditView.tpl b/include/ECM/EcmDropdownEditor/EditView.tpl new file mode 100755 index 00000000..52585457 --- /dev/null +++ b/include/ECM/EcmDropdownEditor/EditView.tpl @@ -0,0 +1,51 @@ + +
+{sugar_translate label='LBL_DROPDOWNEDITOR' module='Home'}
+{foreach from=$DROPDOWNS item=DOM key=NAME} + + + +
+
+ {foreach from=$DOM item=VAL key=KEY} +
+   +   +
+ {assign var="showed" value="0"} + {foreach from=$VAL item=I key=L} + + + {if $NAME=='ecmproducts_unit_dom'} +      + +   ( {$LANGUAGES[$L]} )
     + {if $NAME=='ecmproducts_unit_dom' && $showed==0} + +   ( Precyzja )
+ {assign var="showed" value="1"} + {/if} + {else} +      + +   ( {$LANGUAGES[$L]} )
+ {/if} + {/foreach} +
+
+ {/foreach} + +
+{/foreach} +
\ No newline at end of file diff --git a/include/ECM/EcmDropdownEditor/addOption.tpl b/include/ECM/EcmDropdownEditor/addOption.tpl new file mode 100755 index 00000000..06da3a15 --- /dev/null +++ b/include/ECM/EcmDropdownEditor/addOption.tpl @@ -0,0 +1,8 @@ +
+ {foreach from=$LANGUAGES key=ID item=VAL} +      + +   ( {$VAL} )
+ {/foreach} +
+
\ No newline at end of file diff --git a/include/ECM/EcmDropdownEditor/createOptions.tpl b/include/ECM/EcmDropdownEditor/createOptions.tpl new file mode 100755 index 00000000..206f17b8 --- /dev/null +++ b/include/ECM/EcmDropdownEditor/createOptions.tpl @@ -0,0 +1,4 @@ +{foreach from=$OPTIONS key=ID item=VAL} + +{/foreach} + diff --git a/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl b/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl new file mode 100755 index 00000000..f7389d19 --- /dev/null +++ b/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl b/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl new file mode 100755 index 00000000..14b0d882 --- /dev/null +++ b/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl @@ -0,0 +1,357 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="include/ECM/EcmViews/DetailView/Tabs/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
+ + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + +
    + +{{counter name="panelCount" start=-1 print=false assign="panelCount"}} +{{foreach name=section from=$sectionPanels key=label item=panel}} +{{counter name="panelCount" print=false}} + + {{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}} +
  • + + + + {sugar_translate label='{{$label}}' module='{{$module}}'} + +
  • + +{{/foreach}} + +
+ + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +{{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}} + +
0}}style="display:none"{{/if}} id='panel_{{$tab_label}}'> + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{* Only show header if it is not default or an int value *}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + {{/if}} + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
+ +

{sugar_translate label='{{$label|replace:"_TAB":""}}' module='{{$module}}'}

+ +
+ + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
+ +{{/if}} + +
+ + +{{/foreach}} + +{{include file="include/ECM/EcmViews/DetailView/Tabs/footer.tpl"}} + diff --git a/include/ECM/EcmViews/DetailView/Tabs/footer.tpl b/include/ECM/EcmViews/DetailView/Tabs/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/include/ECM/EcmViews/DetailView/Tabs/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/include/ECM/EcmViews/DetailView/Tabs/header.tpl b/include/ECM/EcmViews/DetailView/Tabs/header.tpl new file mode 100755 index 00000000..f2a26aae --- /dev/null +++ b/include/ECM/EcmViews/DetailView/Tabs/header.tpl @@ -0,0 +1,106 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
+
+ + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
+
+ {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
diff --git a/include/ECM/EcmViews/EditView/Tabs/EditView.tpl b/include/ECM/EcmViews/EditView/Tabs/EditView.tpl new file mode 100755 index 00000000..6abe980f --- /dev/null +++ b/include/ECM/EcmViews/EditView/Tabs/EditView.tpl @@ -0,0 +1,419 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='include/ECM/EcmViews/EditView/Tabs/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
+ + + +{literal} + + + +{/literal} + + + +
    + +{{counter name="panelCount" start=-1 print=false assign="panelCount"}} +{{foreach name=section from=$sectionPanels key=label item=panel}} +{{counter name="panelCount" print=false}} + + {{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}} +
  • + + + + {sugar_translate label='{{$label}}' module='{{$module}}'} + +
  • + +{{/foreach}} + +
+ + + +{{* 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}} + +{{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}} + + +{{* Print out the table data *}} + + +
+ +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
+ +

{sugar_translate label='{{$label|replace:"_TAB":""}}' module='{{$module}}'}

+ +
+ + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
+ + {{/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}} + +
+ + + +{{/if}} + + + +
+ + +{{/foreach}} + +{{include file='include/ECM/EcmViews/EditView/Tabs/footer.tpl'}} \ No newline at end of file diff --git a/include/ECM/EcmViews/EditView/Tabs/footer.tpl b/include/ECM/EcmViews/EditView/Tabs/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/include/ECM/EcmViews/EditView/Tabs/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
+{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
+{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/include/ECM/EcmViews/EditView/Tabs/header.tpl b/include/ECM/EcmViews/EditView/Tabs/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/include/ECM/EcmViews/EditView/Tabs/header.tpl @@ -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". + ********************************************************************************/ +*} +
+ + + + + +
+ +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
diff --git a/include/EditView/EditView.tpl b/include/EditView/EditView.tpl new file mode 100755 index 00000000..befe8189 --- /dev/null +++ b/include/EditView/EditView.tpl @@ -0,0 +1,182 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{include file=$headerTpl}} +{sugar_include include=$includes} + + +
+ {{if $useTabs}} + {* Generate the Tab headers *} + {{counter name="tabCount" start=-1 print=false assign="tabCount"}} + + {{/if}} +
+{{* 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 *}} +
+{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}} + + +{{* Only show header if it is not default or an int value *}} +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT' && !$useTabs && $showSectionPanelsTitles}} + + + +{{/if}} + +{{assign var='rowCount' value=0}} +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + {{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)}} + + {{/if}} + + +{{/foreach}} +
+

{sugar_translate label='{{$label}}' module='{{$module}}'}

+
+ {{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)) || + (isset($colData.field.displayParams.required) && $colData.field.displayParams.required && $fields[$colData.field.name].required !== false)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + + {{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)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + {{if !isset($colData.field.label) || !empty($colData.field.label)}} +
+ {{/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}} +
+ +{{/if}} + +
+{if $panelFieldCount == 0} + + +{/if} +{{/foreach}} +
+{{include file=$footerTpl}} +{{if $useTabs}} + + +{{/if}} diff --git a/include/EditView/EditViewClassic.tpl b/include/EditView/EditViewClassic.tpl new file mode 100755 index 00000000..32806ed7 --- /dev/null +++ b/include/EditView/EditViewClassic.tpl @@ -0,0 +1,221 @@ +{* +/********************************************************************************* + * 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} + +{/literal} +{{include file=$headerTpl}} +{sugar_include include=$includes} + + +{{if $panelCount == 0}} + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + {{if $SHOW_VCR_CONTROL}} + {$PAGINATION} + {{/if}} +{{/if}} +
+ + +{{* 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 *}} +
+{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}} + + +{{* Only show header if it is not default or an int value *}} +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + +{{/if}} + +{{assign var='rowCount' value=0}} +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + {{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)}} + + {{/if}} + + +{{/foreach}} +
+

{sugar_translate label='{{$label}}' module='{{$module}}'}

+
+ {{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)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + + {{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)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + {{if !isset($colData.field.label) || !empty($colData.field.label)}} +
+ {{/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}} +
+ +{{/if}} + +
+{if $panelFieldCount == 0} + + +{/if} + +

+{{/foreach}} +{{include file=$footerTpl}} diff --git a/include/EditView/QuickCreate.tpl b/include/EditView/QuickCreate.tpl new file mode 100755 index 00000000..11d8499d --- /dev/null +++ b/include/EditView/QuickCreate.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{include file="/include/EditView/EditView.tpl"}} diff --git a/include/EditView/footer.tpl b/include/EditView/footer.tpl new file mode 100755 index 00000000..0e85138a --- /dev/null +++ b/include/EditView/footer.tpl @@ -0,0 +1,61 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +

+{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
+{{/if}} +
+{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/include/EditView/header.tpl b/include/EditView/header.tpl new file mode 100755 index 00000000..4d0d4460 --- /dev/null +++ b/include/EditView/header.tpl @@ -0,0 +1,90 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
+
+ + + + + +
+ +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + + + +{else} + +{/if} + + + + + + + +{if !empty($smarty.request.return_module) || !empty($smarty.request.relate_to)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}} +{{if $panelCount == 0}} + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + {{if $SHOW_VCR_CONTROL}} + {$PAGINATION} + {{/if}} +{{/if}} +
\ No newline at end of file diff --git a/include/ListView/ListViewGeneric.tpl b/include/ListView/ListViewGeneric.tpl new file mode 100755 index 00000000..0114dd7d --- /dev/null +++ b/include/ListView/ListViewGeneric.tpl @@ -0,0 +1,177 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{if $overlib} + + +{/if} +{if $prerow} + {$multiSelectData} +{/if} + +{include file='include/ListView/ListViewPagination.tpl'} + + {if $prerow} + + {/if} + {if !empty($quickViewLinks)} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=colHeader item=params} + + {counter name="colCounter"} + {/foreach} + + + {counter start=$pageData.offsets.current print=false assign="offset" name="offset"} + {foreach name=rowIteration from=$data key=id item=rowData name=foo} + {* add mz 2015-03-25 *} + {* listView summary *} + {if $smarty.foreach.foo.last && $rowData.showSumRow==1}{assign var="isLastRow" value="true"}{/if} + {counter name="offset" print=false} + + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_rowColor' value=$rowColor[0]} + {else} + {assign var='_rowColor' value=$rowColor[1]} + {/if} + + {if $prerow} + + {/if} + {if !empty($quickViewLinks)} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=col item=params} + {strip} + + {/strip} + {counter name="colCounter"} + {/foreach} + + + {foreachelse} + + + + {/foreach} + {*{$summary}*} +{include file='include/ListView/ListViewPagination.tpl'} +
+
+ + {$selectLink} +
+
  +
+ {if $params.sortable|default:true} + {if $params.url_sort} + + {else} + {if $params.orderBy|default:$colHeader|lower == $pageData.ordering.orderBy} + + {else} + + {/if} + {/if} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir} +    + {if $params.orderBy|default:$colHeader|lower == $pageData.ordering.orderBy} + {if $pageData.ordering.sortOrder == 'ASC'} + {capture assign="imageName"}arrow_down.{$arrowExt}{/capture} + {$arrowAlt} + {else} + {capture assign="imageName"}arrow_up.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {capture assign="imageName"}arrow.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir} + {/if} +
+
 
+ {if $isLastRow!="true"} + {if !$is_admin && is_admin_for_user && $rowData.IS_ADMIN==1} + + {else} + + {/if} + {/if} + + {if $pageData.access.edit} + + + + {/if} + + + {if $rowData.CANCELED==1}{/if} + {if $col == 'NAME' || $params.bold || $isLastRow=="true"}{/if} + {if $params.link && !$params.customCode && $isLastRow!="true"} + <{$pageData.tag.$id[$params.ACLTag]|default:$pageData.tag.$id.MAIN} href="#" onMouseOver="javascript:lvg_nav('{if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}', '{$rowData[$params.id]|default:$rowData.ID}', 'd', {$offset}, this)" onFocus="javascript:lvg_nav('{if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}', '{$rowData[$params.id]|default:$rowData.ID}', 'd', {$offset}, this)"> + {/if} + {if $params.customCode} + {sugar_evalcolumn_old var=$params.customCode rowData=$rowData} + {else} + {sugar_field parentFieldArray=$rowData vardef=$params displayType=ListView field=$col} + {/if} + {if empty($rowData.$col) && empty($params.customCode)} {/if} + {if $params.link && !$params.customCode} + + {/if} + {if $col == 'NAME' || $params.bold || $isLastRow=="true"}{/if} + {if $rowData.CANCELED==1}{/if} + {$pageData.additionalDetails.$id}
+ {$APP.LBL_NO_DATA} +
+{if $contextMenus} + +{/if} diff --git a/include/ListView/ListViewNoMassUpdate.tpl b/include/ListView/ListViewNoMassUpdate.tpl new file mode 100755 index 00000000..307eef1d --- /dev/null +++ b/include/ListView/ListViewNoMassUpdate.tpl @@ -0,0 +1,135 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +{if $overlib} + + + +{/if} + + + {include file='include/ListView/ListViewPagination.tpl'} + + + {if !empty($quickViewLinks)} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=colHeader item=params} + + {counter name="colCounter"} + {/foreach} + + + {foreach name=rowIteration from=$data key=id item=rowData} + {* add mz 2015-03-25 *} + {* listView summary *} + {if $smarty.foreach.foo.last && $rowData.showSumRow==1}{assign var="isLastRow" value="true"}{/if} + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_rowColor' value=$rowColor[0]} + {else} + {assign var='_rowColor' value=$rowColor[1]} + {/if} + + {if !empty($quickViewLinks)} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=col item=params} + + {counter name="colCounter"} + {/foreach} + + {foreachelse} + + + + {/foreach} + {include file='include/ListView/ListViewPagination.tpl'} +
  +
+ {if $params.sortable|default:true} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir}   + {if $params.orderBy|default:$colHeader|lower == $pageData.ordering.orderBy} + {if $pageData.ordering.sortOrder == 'ASC'} + {capture assign="imageName"}arrow_down.{$arrowExt}{/capture} + {$arrowAlt} + {else} + {capture assign="imageName"}arrow_up.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {capture assign="imageName"}arrow.{$arrowExt}{/capture} + {$arrowAlt} + {/if} + {else} + {sugar_translate label=$params.label module=$pageData.bean.moduleDir} + {/if} +
+
+ {if $pageData.access.edit && $pageData.bean.moduleDir != "Employees"} + + {/if} + + {if $col == 'NAME' || $params.bold || $isLastRow=="true"}{/if} + {if $params.link && !$params.customCode && $isLastRow!="true"} + <{$pageData.tag.$id[$params.ACLTag]|default:$pageData.tag.$id.MAIN} href="#" onMouseOver="javascript:lvg_nav('{if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}', '{$rowData[$params.id]|default:$rowData.ID}', 'd', {$smarty.foreach.rowIteration.iteration}, this);" onFocus="javascript:lvg_nav('{if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}', '{$rowData[$params.id]|default:$rowData.ID}', 'd', {$smarty.foreach.rowIteration.iteration}, this);"> + {/if} + {if $params.customCode} + {sugar_evalcolumn_old var=$params.customCode rowData=$rowData} + {else} + {sugar_field parentFieldArray=$rowData vardef=$params displayType=ListView field=$col} + {/if} + {if empty($rowData.$col)} {/if} + {if $params.link && !$params.customCode} + + {/if} + {if $col == 'NAME' || $params.bold || $isLastRow=="true"}{/if} +
+ {$APP.LBL_NO_DATA} +
+ diff --git a/include/ListView/ListViewPagination.tpl b/include/ListView/ListViewPagination.tpl new file mode 100755 index 00000000..1146efd2 --- /dev/null +++ b/include/ListView/ListViewPagination.tpl @@ -0,0 +1,124 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + +*} +
+ + + + + +
+ {$actionsLink}  +  {$selectedObjectsSpan} + + {if $smarty.request.module=='Accounts' || $smarty.request.module=='EcmProducts' || $smarty.request.module=='EcmQuotes' || $smarty.request.module=='EcmSales' || $smarty.request.module=='EcmInvoiceOuts' || $smarty.request.module=='EcmPrepaymentInvoices' || $smarty.request.module=='EcmPurchaseOrders' || $smarty.request.module=='EcmAgreements' || $smarty.request.module=='EcmWorkers' || $smarty.request.module=='Documents'} + + + {/if} + {if $smarty.request.module=='EcmInvoiceOuts' || + $smarty.request.module=='EcmQuotes' || + $smarty.request.module=='EcmSales' || + $smarty.request.module=='EcmStockDocIns' || + $smarty.request.module=='EcmStockDocOuts' || + $smarty.request.module=='EcmStockDocInsideIns' || + $smarty.request.module=='EcmStockDocInsideOuts' || + $smarty.request.module=='EcmStockDocCorrects' || + $smarty.request.module=='EcmStockDocMoves'} + + + {/if} + {if $smarty.request.module=='EcmStockStates'} + + + {/if} + + {if $pageData.urls.startPage} + + {else} + + {/if} + {if $pageData.urls.prevPage} + + {else} + + {/if} + ({if $pageData.offsets.lastOffsetOnPage == 0}0{else}{$pageData.offsets.current+1}{/if} - {$pageData.offsets.lastOffsetOnPage} {$navStrings.of} {if $pageData.offsets.totalCounted}{$pageData.offsets.total}{else}{$pageData.offsets.total}{if $pageData.offsets.lastOffsetOnPage != $pageData.offsets.total}+{/if}{/if}) + {if $pageData.urls.nextPage} + + {else} + + {/if} + {if $pageData.urls.endPage && $pageData.offsets.total != $pageData.offsets.lastOffsetOnPage} + + {elseif !$pageData.offsets.totalCounted || $pageData.offsets.total == $pageData.offsets.lastOffsetOnPage} + + {/if} + {if $pageData.pages.count>1} + + {/if} +
+
+ + + + + + + + {counter assign=hiddenCounter start=0 print=false} + {foreach from=$columns key=colNum item=data} + + {counter} + {/foreach} + +
+ + + + + {if !$lock_homepage}{/if} +
+
    +
  •    
  • + {foreach from=$data.dashlets key=id item=dashlet} +
  • +
    + {$dashlet.script} + {$dashlet.displayHeader} + {$dashlet.display} + {$dashlet.displayFooter} +
    +
  • + {/foreach} +
  •    
  • +
+
+ + + {foreach from=$divPages key=divPageIndex item=divPageNum} + + {/foreach} + + + + + + + + +{literal} + +{/literal} + + diff --git a/include/MySugar/tpls/addDashletsDialog.tpl b/include/MySugar/tpls/addDashletsDialog.tpl new file mode 100755 index 00000000..55ad1ec3 --- /dev/null +++ b/include/MySugar/tpls/addDashletsDialog.tpl @@ -0,0 +1,153 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
+ + + + +
{sugar_translate label='LBL_DASHLET_SEARCH' module='Home'}: + + + {if $moduleName == 'Home'} + + {else} + + {/if} +
+
+
+ +{if $moduleName == 'Home'} + +{/if} + +{if $moduleName == 'Home'} +
+

{sugar_translate label='LBL_MODULES' module='Home'}

+
+ + {counter assign=rowCounter start=0 print=false} + {foreach from=$modules item=module} + {if $rowCounter % 2 == 0} + + {/if} + + {if $rowCounter % 2 == 1} + + {/if} + {counter} + {/foreach} +
{$module.icon} {$module.title}
+
+
+{/if} + + +{if $moduleName == 'Home'} + +{/if} + +{if $moduleName == 'Home'} + +{/if} + + \ No newline at end of file diff --git a/include/MySugar/tpls/chartDashletsSearchResults.tpl b/include/MySugar/tpls/chartDashletsSearchResults.tpl new file mode 100755 index 00000000..5565bbda --- /dev/null +++ b/include/MySugar/tpls/chartDashletsSearchResults.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +

{$lblSearchResults} - {$searchString}:

+
+{if count($charts)} +

{sugar_translate label='LBL_BASIC_CHARTS' module='Home'}

+ + {foreach from=$charts item=chart} + + + + {/foreach} +
{$chart.icon} {$chart.title}
+{/if} diff --git a/include/MySugar/tpls/dashletsSearchResults.tpl b/include/MySugar/tpls/dashletsSearchResults.tpl new file mode 100755 index 00000000..4a7504da --- /dev/null +++ b/include/MySugar/tpls/dashletsSearchResults.tpl @@ -0,0 +1,54 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +

{$lblSearchResults} - {$searchString}:

+
+{if count($dashlets)} +

{$searchCategoryString}

+ + {counter assign=rowCounter start=0 print=false} + {foreach from=$dashlets item=module} + {if $rowCounter % 2 == 0} + + {/if} + + {if $rowCounter % 2 == 1} + + {/if} + {counter} + {/foreach} +
{$module.icon} {$module.title}
+{/if} \ No newline at end of file diff --git a/include/MySugar/tpls/retrievePage.tpl b/include/MySugar/tpls/retrievePage.tpl new file mode 100755 index 00000000..0cf9e8a1 --- /dev/null +++ b/include/MySugar/tpls/retrievePage.tpl @@ -0,0 +1,91 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + +
+ + + {if $numCols > 1} + + {if $numCols > 2} + + + + {/if} + {if $numCols > 1} + + + {/if} + + {/if} + + {counter assign=hiddenCounter start=0 print=false} + {foreach from=$columns key=colNum item=data} + + {counter} + {/foreach} + +
+ + + + + + + +
+
    +
  •    
  • + {foreach from=$data.dashlets key=id item=dashlet} +
  • +
    + {$dashlet.script} + {$dashlet.displayHeader} + {$dashlet.display} + {$dashlet.displayFooter} +
    +
  • + {/foreach} +
  •    
  • +
+
+ +
diff --git a/include/MySugar/tpls/retrieveReportCharts.tpl b/include/MySugar/tpls/retrieveReportCharts.tpl new file mode 100755 index 00000000..6aadac9f --- /dev/null +++ b/include/MySugar/tpls/retrieveReportCharts.tpl @@ -0,0 +1,43 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + {foreach from=$reportCharts item=chart} + + + + {/foreach} +
{$chart.title}
\ No newline at end of file diff --git a/include/Popups/tpls/PopupGeneric.tpl b/include/Popups/tpls/PopupGeneric.tpl new file mode 100755 index 00000000..17ca296a --- /dev/null +++ b/include/Popups/tpls/PopupGeneric.tpl @@ -0,0 +1,258 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{{include file=$headerTpl}} +{$jsLang} +{$LIST_HEADER} +{if $should_process} + + + + + + + {if $prerow} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=colHeader item=params} + + {counter name="colCounter"} + {/foreach} + {if !empty($quickViewLinks)} + + {/if} + + + {foreach name=rowIteration from=$data key=id item=rowData} + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_rowColor' value=$rowColor[0]} + {else} + {assign var='_rowColor' value=$rowColor[1]} + {/if} + + {if $prerow} + + {/if} + {counter start=0 name="colCounter" print=false assign="colCounter"} + {foreach from=$displayColumns key=col item=params} + + {counter name="colCounter"} + {/foreach} + + {/foreach} + + + +
+ + + + + +
+   + {if $pageData.urls.startPage} + + + {else} + + + {/if} + {if $pageData.urls.prevPage} + + + {else} + + + {/if} + ({if $pageData.offsets.lastOffsetOnPage == 0}0{else}{$pageData.offsets.current+1}{/if} - {$pageData.offsets.lastOffsetOnPage} {$navStrings.of} {if $pageData.offsets.totalCounted}{$pageData.offsets.total}{else}{$pageData.offsets.total}{if $pageData.offsets.lastOffsetOnPage != $pageData.offsets.total}+{/if}{/if}) + {if $pageData.urls.nextPage} + + + {else} + + + {/if} + {if $pageData.urls.endPage && $pageData.offsets.total != $pageData.offsets.lastOffsetOnPage} + + + {elseif !$pageData.offsets.totalCounted || $pageData.offsets.total == $pageData.offsets.lastOffsetOnPage} + + + {/if} +
+
+ + + +  
+ + {$pageData.additionalDetails.$id} + + {if $params.link && !$params.customCode} + + <{$pageData.tag.$id[$params.ACLTag]|default:$pageData.tag.$id.MAIN} href='#' onclick="send_back('{if $params.dynamic_module}{$rowData[$params.dynamic_module]}{else}{$params.module|default:$pageData.bean.moduleDir}{/if}','{$rowData[$params.id]|default:$rowData.ID}');">{$rowData.$col} + + {elseif $params.customCode} + {sugar_evalcolumn_old var=$params.customCode rowData=$rowData} + {elseif $params.currency_format} + {sugar_currency_format + var=$rowData.$col + round=$params.currency_format.round + decimals=$params.currency_format.decimals + symbol=$params.currency_format.symbol + convert=$params.currency_format.convert + currency_symbol=$params.currency_format.currency_symbol + } + {elseif $params.type == 'bool'} + + {elseif $params.type == 'multienum' } + {counter name="oCount" assign="oCount" start=0} + {multienum_to_array string=$rowData.$col assign="vals"} + {foreach from=$vals item=item} + {counter name="oCount"} + {sugar_translate label=$params.options select=$item}{if $oCount != count($vals)},{/if} + {/foreach} + {else} + {$rowData.$col} + {/if} +
+ + + + + +
+   + {if $pageData.urls.startPage} + + + {else} + + + {/if} + {if $pageData.urls.prevPage} + + + {else} + + + {/if} + ({if $pageData.offsets.lastOffsetOnPage == 0}0{else}{$pageData.offsets.current+1}{/if} - {$pageData.offsets.lastOffsetOnPage} {$navStrings.of} {if $pageData.offsets.totalCounted}{$pageData.offsets.total}{else}{$pageData.offsets.total}{if $pageData.offsets.lastOffsetOnPage != $pageData.offsets.total}+{/if}{/if}) + {if $pageData.urls.nextPage} + + + {else} + + + {/if} + {if $pageData.urls.endPage && $pageData.offsets.total != $pageData.offsets.lastOffsetOnPage} + + + {elseif !$pageData.offsets.totalCounted || $pageData.offsets.total == $pageData.offsets.lastOffsetOnPage} + + + {/if} +
+
+ {if $prerow} + + {/if} +{else} + {$APP.LBL_SEARCH_POPULATE_ONLY} +{/if} +{{include file=$footerTpl}} \ No newline at end of file diff --git a/include/Popups/tpls/footer.tpl b/include/Popups/tpls/footer.tpl new file mode 100755 index 00000000..2c5c7ea8 --- /dev/null +++ b/include/Popups/tpls/footer.tpl @@ -0,0 +1,51 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if $prerow}} + + {{/if}} +{literal} + +{/literal} \ No newline at end of file diff --git a/include/Popups/tpls/header.tpl b/include/Popups/tpls/header.tpl new file mode 100755 index 00000000..6d35a758 --- /dev/null +++ b/include/Popups/tpls/header.tpl @@ -0,0 +1,117 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + +{{if isset($formData)}} +{$SEARCH_FORM_HEADER} + + + + +
+ +
+{{/if}} +{{if isset($ADDFORM)}} +

+{{if isset($popupMeta)}} +

+{{/if}} + +

+{{/if}} +{{if $prerow}} +
+ {$MODE} + + +{$massUpdateData} + + + {$multiSelectData} + + +{{/if}} + diff --git a/include/SearchForm/tpls/SearchFormGeneric.tpl b/include/SearchForm/tpls/SearchFormGeneric.tpl new file mode 100755 index 00000000..6b4d7625 --- /dev/null +++ b/include/SearchForm/tpls/SearchFormGeneric.tpl @@ -0,0 +1,82 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + +{{foreach name=colIteration from=$formData key=col item=colData}} + {counter assign=index} + {math equation="left % right" + left=$index + right=$templateMeta.maxColumns + assign=modVal + } + {if ($index % $templateMeta.maxColumns == 1 && $index != 1)} + + {/if} + + + + + +{{/foreach}} + {if $formData|@count >= $templateMeta.maxColumns} + + + + + +
+ {{if isset($colData.field.label)}} + {sugar_translate label='{{$colData.field.label}}' module='{{$module}}'} + {{elseif isset($fields[$colData.field.name])}} + {sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'} + {{/if}} + + {{if $fields[$colData.field.name]}} + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='searchView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type formName=$form_name}} + {{/if}} +
+ {else} + + {/if} +   + + {if $HAS_ADVANCED_SEARCH} +   {$APP.LNK_ADVANCED_SEARCH} + {/if} +
diff --git a/include/SearchForm/tpls/SearchFormGenericAdvanced.tpl b/include/SearchForm/tpls/SearchFormGenericAdvanced.tpl new file mode 100644 index 00000000..64c73ed6 --- /dev/null +++ b/include/SearchForm/tpls/SearchFormGenericAdvanced.tpl @@ -0,0 +1,100 @@ + + +{{foreach name=colIteration from=$formData key=col item=colData}} + + {counter assign=index} + {math equation="left % right" + left=$index + right=$templateMeta.maxColumns + assign=modVal + } + {if ($index % $templateMeta.maxColumns == 1 && $index != 1)} + + {/if} + + + +{{/foreach}} + + + + +{if $DISPLAY_SAVED_SEARCH} + + + + + + + + + + + + +{/if} +{if $displayType != 'popupView'} + + + + +{/if} +
+ {{if isset($colData.field.label)}} + {sugar_translate label='{{$colData.field.label}}' module='{{$module}}'} + {{elseif isset($fields[$colData.field.name])}} + {sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'} + {{/if}} + + {{if $fields[$colData.field.name]}} + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType=$displayType displayParams=$colData.field.displayParams typeOverride=$colData.field.type formName=$form_name}} + {{/if}} +
+   +
+ +  {$APP.LNK_SAVED_VIEWS} +
+

+

+ {sugar_translate label='LBL_SAVE_SEARCH_AS' module='SavedSearch'}: + + + + + + + {sugar_translate label='LBL_MODIFY_CURRENT_SEARCH' module='SavedSearch'}: + + + +
+
+
+ {$SAVED_SEARCH} +
+
+   + + {if $DOCUMENTS_MODULE} +   + {/if} + {$APP.LNK_BASIC_SEARCH} + +    {if $SAVED_SEARCHES_OPTIONS}|   {$APP.LBL_SAVED_SEARCH_SHORTCUT}  + {$SAVED_SEARCHES_OPTIONS} {/if} + + + + {if $DISPLAY_SEARCH_HELP} + + {/if} +
+ + \ No newline at end of file diff --git a/include/SearchForm/tpls/footer.tpl b/include/SearchForm/tpls/footer.tpl new file mode 100755 index 00000000..49c49a3d --- /dev/null +++ b/include/SearchForm/tpls/footer.tpl @@ -0,0 +1,63 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} diff --git a/include/SearchForm/tpls/header.tpl b/include/SearchForm/tpls/header.tpl new file mode 100755 index 00000000..a452a2f9 --- /dev/null +++ b/include/SearchForm/tpls/header.tpl @@ -0,0 +1,53 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
+ +{$TABS} +{{if $displayView == saved_views }} +{literal} + +{/literal} +{{/if}} +
+ + + + +{foreach name=tabIteration from=$TAB_ARRAY key=tabkey item=tabData} + +{/foreach} +
{$saved_views_txt}
diff --git a/include/Smarty/debug.tpl b/include/Smarty/debug.tpl new file mode 100755 index 00000000..7f1c9d42 --- /dev/null +++ b/include/Smarty/debug.tpl @@ -0,0 +1,64 @@ +{* Smarty *} + +{* debug.tpl, last updated version 2.0.1 *} + +{assign_debug_info} + +{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} + + + + {section name=templates loop=$_debug_tpls} + + {sectionelse} + + {/section} + + {section name=vars loop=$_debug_keys} + + {sectionelse} + + {/section} + + {section name=config_vars loop=$_debug_config_keys} + + {sectionelse} + + {/section} +
Smarty Debug Console
included templates & config files (load time in seconds):
{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:html}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}
no templates included
assigned template variables:
{ldelim}${$_debug_keys[vars]}{rdelim}{$_debug_vals[vars]|@debug_print_var}
no template variables assigned
assigned config file variables (outer template scope):
{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var}
no config vars assigned
+ +{else} + +{/if} diff --git a/include/SubPanel/tpls/singletabmenu.tpl b/include/SubPanel/tpls/singletabmenu.tpl new file mode 100755 index 00000000..83d48826 --- /dev/null +++ b/include/SubPanel/tpls/singletabmenu.tpl @@ -0,0 +1,141 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + +{if !empty($sugartabs)} +
    +{foreach from=$sugartabs item=tab} +
  • + {$tab.label} +
  • +{/foreach} +{if !empty($moreMenu)} +
  • +
    + more +
    +
  • +{/if} +
+{* Table closed in SubPanelTiles.php, line 295 *} + + + + + + + + + + + + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Address/DetailView.tpl b/include/SugarFields/Fields/Address/DetailView.tpl new file mode 100755 index 00000000..360be3c0 --- /dev/null +++ b/include/SugarFields/Fields/Address/DetailView.tpl @@ -0,0 +1,56 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". +********************************************************************************/ +*} +
+{/if} + +{if $showLinks == 'true'} + + + + +
+ + + +{foreach from=$subtabs item=tab} +{if !empty($notFirst) && ($notFirst != 0) && ($notFirst != 1)} + +{else} +{assign var='notFirst' value='2'} +{/if} + +{/foreach} +{if !empty($otherMoreSubMenu[$moreSubMenuName].tabs)} + +{/if} + + + +
| + {$tab.label} + |  >> 
+
+{/if} + +{if !empty($moreMenu)} + +{/if} + +{foreach from=$otherMoreSubMenu item=group} +{if !empty($group.tabs)} + +{/if} +{/foreach} + + diff --git a/include/SugarCharts/tpls/chart.tpl b/include/SugarCharts/tpls/chart.tpl new file mode 100755 index 00000000..36f7489a --- /dev/null +++ b/include/SugarCharts/tpls/chart.tpl @@ -0,0 +1,58 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
+ + + + + + +

{$app_strings.LBL_NO_FLASH_PLAYER}

+
+
+ + diff --git a/include/SugarEmailAddress/templates/forDetailView.tpl b/include/SugarEmailAddress/templates/forDetailView.tpl new file mode 100755 index 00000000..d2183d36 --- /dev/null +++ b/include/SugarEmailAddress/templates/forDetailView.tpl @@ -0,0 +1,68 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + {foreach from=$emailAddresses item=address} + + + + {foreachelse} + + + + {/foreach} +
+ {if $address.key === 'opt_out'} + + {elseif $address.key === 'primary'} + + {elseif $address.key === 'reply_to' && $item.key != 0} + + {/if} + {$address.address} + {if $address.key === 'primary'} +  ({$app_strings.LBL_EMAIL_PRIMARY}) + {elseif $address.key === 'reply_to'} +  ({$app_strings.LBL_EMAIL_REPLY_TO}) + {elseif $address.key === 'opt_out'} +  ({$app_strings.LBL_EMAIL_OPT_OUT}) + {elseif $address.key === 'invalid'} + ({$app_strings.LBL_EMAIL_INVALID}) + {/if} +
+ {$app_strings.LBL_NONE} +
diff --git a/include/SugarEmailAddress/templates/forDuplicatesView.tpl b/include/SugarEmailAddress/templates/forDuplicatesView.tpl new file mode 100755 index 00000000..7053d663 --- /dev/null +++ b/include/SugarEmailAddress/templates/forDuplicatesView.tpl @@ -0,0 +1,62 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +{counter assign="count" start=-1 print=false} +{foreach from=$emails item=email} + +{/foreach} +{counter assign="count" start=-1 print=false} +{foreach from=$verified item=email} + +{/foreach} +{if isset($primary)} + +{/if} +{foreach from=$optOut item=email} + +{/foreach} +{foreach from=$invalid item=email} + +{/foreach} +{foreach from=$replyTo item=email} + +{/foreach} +{foreach from=$delete item=email} + +{/foreach} + diff --git a/include/SugarEmailAddress/templates/forEditView.tpl b/include/SugarEmailAddress/templates/forEditView.tpl new file mode 100755 index 00000000..14d5c30c --- /dev/null +++ b/include/SugarEmailAddress/templates/forEditView.tpl @@ -0,0 +1,120 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{php} +global $emailInstances; +if (empty($emailInstances)) + $emailInstances = array(); +if (!isset($emailInstances[$this->_tpl_vars['module']])) + $emailInstances[$this->_tpl_vars['module']] = 0; +$this->_tpl_vars['index'] = $emailInstances[$this->_tpl_vars['module']]; +$emailInstances['module']++; +{/php} + + + + + + + +
+ + + + + + + {if $useReplyTo == true} + + {/if} + {if $useOptOut == true} + + {/if} + {if $useInvalid == true} + + {/if} + +
+ + + + + + +   + + {$app_strings.LBL_EMAIL_PRIMARY} + + {$app_strings.LBL_EMAIL_REPLY_TO} + + {$app_strings.LBL_EMAIL_OPT_OUT} + + {$app_strings.LBL_EMAIL_INVALID} +
+
+ + diff --git a/include/SugarEmailAddress/templates/forWideFormBodyView.tpl b/include/SugarEmailAddress/templates/forWideFormBodyView.tpl new file mode 100755 index 00000000..a884d792 --- /dev/null +++ b/include/SugarEmailAddress/templates/forWideFormBodyView.tpl @@ -0,0 +1,104 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
{$app_strings.LBL_EMAIL_ADDRESSES}:
+ + + + +
+ + + + + + + {if $useReplyTo == true} + + {/if} + {if $useOptOut == true} + + {/if} + {if $useInvalid == true} + + {/if} + +
+ + + + + +   + + {$app_strings.LBL_EMAIL_PRIMARY} + + {$app_strings.LBL_EMAIL_REPLY_TO} + + {$app_strings.LBL_EMAIL_OPT_OUT} + + {$app_strings.LBL_EMAIL_INVALID} +
+
+ +
+ + + + +
+{$fields.{{$displayParams.key}}_address_street.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}
+{$fields.{{$displayParams.key}}_address_postalcode.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}  {$fields.{{$displayParams.key}}_address_city.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}
+{$fields.{{$displayParams.key}}_address_state.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br} +{$fields.{{$displayParams.key}}_address_country.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}
+{$fields.{{$displayParams.key}}_address_ecmcommune_name.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br} +
+{{* +This is custom code that you may set to show on the second column of the address +table. An example would be the "Copy" button present from the Accounts detailview. +See modules/Accounts/views/view.detail.php to see the value being set +*}} + +{*$custom_code_{{$displayParams.key}}*} +
\ No newline at end of file diff --git a/include/SugarFields/Fields/Address/EditView.tpl b/include/SugarFields/Fields/Address/EditView.tpl new file mode 100755 index 00000000..d2a7d13a --- /dev/null +++ b/include/SugarFields/Fields/Address/EditView.tpl @@ -0,0 +1,174 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{assign var="key" value=$displayParams.key|upper}} +{{assign var="street" value=$displayParams.key|cat:'_address_street'}} +{{assign var="city" value=$displayParams.key|cat:'_address_city'}} +{{assign var="state" value=$displayParams.key|cat:'_address_state'}} +{{assign var="country" value=$displayParams.key|cat:'_address_country'}} +{{assign var="postalcode" value=$displayParams.key|cat:'_address_postalcode'}} +{{assign var="ecmcommune_id" value=$displayParams.key|cat:'_address_ecmcommune_id'}} +{{assign var="ecmcommune_name" value=$displayParams.key|cat:'_address_ecmcommune_name'}} +
+{sugar_translate label='LBL_{{$key}}_ADDRESS2' module='{{$module}}'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{{if $displayParams.copy}} + + + + +{{else}} + + + +{{/if}} +
+{sugar_translate label='LBL_STREET' module='{{$module}}'}: +{if $fields.{{$street}}.required || {{if $street|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + +{{if $displayParams.maxlength}} + +{{else}} + +{{/if}} +
+{sugar_translate label='LBL_CITY' module='{{$module}}'}: +{if $fields.{{$city}}.required || {{if $city|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+{sugar_translate label='LBL_STATE' module='{{$module}}'}: +{if $fields.{{$state}}.required || {{if $state|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + +
+ +
+
+ +{sugar_translate label='LBL_POSTAL_CODE' module='{{$module}}'}: +{if $fields.{{$postalcode}}.required || {{if $postalcode|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+ +{sugar_translate label='LBL_COUNTRY' module='{{$module}}'}: +{if $fields.{{$country}}.required || {{if $country|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+ +{sugar_translate label='LBL_ECMCOMMUNE' module='{{$module}}'}: +{if $fields.{{$ecmcommune_name}}.required || {{if $ecmcommune_name|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + + + + + + +
+{sugar_translate label='LBL_COPY_ADDRESS_FROM_LEFT' module=''}: + + +
 
+
+ \ No newline at end of file diff --git a/include/SugarFields/Fields/Address/en_us.DetailView.tpl b/include/SugarFields/Fields/Address/en_us.DetailView.tpl new file mode 100755 index 00000000..d4a56ecd --- /dev/null +++ b/include/SugarFields/Fields/Address/en_us.DetailView.tpl @@ -0,0 +1,58 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + +{{if !empty($displayParams.enableConnectors)}} + +{{/if}} + + +
+{$fields.{{$displayParams.key}}_address_street.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}
+{$fields.{{$displayParams.key}}_address_city.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br} {$fields.{{$displayParams.key}}_address_state.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}  {$fields.{{$displayParams.key}}_address_postalcode.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br}
+{$fields.{{$displayParams.key}}_address_country.value|escape:'htmlentitydecode'|strip_tags|url2html|nl2br} +
+{{sugarvar_connector view='DetailView'}} + +{{* +This is custom code that you may set to show on the second column of the address +table. An example would be the "Copy" button present from the Accounts detailview. +See modules/Accounts/views/view.detail.php to see the value being set +*}} +{$custom_code_{{$displayParams.key}}} +
\ No newline at end of file diff --git a/include/SugarFields/Fields/Address/en_us.EditView.tpl b/include/SugarFields/Fields/Address/en_us.EditView.tpl new file mode 100755 index 00000000..9876c31c --- /dev/null +++ b/include/SugarFields/Fields/Address/en_us.EditView.tpl @@ -0,0 +1,137 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{assign var="key" value=$displayParams.key|upper}} +{{assign var="street" value=$displayParams.key|cat:'_address_street'}} +{{assign var="city" value=$displayParams.key|cat:'_address_city'}} +{{assign var="state" value=$displayParams.key|cat:'_address_state'}} +{{assign var="country" value=$displayParams.key|cat:'_address_country'}} +{{assign var="postalcode" value=$displayParams.key|cat:'_address_postalcode'}} +
+{sugar_translate label='LBL_{{$key}}_ADDRESS' module='{{$module}}'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{{if $displayParams.copy}} + + + + +{{else}} + + + +{{/if}} +
+{sugar_translate label='LBL_STREET' module='{{$module}}'}: +{if $fields.{{$street}}.required || {{if $street|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + +{{if $displayParams.maxlength}} + +{{else}} + +{{/if}} +
+{sugar_translate label='LBL_CITY' module='{{$module}}'}: +{if $fields.{{$city}}.required || {{if $city|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+{sugar_translate label='LBL_STATE' module='{{$module}}'}: +{if $fields.{{$state}}.required || {{if $state|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+ +{sugar_translate label='LBL_POSTAL_CODE' module='{{$module}}'}: +{if $fields.{{$postalcode}}.required || {{if $postalcode|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+ +{sugar_translate label='LBL_COUNTRY' module='{{$module}}'}: +{if $fields.{{$country}}.required || {{if $country|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} +{$APP.LBL_REQUIRED_SYMBOL} +{/if} + + +
+{sugar_translate label='LBL_COPY_ADDRESS_FROM_LEFT' module=''}: + + +
 
+
+ \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/DetailView.tpl b/include/SugarFields/Fields/Base/DetailView.tpl new file mode 100755 index 00000000..ada366ca --- /dev/null +++ b/include/SugarFields/Fields/Base/DetailView.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{sugarvar key='value'}} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/DetailViewFunction.tpl b/include/SugarFields/Fields/Base/DetailViewFunction.tpl new file mode 100755 index 00000000..e1ed5c20 --- /dev/null +++ b/include/SugarFields/Fields/Base/DetailViewFunction.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{sugarvar key='value'}} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/EditView.tpl b/include/SugarFields/Fields/Base/EditView.tpl new file mode 100755 index 00000000..a3984614 --- /dev/null +++ b/include/SugarFields/Fields/Base/EditView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strlen({{sugarvar key='value' string=true}}) <= 0} + +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/EditViewFunction.tpl b/include/SugarFields/Fields/Base/EditViewFunction.tpl new file mode 100755 index 00000000..76537894 --- /dev/null +++ b/include/SugarFields/Fields/Base/EditViewFunction.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{sugarvar key='value'}} diff --git a/include/SugarFields/Fields/Base/InlineEdit.tpl b/include/SugarFields/Fields/Base/InlineEdit.tpl new file mode 100755 index 00000000..c9f5b067 --- /dev/null +++ b/include/SugarFields/Fields/Base/InlineEdit.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{assign var=fieldName value=$vardef.name}} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/InlineEditView.tpl b/include/SugarFields/Fields/Base/InlineEditView.tpl new file mode 100755 index 00000000..e17a7662 --- /dev/null +++ b/include/SugarFields/Fields/Base/InlineEditView.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{assign var=fieldName value=$vardef.name}} +{{$parentFieldArray->$fieldName}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Base/ListView.tpl b/include/SugarFields/Fields/Base/ListView.tpl new file mode 100755 index 00000000..aeca00d1 --- /dev/null +++ b/include/SugarFields/Fields/Base/ListView.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{sugar_fetch object=$parentFieldArray key=$col} diff --git a/include/SugarFields/Fields/Base/SearchForm.tpl b/include/SugarFields/Fields/Base/SearchForm.tpl new file mode 100755 index 00000000..72eda186 --- /dev/null +++ b/include/SugarFields/Fields/Base/SearchForm.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + diff --git a/include/SugarFields/Fields/Bool/DetailView.tpl b/include/SugarFields/Fields/Bool/DetailView.tpl new file mode 100755 index 00000000..1257c5c9 --- /dev/null +++ b/include/SugarFields/Fields/Bool/DetailView.tpl @@ -0,0 +1,45 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strval({{sugarvar key='value' stringFormat='false'}}) == "1" || strval({{sugarvar key='value' stringFormat='false'}}) == "yes" || strval({{sugarvar key='value' stringFormat='false'}}) == "on"} +{assign var="checked" value="CHECKED"} +{else} +{assign var="checked" value=""} +{/if} + +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Bool/EditView.tpl b/include/SugarFields/Fields/Bool/EditView.tpl new file mode 100755 index 00000000..a5e03f49 --- /dev/null +++ b/include/SugarFields/Fields/Bool/EditView.tpl @@ -0,0 +1,45 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strval({{sugarvar key='value' stringFormat='false'}}) == "1" || strval({{sugarvar key='value' stringFormat='false'}}) == "yes" || strval({{sugarvar key='value' stringFormat='false'}}) == "on"} +{assign var="checked" value="CHECKED"} +{else} +{assign var="checked" value=""} +{/if} + + diff --git a/include/SugarFields/Fields/Bool/InlineEdit.tpl b/include/SugarFields/Fields/Bool/InlineEdit.tpl new file mode 100755 index 00000000..10cfab15 --- /dev/null +++ b/include/SugarFields/Fields/Bool/InlineEdit.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{assign var=fieldName value=$vardef.name}} +{{if strval($parentFieldArray->$fieldName) == "1"}} +{{assign var="checked" value="CHECKED"}} +{{else}} +{{assign var="checked" value=""}} +{{/if}} + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Bool/InlineEditView.tpl b/include/SugarFields/Fields/Bool/InlineEditView.tpl new file mode 100755 index 00000000..7b55fc17 --- /dev/null +++ b/include/SugarFields/Fields/Bool/InlineEditView.tpl @@ -0,0 +1,43 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{assign var=fieldName value=$vardef.name}} +{{if strval($parentFieldArray->$fieldName) == "1"}} +{{assign var="checked" value="CHECKED"}} +{{else}} +{{assign var="checked" value=""}} +{{/if}} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Bool/ListView.tpl b/include/SugarFields/Fields/Bool/ListView.tpl new file mode 100755 index 00000000..149c6b1a --- /dev/null +++ b/include/SugarFields/Fields/Bool/ListView.tpl @@ -0,0 +1,42 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strval($parentFieldArray.$col) == "1" || strval($parentFieldArray.$col) == "yes" || strval($parentFieldArray.$col) == "on"} +{assign var="checked" value="CHECKED"} +{else} +{assign var="checked" value=""} +{/if} + diff --git a/include/SugarFields/Fields/Bool/SearchView.tpl b/include/SugarFields/Fields/Bool/SearchView.tpl new file mode 100755 index 00000000..a67d4192 --- /dev/null +++ b/include/SugarFields/Fields/Bool/SearchView.tpl @@ -0,0 +1,54 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{assign var="yes" value=""} +{assign var="no" value=""} +{assign var="default" value=""} + +{if strval({{sugarvar key='value' stringFormat='false'}}) == "1"} + {assign var="yes" value="SELECTED"} +{elseif strval({{sugarvar key='value' stringFormat='false'}}) == "0"} + {assign var="no" value="SELECTED"} +{else} + {assign var="default" value="SELECTED"} +{/if} + + + diff --git a/include/SugarFields/Fields/Collection/CollectionDetailView.tpl b/include/SugarFields/Fields/Collection/CollectionDetailView.tpl new file mode 100755 index 00000000..d4caaacf --- /dev/null +++ b/include/SugarFields/Fields/Collection/CollectionDetailView.tpl @@ -0,0 +1,60 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if !$displayParams.nolink} + +{/if} +{$values.primary.name} +{if !$displayParams.nolink} + + +{if !empty($values.secondaries)} + Hide/Show + + + +{/if} +{/if} \ No newline at end of file diff --git a/include/SugarFields/Fields/Collection/CollectionEditView.tpl b/include/SugarFields/Fields/Collection/CollectionEditView.tpl new file mode 100755 index 00000000..4bf6724b --- /dev/null +++ b/include/SugarFields/Fields/Collection/CollectionEditView.tpl @@ -0,0 +1,97 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + + +{if !empty($vardef.required)} + +{/if} + + {include file=$cacheRowFile} + + + + + + + + +
+ + + {if !empty($displayParams.allowNewValue) } + + {/if} + + +
+ + + + +
+ Add +
+{if !empty($values.secondaries)} + {foreach item=secondary_field from=$values.secondaries key=key} + + {/foreach} +{/if} + +{literal} + +{/literal} +{$quickSearchCode} \ No newline at end of file diff --git a/include/SugarFields/Fields/Collection/CollectionEditViewRow.tpl b/include/SugarFields/Fields/Collection/CollectionEditViewRow.tpl new file mode 100755 index 00000000..de903981 --- /dev/null +++ b/include/SugarFields/Fields/Collection/CollectionEditViewRow.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + {if empty($displayParams.hideNameLabel)} + {ldelim}sugar_translate label='LBL_COLLECTION_NAME'{rdelim}: + {/if} + + {foreach item=extra_field from=$displayParams.collection_field_list key=key_extra} + + {$extra_field.label} + + + {/foreach} + + + + + + + + {ldelim}sugar_translate label='LBL_COLLECTION_PRIMARY'{rdelim} + + + +   Hide/Show + + + + + + + + + {if $showSelectButton} + + {/if} + + {foreach item=extra_field from=$displayParams.collection_field_list key=key_extra} + + {$extra_field.field} + + {/foreach} \ No newline at end of file diff --git a/include/SugarFields/Fields/Collection/DetailView.tpl b/include/SugarFields/Fields/Collection/DetailView.tpl new file mode 100755 index 00000000..dacfab73 --- /dev/null +++ b/include/SugarFields/Fields/Collection/DetailView.tpl @@ -0,0 +1,60 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +
+ \ No newline at end of file diff --git a/include/SugarFields/Fields/Collection/EditView.tpl b/include/SugarFields/Fields/Collection/EditView.tpl new file mode 100755 index 00000000..444e1344 --- /dev/null +++ b/include/SugarFields/Fields/Collection/EditView.tpl @@ -0,0 +1,66 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + +
+ \ No newline at end of file diff --git a/include/SugarFields/Fields/Currency/DetailView.tpl b/include/SugarFields/Fields/Currency/DetailView.tpl new file mode 100755 index 00000000..b4c37275 --- /dev/null +++ b/include/SugarFields/Fields/Currency/DetailView.tpl @@ -0,0 +1,42 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{sugar_number_format var={{sugarvar key='value' stringFormat='false'}} } + +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Currency/EditView.tpl b/include/SugarFields/Fields/Currency/EditView.tpl new file mode 100755 index 00000000..96d768da --- /dev/null +++ b/include/SugarFields/Fields/Currency/EditView.tpl @@ -0,0 +1,43 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strlen({{sugarvar key='value' string=true}}) <= 0} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + diff --git a/include/SugarFields/Fields/Currency/ListView.tpl b/include/SugarFields/Fields/Currency/ListView.tpl new file mode 100755 index 00000000..8a2d32a4 --- /dev/null +++ b/include/SugarFields/Fields/Currency/ListView.tpl @@ -0,0 +1,42 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{sugar_fetch object=$parentFieldArray key=$col assign='amount'} +{if stripos(strtoupper($col), '_USD') || empty($currency_id)} +{sugar_currency_format var=$amount} +{else} +{sugar_currency_format var=$amount currency_id=$currency_id} +{/if} diff --git a/include/SugarFields/Fields/Datetime/EditView.tpl b/include/SugarFields/Fields/Datetime/EditView.tpl new file mode 100755 index 00000000..6218a63a --- /dev/null +++ b/include/SugarFields/Fields/Datetime/EditView.tpl @@ -0,0 +1,127 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} + +{{/if}} + +{assign var=date_value value={{sugarvar key='value' string=true}} } + +{{if !$displayParams.hiddeCalendar}} +{$APP.LBL_ENTER_DATE} +{{/if}} +{{if $displayParams.showFormats}} + ({$USER_DATEFORMAT}) +{{/if}} +{{if !$displayParams.hiddeCalendar}} + +{{/if}} diff --git a/include/SugarFields/Fields/Datetime/SearchView.tpl b/include/SugarFields/Fields/Datetime/SearchView.tpl new file mode 100755 index 00000000..b925cbfd --- /dev/null +++ b/include/SugarFields/Fields/Datetime/SearchView.tpl @@ -0,0 +1,138 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} + +{{/if}} + +{assign var=date_value_from value={{sugarvar key='value_from' string=true}} } +{assign var=date_value_to value={{sugarvar key='value_to' string=true}} } + +{{if !$displayParams.hiddeCalendar}} +{$APP.LBL_ENTER_DATE} +{{/if}} +{{if $displayParams.showFormats}} + ({$USER_DATEFORMAT}) +{{/if}} +
+ +{{if !$displayParams.hiddeCalendar}} +{$APP.LBL_ENTER_DATE} +{{/if}} +{{if $displayParams.showFormats}} + ({$USER_DATEFORMAT}) +{{/if}} +{{if !$displayParams.hiddeCalendar}} + +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Datetimecombo/EditView.tpl b/include/SugarFields/Fields/Datetimecombo/EditView.tpl new file mode 100755 index 00000000..95324c64 --- /dev/null +++ b/include/SugarFields/Fields/Datetimecombo/EditView.tpl @@ -0,0 +1,183 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} +{{/if}} + + + + + +{{if $displayParams.showFormats}} + + + + +{{/if}} +
+ +{$APP.LBL_ENTER_DATE}  +{{if empty($displayParams.splitDateTime)}} + +{{else}} +
+{{/if}} +
+{{if $displayParams.showNoneCheckbox}} + +{{/if}} +
+{$USER_DATEFORMAT} + +{$TIME_FORMAT} +
+ + + + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Datetimecombo/SearchView.tpl b/include/SugarFields/Fields/Datetimecombo/SearchView.tpl new file mode 100755 index 00000000..db7d2307 --- /dev/null +++ b/include/SugarFields/Fields/Datetimecombo/SearchView.tpl @@ -0,0 +1,110 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + +{{if $displayParams.showFormats}} + + + + +{{/if}} +
+ +{$APP.LBL_ENTER_DATE}  +{{if empty($displayParams.splitDateTime)}} + +{{else}} +
+{{/if}} +
+{{if $displayParams.showNoneCheckbox}} + +{{/if}} +
+{$USER_DATEFORMAT} + +{$TIME_FORMAT} +
+ + + + + diff --git a/include/SugarFields/Fields/Download/DetailView.tpl b/include/SugarFields/Fields/Download/DetailView.tpl new file mode 100755 index 00000000..3dfc146b --- /dev/null +++ b/include/SugarFields/Fields/Download/DetailView.tpl @@ -0,0 +1,41 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{$fields.filename.value} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} + diff --git a/include/SugarFields/Fields/Download/EditView.tpl b/include/SugarFields/Fields/Download/EditView.tpl new file mode 100644 index 00000000..801d60db --- /dev/null +++ b/include/SugarFields/Fields/Download/EditView.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{$fields.filename.value} diff --git a/include/SugarFields/Fields/Enum/DetailView.tpl b/include/SugarFields/Fields/Enum/DetailView.tpl new file mode 100755 index 00000000..b1a8bd0f --- /dev/null +++ b/include/SugarFields/Fields/Enum/DetailView.tpl @@ -0,0 +1,46 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{* This is here so currency fields, who don't really have dropdown +lists can work. *} +{if is_string({{sugarvar key='options' string=true}})} +{ {{sugarvar key='options' string=true}}} +{else if} +{ {{sugarvar key='options' string=true}}[{{sugarvar key='value' string=true}}]} +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Enum/DetailViewFunction.tpl b/include/SugarFields/Fields/Enum/DetailViewFunction.tpl new file mode 100755 index 00000000..e1ed5c20 --- /dev/null +++ b/include/SugarFields/Fields/Enum/DetailViewFunction.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{sugarvar key='value'}} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Enum/EditView.tpl b/include/SugarFields/Fields/Enum/EditView.tpl new file mode 100755 index 00000000..a278f917 --- /dev/null +++ b/include/SugarFields/Fields/Enum/EditView.tpl @@ -0,0 +1,62 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{*List of doms which's not editable*} +{assign var='ne' value=','|explode:"ecmlanguage,currency_id,pdf_type"} +{if empty($displayParams.idName) && !({{sugarvar key='name' string=true}}|in_array:$ne)} +{if !({{sugarvar key='noeditable' string=true}})} + +
+{/if} +{/if} + + diff --git a/include/SugarFields/Fields/Enum/EditViewFunction.tpl b/include/SugarFields/Fields/Enum/EditViewFunction.tpl new file mode 100755 index 00000000..202ef99d --- /dev/null +++ b/include/SugarFields/Fields/Enum/EditViewFunction.tpl @@ -0,0 +1,39 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Enum/SearchView.tpl b/include/SugarFields/Fields/Enum/SearchView.tpl new file mode 100755 index 00000000..5ce4bdf5 --- /dev/null +++ b/include/SugarFields/Fields/Enum/SearchView.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{capture name=display_size assign=size}}{{$displayParams.size|default:6}}{{/capture}} +{html_options name='{{$vardef.name}}[]' options={{sugarvar key='options' string=true}} size="{{$size}}" style="width: 150px" {{if $size > 1}}multiple="1"{{/if}} selected={{sugarvar key='value' string=true}}} diff --git a/include/SugarFields/Fields/File/DetailView.tpl b/include/SugarFields/Fields/File/DetailView.tpl new file mode 100755 index 00000000..27603689 --- /dev/null +++ b/include/SugarFields/Fields/File/DetailView.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + {assign var='existUploadedFiles' value=";"|explode:{{sugarvar key='value' string=true}} } + + {foreach from=$existUploadedFiles item=key} + {assign var='values' value=":"|explode:$key } + {if $values[0]!=''} + {$values[0]} + +
+ {/if} +{/foreach} + diff --git a/include/SugarFields/Fields/File/EditView.tpl b/include/SugarFields/Fields/File/EditView.tpl new file mode 100755 index 00000000..5a9a709d --- /dev/null +++ b/include/SugarFields/Fields/File/EditView.tpl @@ -0,0 +1,336 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +
+
+
+ +
+ {assign var='existUploadedFiles' value=";"|explode:{{sugarvar key='value' string=true}} } + + {foreach from=$existUploadedFiles item=key} + {assign var='values' value=":"|explode:$key } + {if $values[0]!=''} +

Plik {$values[0]} wgrany. + + + + +

+ {/if} +{/foreach} +
+ + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Float/DetailView.tpl b/include/SugarFields/Fields/Float/DetailView.tpl new file mode 100755 index 00000000..8b353170 --- /dev/null +++ b/include/SugarFields/Fields/Float/DetailView.tpl @@ -0,0 +1,42 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{sugar_number_format var={{sugarvar key='value' stringFormat='false'}} {{if !empty($vardef.precision)}}precision={{$vardef.precision}}{{/if}} field={{sugarvar key='name'}} + +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Float/EditView.tpl b/include/SugarFields/Fields/Float/EditView.tpl new file mode 100755 index 00000000..feeb0cee --- /dev/null +++ b/include/SugarFields/Fields/Float/EditView.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strlen({{sugarvar key='value' string=true}}) <= 0} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + diff --git a/include/SugarFields/Fields/Fullname/DetailView.tpl b/include/SugarFields/Fields/Fullname/DetailView.tpl new file mode 100755 index 00000000..924dc793 --- /dev/null +++ b/include/SugarFields/Fields/Fullname/DetailView.tpl @@ -0,0 +1,50 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{sugarvar key='value'}} +   + + + + + + + +
+{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Html/DetailView.tpl b/include/SugarFields/Fields/Html/DetailView.tpl new file mode 100755 index 00000000..1d625d1b --- /dev/null +++ b/include/SugarFields/Fields/Html/DetailView.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{$vardef.value}} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Iframe/DetailView.tpl b/include/SugarFields/Fields/Iframe/DetailView.tpl new file mode 100755 index 00000000..cff36cf5 --- /dev/null +++ b/include/SugarFields/Fields/Iframe/DetailView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getLink assign=link}{{sugarvar key='value'}}{/capture} +{{if $vardef.gen}} +{sugar_replace_vars subject='{{$vardef.default|replace:'{':'['|replace:'}':']'}}' assign='link'} +{{/if}} +{if !empty($link) && $link != "http://"} +{capture name=getStart assign=linkStart}{$link|substr:0:7}{/capture} + +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Iframe/EditView.tpl b/include/SugarFields/Fields/Iframe/EditView.tpl new file mode 100755 index 00000000..cc33f993 --- /dev/null +++ b/include/SugarFields/Fields/Iframe/EditView.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if !$vardef.gen}} + {if !empty({{sugarvar key='value' string=true}})} + + {else} + + {/if} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Int/DetailView.tpl b/include/SugarFields/Fields/Int/DetailView.tpl new file mode 100755 index 00000000..9218fb9f --- /dev/null +++ b/include/SugarFields/Fields/Int/DetailView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{if $vardef.disable_num_format}} +{assign var="value" value={{sugarvar key='value' string=true}} } +{$value} +{{else}} +{sugar_number_format precision=0 var={{sugarvar key='value' stringFormat='false'}}} +{{/if}} + +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} diff --git a/include/SugarFields/Fields/Int/EditView.tpl b/include/SugarFields/Fields/Int/EditView.tpl new file mode 100755 index 00000000..8e8231de --- /dev/null +++ b/include/SugarFields/Fields/Int/EditView.tpl @@ -0,0 +1,43 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strlen({{sugarvar key='value' string=true}}) <= 0} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + diff --git a/include/SugarFields/Fields/Int/SearchForm.tpl b/include/SugarFields/Fields/Int/SearchForm.tpl new file mode 100755 index 00000000..be44aed8 --- /dev/null +++ b/include/SugarFields/Fields/Int/SearchForm.tpl @@ -0,0 +1,45 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if strlen({{sugarvar key='value' string=true}}) <= 0} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Link/DetailView.tpl b/include/SugarFields/Fields/Link/DetailView.tpl new file mode 100755 index 00000000..eddfbacd --- /dev/null +++ b/include/SugarFields/Fields/Link/DetailView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getLink assign=link}{{sugarvar key='value'}}{/capture} +{{if $vardef.gen}} +{sugar_replace_vars subject='{{$vardef.default|replace:'{':'['|replace:'}':']'}}' assign='link'} +{{/if}} +{if !empty($link)} +{capture name=getStart assign=linkStart}{$link|substr:0:7}{/capture} +{{if !empty($displayParams.title)}}{sugar_translate label='{{$displayParams.title}}' module=$module}{{else}}{$link}{{/if}} +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Link/EditView.tpl b/include/SugarFields/Fields/Link/EditView.tpl new file mode 100755 index 00000000..1d47c912 --- /dev/null +++ b/include/SugarFields/Fields/Link/EditView.tpl @@ -0,0 +1,46 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if !$vardef.gen}} + {if !empty({{sugarvar key='value' string=true}})} + + {else} + + {/if} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Link/ListView.tpl b/include/SugarFields/Fields/Link/ListView.tpl new file mode 100755 index 00000000..3a993a14 --- /dev/null +++ b/include/SugarFields/Fields/Link/ListView.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getLink assign=link}{sugar_fetch object=$parentFieldArray key=$col}{/capture} +{$link} diff --git a/include/SugarFields/Fields/Multienum/DetailView.tpl b/include/SugarFields/Fields/Multienum/DetailView.tpl new file mode 100755 index 00000000..88cf7a51 --- /dev/null +++ b/include/SugarFields/Fields/Multienum/DetailView.tpl @@ -0,0 +1,46 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if !empty({{sugarvar key='value' string=true}}) && ({{sugarvar key='value' string=true}} != '^^')} +{multienum_to_array string={{sugarvar key='value' string=true}} assign="vals"} +{foreach from=$vals item=item} +
  • { {{sugarvar key='options' string=true}}.$item }
  • +{/foreach} +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} + diff --git a/include/SugarFields/Fields/Multienum/EditView.tpl b/include/SugarFields/Fields/Multienum/EditView.tpl new file mode 100755 index 00000000..642e82b8 --- /dev/null +++ b/include/SugarFields/Fields/Multienum/EditView.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{multienum_to_array string={{sugarvar key='value' string=true}} default={{sugarvar key='default' string=true}} assign="values"} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Multienum/EditViewFunction.tpl b/include/SugarFields/Fields/Multienum/EditViewFunction.tpl new file mode 100755 index 00000000..e0ba208d --- /dev/null +++ b/include/SugarFields/Fields/Multienum/EditViewFunction.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + \ No newline at end of file diff --git a/include/SugarFields/Fields/Multienum/ListView.tpl b/include/SugarFields/Fields/Multienum/ListView.tpl new file mode 100755 index 00000000..f9040b86 --- /dev/null +++ b/include/SugarFields/Fields/Multienum/ListView.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if !empty($parentFieldArray.$col)} +{multienum_to_array string=$parentFieldArray.$col assign="vals"} +{foreach from=$vals item=item name=multiEnum} +{$vardef.options_list.$item}{if !$smarty.foreach.multiEnum.last}, +{/if} +{/foreach} +{/if} +  diff --git a/include/SugarFields/Fields/Multienum/SearchView.tpl b/include/SugarFields/Fields/Multienum/SearchView.tpl new file mode 100755 index 00000000..b45628ad --- /dev/null +++ b/include/SugarFields/Fields/Multienum/SearchView.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{html_options name='{{$vardef.name}}[]' options={{sugarvar key='options' string=true}} size="{{$displayParams.size|default:6}}" style="width: 150px" multiple=1 selected={{sugarvar key='value' string=true}}} \ No newline at end of file diff --git a/include/SugarFields/Fields/New_phone/DetailView.tpl b/include/SugarFields/Fields/New_phone/DetailView.tpl new file mode 100755 index 00000000..0eb29090 --- /dev/null +++ b/include/SugarFields/Fields/New_phone/DetailView.tpl @@ -0,0 +1,20 @@ +{php} +global $current_language; $app_list_strings = return_app_list_strings_language($current_language); +$this->assign('APP_LIST', $app_list_strings['phone_type_dom']); +{/php} + +{assign var=phones value="^|^"|explode:{{sugarvar key='value' string=true}}} + +{foreach name=outer item=phone from=$phones} + {assign var=item value="^,^"|explode:$phone} + + {if $item.2 == '1'} + {$item.0} + {else} + {$item.0} + {/if} + {if $item.1 == '1'} ({$APP.LBL_PHONE_MAIN}){/if} + {if $item.2 == '1'} ({$APP.LBL_PHONE_DONT_CALL}){/if} +  ({assign var=it value=$item.3}{$APP_LIST.$it}) +
    +{/foreach} diff --git a/include/SugarFields/Fields/New_phone/EditView.tpl b/include/SugarFields/Fields/New_phone/EditView.tpl new file mode 100755 index 00000000..c0537358 --- /dev/null +++ b/include/SugarFields/Fields/New_phone/EditView.tpl @@ -0,0 +1,118 @@ +{php} +global $current_language; $app_list_strings = return_app_list_strings_language($current_language); +$this->assign('APP_LIST', $app_list_strings['phone_type_dom']); +$select_option_type = ''; +foreach ($app_list_strings['phone_type_dom'] as $key=>$val) +{ + $select_option_type .= ''; +} +{/php} + +{assign var=phones value="^|^"|explode:{{sugarvar key='value' string=true}}} +{assign var=phoneCounter value=0} +{assign var=cur_count value=$phones|@count } + + + + + + + + +
    + + + + + + + + + {foreach name=outer item=phone from=$phones} + {assign var=item value="^,^"|explode:$phone} + + + + + + + + + + {assign var=phoneCounter value=$phoneCounter+1} + {/foreach} +
    + + + + +   + +   + + {$APP.LBL_PHONE_MAIN} + + {$APP.LBL_PHONE_DONT_CALL} +
    + + + + +   + + + + +
    +
    +
    \ No newline at end of file diff --git a/include/SugarFields/Fields/New_phone/ListView.tpl b/include/SugarFields/Fields/New_phone/ListView.tpl new file mode 100755 index 00000000..cf1342dd --- /dev/null +++ b/include/SugarFields/Fields/New_phone/ListView.tpl @@ -0,0 +1,2 @@ + +{sugar_fetch object=$parentFieldArray key=$col} diff --git a/include/SugarFields/Fields/New_phone/SearchView.tpl b/include/SugarFields/Fields/New_phone/SearchView.tpl new file mode 100755 index 00000000..707ae0ab --- /dev/null +++ b/include/SugarFields/Fields/New_phone/SearchView.tpl @@ -0,0 +1,10 @@ +{if strlen({{sugarvar key='value' string=true}}) <= 0} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + + diff --git a/include/SugarFields/Fields/Parent/DetailView.tpl b/include/SugarFields/Fields/Parent/DetailView.tpl new file mode 100755 index 00000000..648cbea0 --- /dev/null +++ b/include/SugarFields/Fields/Parent/DetailView.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if !$nolink}}{{/if}}{{sugarvar key='value'}}{{if !$nolink}}{{/if}} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Parent/EditView.tpl b/include/SugarFields/Fields/Parent/EditView.tpl new file mode 100755 index 00000000..8bda5bc9 --- /dev/null +++ b/include/SugarFields/Fields/Parent/EditView.tpl @@ -0,0 +1,93 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +{{if $displayParams.split}} +
    +{{/if}} +{if empty({{sugarvar key='options' string=true}}[$fields.parent_type.value])} + {assign var="keepParent" value = 0} +{else} + {assign var="keepParent" value = 1} +{/if} + + +{{if empty($displayParams.selectOnly)}} + +{{/if}} + + +{literal} +{{$displayParams.disabled_parent_types}} +{/literal} diff --git a/include/SugarFields/Fields/Parent/SearchView.tpl b/include/SugarFields/Fields/Parent/SearchView.tpl new file mode 100755 index 00000000..9c963399 --- /dev/null +++ b/include/SugarFields/Fields/Parent/SearchView.tpl @@ -0,0 +1,75 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{if $displayParams.split}} +
    +{{/if}} +{if empty({{sugarvar key='options' string=true}}[$fields.parent_type.value])} + {assign var="keepParent" value = 0} +{else} + {assign var="keepParent value = 1} +{/if} + + + +{{if empty($displayParams.selectOnly)}} + +{{/if}} + + +{literal} +{{$displayParams.disabled_parent_types}} +{/literal} \ No newline at end of file diff --git a/include/SugarFields/Fields/Password/EditView.tpl b/include/SugarFields/Fields/Password/EditView.tpl new file mode 100755 index 00000000..c77a2226 --- /dev/null +++ b/include/SugarFields/Fields/Password/EditView.tpl @@ -0,0 +1,39 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + diff --git a/include/SugarFields/Fields/Phone/DetailView.tpl b/include/SugarFields/Fields/Phone/DetailView.tpl new file mode 100755 index 00000000..c6a05479 --- /dev/null +++ b/include/SugarFields/Fields/Phone/DetailView.tpl @@ -0,0 +1,43 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if !empty({{sugarvar key='value' string=true}})} +{assign var="phone_value" value={{sugarvar key='value' string=true}} } +{sugar_phone value=$phone_value } +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Phone/ListView.tpl b/include/SugarFields/Fields/Phone/ListView.tpl new file mode 100755 index 00000000..1c9ef458 --- /dev/null +++ b/include/SugarFields/Fields/Phone/ListView.tpl @@ -0,0 +1,38 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getPhone assign=phone}{sugar_fetch object=$parentFieldArray key=$col}{/capture} +{sugar_phone value=$phone } \ No newline at end of file diff --git a/include/SugarFields/Fields/Radioenum/DetailView.tpl b/include/SugarFields/Fields/Radioenum/DetailView.tpl new file mode 100755 index 00000000..86a05c7f --- /dev/null +++ b/include/SugarFields/Fields/Radioenum/DetailView.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{ {{sugarvar key='options' string=true}}[{{sugarvar key='value' string=true}}]} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Radioenum/EditView.tpl b/include/SugarFields/Fields/Radioenum/EditView.tpl new file mode 100755 index 00000000..886ff3aa --- /dev/null +++ b/include/SugarFields/Fields/Radioenum/EditView.tpl @@ -0,0 +1,51 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if empty({{sugarvar key='value' string=true}})} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} +{capture name=idname assign=idname}{{sugarvar key='name'}}{/capture} +{{if !empty($displayParams.idName)}} + {assign var=idname value=$displayParams.idName} +{{/if}} + +{if isset({{sugarvar key='value' string=true}}) && {{sugarvar key='value' string=true}} != ''} + {html_radios id="$idname" name="$idname" title="{{$vardef.help}}" options={{sugarvar key='options' string=true}} selected={{sugarvar key='value' string=true}} separator="{{$vardef.separator}}"} +{else} + {html_radios id="$idname" name="$idname" title="{{$vardef.help}}" options={{sugarvar key='options' string=true}} selected={{sugarvar key='default' string=true}} separator="{{$vardef.separator}}"} +{/if} \ No newline at end of file diff --git a/include/SugarFields/Fields/Relate/DetailView.tpl b/include/SugarFields/Fields/Relate/DetailView.tpl new file mode 100755 index 00000000..1207339f --- /dev/null +++ b/include/SugarFields/Fields/Relate/DetailView.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{if !$nolink}} +{if !empty({{sugarvar memberName='vardef.id_name' key='value' string='true'}})}{/if} +{{/if}} +{{sugarvar key='value'}} +{{if !$nolink}} +{if !empty({{sugarvar memberName='vardef.id_name' key='value' string='true'}})}{/if} +{{/if}} +{{if !empty($displayParams.enableConnectors)}} +{if !empty({{sugarvar memberName='vardef.id_name' key='value' string='true'}})} +{{sugarvar_connector view='DetailView'}} +{/if} +{{/if}} diff --git a/include/SugarFields/Fields/Relate/EditView.tpl b/include/SugarFields/Fields/Relate/EditView.tpl new file mode 100755 index 00000000..7bd12a1c --- /dev/null +++ b/include/SugarFields/Fields/Relate/EditView.tpl @@ -0,0 +1,73 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} +{{/if}} + + +{{if empty($displayParams.hideButtons) }} + +{{if empty($displayParams.selectOnly) }} +{{/if}} + +{{/if}} +{{if !empty($displayParams.allowNewValue) }} + +{{/if}} + \ No newline at end of file diff --git a/include/SugarFields/Fields/Relate/SearchView.tpl b/include/SugarFields/Fields/Relate/SearchView.tpl new file mode 100755 index 00000000..6301d837 --- /dev/null +++ b/include/SugarFields/Fields/Relate/SearchView.tpl @@ -0,0 +1,49 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +{{if empty($displayParams.hideButtons) }} + +{{if empty($displayParams.clearOnly) }} +{{/if}} +{{if empty($displayParams.selectOnly) }} +{{/if}} + +{{/if}} +{{if !empty($displayParams.allowNewValue) }} + +{{/if}} diff --git a/include/SugarFields/Fields/Text/ClassicEditView.tpl b/include/SugarFields/Fields/Text/ClassicEditView.tpl new file mode 100755 index 00000000..6ea6b4d0 --- /dev/null +++ b/include/SugarFields/Fields/Text/ClassicEditView.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{if !empty($displayParams.maxlength)} + +{else} + +{/if} + + diff --git a/include/SugarFields/Fields/Text/DetailView.tpl b/include/SugarFields/Fields/Text/DetailView.tpl new file mode 100755 index 00000000..79bacf4a --- /dev/null +++ b/include/SugarFields/Fields/Text/DetailView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{{if empty($displayParams.textonly)}} +{{sugarvar key='value' htmlentitydecode='true'}} +{{else}} +{{sugarvar key='value'}} +{{/if}} + + +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/Text/EditView.tpl b/include/SugarFields/Fields/Text/EditView.tpl new file mode 100755 index 00000000..02eb062f --- /dev/null +++ b/include/SugarFields/Fields/Text/EditView.tpl @@ -0,0 +1,56 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if empty({{sugarvar key='value' string=true}})} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} + + +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} +{{/if}} + + + + + + diff --git a/include/SugarFields/Fields/URL/DetailView.tpl b/include/SugarFields/Fields/URL/DetailView.tpl new file mode 100755 index 00000000..9cae5a61 --- /dev/null +++ b/include/SugarFields/Fields/URL/DetailView.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getLink assign=link}{{sugarvar key='value'}}{/capture} +{{if $vardef.gen}} +{sugar_replace_vars subject='{{$vardef.default|replace:'{':'['|replace:'}':']'}}' assign='link'} +{{/if}} +{if !empty($link)} +{capture name=getStart assign=linkStart}{$link|substr:0:7}{/capture} +{{if !empty($displayParams.title)}}{sugar_translate label='{{$displayParams.title}}' module=$module}{{else}}{$link}{{/if}} +{/if} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} diff --git a/include/SugarFields/Fields/URL/EditView.tpl b/include/SugarFields/Fields/URL/EditView.tpl new file mode 100755 index 00000000..30409c0e --- /dev/null +++ b/include/SugarFields/Fields/URL/EditView.tpl @@ -0,0 +1,55 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{if empty({{sugarvar key='value' string=true}})} +{assign var="value" value={{sugarvar key='default_value' string=true}} } +{else} +{assign var="value" value={{sugarvar key='value' string=true}} } +{/if} +{{capture name=idname assign=idname}}{{sugarvar key='name'}}{{/capture}} +{{if !empty($displayParams.idName)}} + {{assign var=idname value=$displayParams.idName}} +{{/if}} +{{if !$vardef.gen}} + {if !empty({{sugarvar key='value' string=true}})} + + {else} + + {/if} +{{/if}} \ No newline at end of file diff --git a/include/SugarFields/Fields/URL/ListView.tpl b/include/SugarFields/Fields/URL/ListView.tpl new file mode 100755 index 00000000..29f3b338 --- /dev/null +++ b/include/SugarFields/Fields/URL/ListView.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{capture name=getLink assign=link}{{sugarvar key='value'}}{/capture} +{{if $vardef.gen}} +{sugar_replace_vars subject='{{$vardef.default|replace:'{':'['|replace:'}':']'}}' assign='link'} +{{/if}} +{if !empty($link)} +{capture name=getStart assign=linkStart}{$link|substr:0:7}{/capture} +{{if !empty($displayParams.title)}}{sugar_translate label='{{$displayParams.title}}' module=$module}{{else}}{$link}{{/if}} +{/if} diff --git a/include/SugarFields/Fields/Username/DetailView.tpl b/include/SugarFields/Fields/Username/DetailView.tpl new file mode 100755 index 00000000..bd0f6f32 --- /dev/null +++ b/include/SugarFields/Fields/Username/DetailView.tpl @@ -0,0 +1,40 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{$fields[{{sugarvar key='salutation' stringFormat=true}}].value} {$fields[{{sugarvar key='first_name' stringFormat=true}}].value} {$fields[{{sugarvar key='last_name' stringFormat=true}}].value} +{{if !empty($displayParams.enableConnectors)}} +{{sugarvar_connector view='DetailView'}} +{{/if}} \ No newline at end of file diff --git a/include/SugarTabs/tpls/singletabmenu.tpl b/include/SugarTabs/tpls/singletabmenu.tpl new file mode 100755 index 00000000..9643da4d --- /dev/null +++ b/include/SugarTabs/tpls/singletabmenu.tpl @@ -0,0 +1,219 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + {if !empty($sugartabs)} + + {foreach from=$sugartabs item=tab} + + {/foreach} + + + + {/if} + + + +
    + + + + {capture assign="tabImage"}{$tab.type}Tab_left.gif{/capture} + + + + + + +
    {$tab.label}{$tab.label}{$tab.label}
    +
    + {if !empty($moreMenu)} + + {/if} +  
    + + + + {foreach from=$subtabs item=tab} + {if !empty($notFirst) && ($notFirst != 0) && ($notFirst != 1)} + + {else} + {assign var='notFirst' value='2'} + {/if} + + {/foreach} + {if !empty($otherMoreSubMenu[$moreSubMenuName].tabs)} + + {/if} + + + +
    | + {$tab.label} + |  >> 
    +
    + +{if !empty($moreMenu)} + +{/if} + +{foreach from=$otherMoreSubMenu item=group} +{if !empty($group.tabs)} + +{/if} +{/foreach} + + diff --git a/include/VarDefHandler/SugarTabs/tpls/singletabmenu.tpl b/include/VarDefHandler/SugarTabs/tpls/singletabmenu.tpl new file mode 100755 index 00000000..5e6c283b --- /dev/null +++ b/include/VarDefHandler/SugarTabs/tpls/singletabmenu.tpl @@ -0,0 +1,219 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + {if !empty($sugartabs)} + + {foreach from=$sugartabs item=tab} + + {/foreach} + + + + {/if} + + + +
    + + + + {capture assign="tabImage"}{$tab.type}Tab_left.gif{/capture} + + + + + + +
    {$tab.label}{$tab.label}{$tab.label}
    +
    + {if !empty($moreMenu)} + + {/if} +  
    + + + + {foreach from=$subtabs item=tab} + {if !empty($notFirst) && ($notFirst != 0) && ($notFirst != 1)} + + {else} + {assign var='notFirst' value='2'} + {/if} + + {/foreach} + {if !empty($otherMoreSubMenu[$moreSubMenuName].tabs)} + + {/if} + + + +
    | + {$tab.label} + |  >> 
    +
    + +{if !empty($moreMenu)} + +{/if} + +{foreach from=$otherMoreSubMenu item=group} +{if !empty($group.tabs)} + +{/if} +{/foreach} + + diff --git a/include/asterisk/Asterisk_popup.tpl b/include/asterisk/Asterisk_popup.tpl new file mode 100755 index 00000000..9403a850 --- /dev/null +++ b/include/asterisk/Asterisk_popup.tpl @@ -0,0 +1,815 @@ + +{* + +/** + * The contents of this file are subject to the SugarCRM Professional End User + * License Agreement ("License") which can be viewed at + * http://www.sugarcrm.com/crm/products/sugar-professional-eula.html + * By installing or using this file, You have unconditionally agreed to the + * terms and conditions of the License, and You may not use this file except in + * compliance with the License. Under the terms of the license, You shall not, + * among other things: 1) sublicense, resell, rent, lease, redistribute, assign + * or otherwise transfer Your rights to the Software, and 2) use the Software + * for timesharing or service bureau purposes such as hosting the Software for + * commercial gain and/or for the benefit of a third party. Use of the Software + * may be subject to applicable fees and any use of the Software without first + * paying applicable fees is strictly prohibited. You do not have the right to + * remove SugarCRM copyrights from the source code or user interface. + * + * All copies of the Covered Code must include on each user interface screen: + * (i) the "Powered by SugarCRM" logo and + * (ii) the SugarCRM copyright notice + * in the same form as they appear in the distribution. See full license for + * requirements. + * + * Your Warranty, Limitations of liability and Indemnity are expressly stated + * in the License. Please refer to the License for the specific language + * governing these rights and limitations under the License. Portions created + * by SugarCRM are Copyright (C) 2004-2006 SugarCRM, Inc.; All Rights Reserved. + */ + +// $Id$ + +*} + + + + + + + + + + + + + + + +

    {call_name}

    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +

    Information

    Phone Number:{call_number}
    Account:{account_name}
    Website:{url}
    Email:{email}
    Address:{addrstreet}
    + {addrcity} {addrstate} {addrzip} {addrcountry} +
    Billing Address:{billingaddrstreet}
    + {billingaddrcity} {billingaddrstate} {billingaddrzip} {billingaddrcountry} +
    +
    +
    + + + + + +
    + + + + + + + + +
    Start Recording: +
    + +
    + + + + + + + + +
    Was this call scheduled?
       
    + +
    + + + + + + + + +
     
    + + +
    +
    + + + + + +
    + + + + +
    + + + + + + +
    + + + + + + + + + + + + + + + + diff --git a/include/connectors/formatters/ext/rest/tpls/default.tpl b/include/connectors/formatters/ext/rest/tpls/default.tpl new file mode 100755 index 00000000..79a20cbc --- /dev/null +++ b/include/connectors/formatters/ext/rest/tpls/default.tpl @@ -0,0 +1,36 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} \ No newline at end of file diff --git a/include/connectors/formatters/ext/soap/tpls/default.tpl b/include/connectors/formatters/ext/soap/tpls/default.tpl new file mode 100755 index 00000000..5a1e92b3 --- /dev/null +++ b/include/connectors/formatters/ext/soap/tpls/default.tpl @@ -0,0 +1,83 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + \ No newline at end of file diff --git a/modules/ACLRoles/DetailView.tpl b/modules/ACLRoles/DetailView.tpl new file mode 100755 index 00000000..29866685 --- /dev/null +++ b/modules/ACLRoles/DetailView.tpl @@ -0,0 +1,69 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
    + + + + + + + + + + + + +
    +

    +

    + + + + + +
    {$MOD.LBL_NAME}:{$ROLE.name}
    {$MOD.LBL_DESCRIPTION}:{$ROLE.description | nl2br}
    +

    +

    + +{include file="modules/ACLRoles/EditViewBody.tpl" } \ No newline at end of file diff --git a/modules/ACLRoles/DetailViewBody.tpl b/modules/ACLRoles/DetailViewBody.tpl new file mode 100755 index 00000000..8967b4c7 --- /dev/null +++ b/modules/ACLRoles/DetailViewBody.tpl @@ -0,0 +1,91 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + +{foreach from=$ACTION_NAMES item="ACTION_NAME" } + +{foreachelse} + + + +{/foreach} + +{foreach from=$CATEGORIES item="TYPES" key="CATEGORY_NAME"} + + + {if $APP_LIST.moduleList[$CATEGORY_NAME]!='Users'} + + + + {if $APP_LIST.moduleList[$CATEGORY_NAME]=='Users'} + + {else} + + {/if} + {foreach from=$ACTION_NAMES item="ACTION_LABEL" key="ACTION_NAME"} + {assign var='ACTION_FIND' value='false'} + {foreach from=$TYPES item="ACTIONS" key="TYPE_NAME"} + {foreach from=$ACTIONS item="ACTION" key="ACTION_NAME_ACTIVE"} + {if $ACTION_NAME==$ACTION_NAME_ACTIVE} + {assign var='ACTION_FIND' value='true'} + + {/if} + {/foreach} + {/foreach} + {if $ACTION_FIND=='false'} + + {/if} + {/foreach} + + + + {/if} + + +{foreachelse} + +{/foreach} +
    {$ACTION_NAME} 
    {$MOD.LBL_USER_NAME_FOR_ROLE}{$APP_LIST.moduleList[$CATEGORY_NAME]}
    {$ACTION.accessName}
    +
    N/A
    +
    No Actions
    \ No newline at end of file diff --git a/modules/ACLRoles/DetailViewUser.tpl b/modules/ACLRoles/DetailViewUser.tpl new file mode 100755 index 00000000..1ee08de6 --- /dev/null +++ b/modules/ACLRoles/DetailViewUser.tpl @@ -0,0 +1,45 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + +{include file="modules/ACLRoles/DetailViewBody.tpl" } \ No newline at end of file diff --git a/modules/ACLRoles/EditAllBody.tpl b/modules/ACLRoles/EditAllBody.tpl new file mode 100755 index 00000000..c0bafe18 --- /dev/null +++ b/modules/ACLRoles/EditAllBody.tpl @@ -0,0 +1,126 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +

    + + + + + + +   + +

    +

    +

    + + + + +{foreach from=$ACTION_NAMES item="ACTION_NAME" } + +{foreachelse} + + + +{/foreach} + +{literal} + + {/literal} +{foreach from=$CATEGORIES item="TYPES" key="CATEGORY_NAME"} + + + {if $APP_LIST.moduleList[$CATEGORY_NAME]!='Users'} + + + + {foreach from=$ACTION_NAMES item="ACTION_LABEL" key="ACTION_NAME"} + {assign var='ACTION_FIND' value='false'} + {foreach from=$TYPES item="ACTIONS"} + {foreach from=$ACTIONS item="ACTION" key="ACTION_NAME_ACTIVE"} + {if $ACTION_NAME==$ACTION_NAME_ACTIVE} + + {assign var='ACTION_FIND' value='true'} + {/if} + {/foreach} + {/foreach} + {if $ACTION_FIND=='false'} + + {/if} + {/foreach} + + + + {/if} + + +{foreachelse} + +{/foreach} +
    {$ACTION_NAME}
     
    + {if $APP_LIST.moduleList[$CATEGORY_NAME]=='Users'} + {$MOD.LBL_USER_NAME_FOR_ROLE} + {elseif !empty($APP_LIST.moduleList[$CATEGORY_NAME])} + {$APP_LIST.moduleList[$CATEGORY_NAME]} + {else} + {$CATEGORY_NAME} + {/if} + + + {if $ACTION.accessLabel == 'dev' || $ACTION.accessLabel == 'admin_dev'} + + {else} + + {/if} + +
    N/A
    +
    No Actions Defined
    +
      + +
    +
    \ No newline at end of file diff --git a/modules/ACLRoles/EditRole.tpl b/modules/ACLRoles/EditRole.tpl new file mode 100755 index 00000000..d5bcd5ee --- /dev/null +++ b/modules/ACLRoles/EditRole.tpl @@ -0,0 +1,95 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
    + + + + + + +   + +
    + +{if !empty($CATEGORIES[$CATEGORY_NAME])} + + {foreach from=$ACTION_NAMES item="ACTION_LABEL" key="ACTION_NAME"} + {foreach from=$CATEGORIES[$CATEGORY_NAME] item="ACTIONS"} + {foreach from=$ACTIONS item="ACTION" key="ACTION_NAME_ACTIVE"} + {if $ACTION_NAME==$ACTION_NAME_ACTIVE} + + {/if} + {/foreach} + {/foreach} + {foreachelse} + + + + {/foreach} + + + + {foreach from=$ACTION_NAMES item="ACTION_LABEL" key="ACTION_NAME"} + {foreach from=$CATEGORIES[$CATEGORY_NAME] item="ACTIONS"} + {foreach from=$ACTIONS item="ACTION" key="ACTION_NAME_ACTIVE"} + {if $ACTION_NAME==$ACTION_NAME_ACTIVE} + + {/if} + {/foreach} + {/foreach} + {foreachelse} + + {/foreach} + + +{else} + +{/if} +
    {$ACTION_LABEL}
     
    + + +  
    No Actions Defined
    \ No newline at end of file diff --git a/modules/ACLRoles/EditView.tpl b/modules/ACLRoles/EditView.tpl new file mode 100755 index 00000000..caaa10eb --- /dev/null +++ b/modules/ACLRoles/EditView.tpl @@ -0,0 +1,84 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + + + + +
    + + + + + + +   + + +
    + + + + + + + + +
    {$MOD.LBL_NAME}:{$APP.LBL_REQUIRED_SYMBOL} + +  
    {$MOD.LBL_DESCRIPTION}:
    + +
    + \ No newline at end of file diff --git a/modules/ACLRoles/EditViewBody.tpl b/modules/ACLRoles/EditViewBody.tpl new file mode 100755 index 00000000..96d6b89c --- /dev/null +++ b/modules/ACLRoles/EditViewBody.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{$MOD.LBL_EDIT_VIEW_DIRECTIONS} + + +
    +
    +{include file='modules/ACLRoles/EditAllBody.tpl'} +
    +
    + + diff --git a/modules/ACLRoles/popup.tpl b/modules/ACLRoles/popup.tpl new file mode 100755 index 00000000..4e9a6fce --- /dev/null +++ b/modules/ACLRoles/popup.tpl @@ -0,0 +1,76 @@ + + + + + + + + + + + + + +{foreach from=$ROLES item="ROLE"} + + + + + + + +{foreachelse} + + + +{/foreach} + + + +
    {$CHECKALL} {$MOD.LBL_NAME}{$MOD.LBL_DESCRIPTION}
    {$PREROW} {$ROLE.name}{$ROLE.description}
    No Roles
    +{$ASSOCIATED_JAVASCRIPT_DATA} diff --git a/modules/Accounts/tpls/QuickCreate.tpl b/modules/Accounts/tpls/QuickCreate.tpl new file mode 100644 index 00000000..3492d0ce --- /dev/null +++ b/modules/Accounts/tpls/QuickCreate.tpl @@ -0,0 +1,89 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + +

    {$MOD.LBL_ACCOUNT_INFORMATION}

    {$MOD.LBL_ACCOUNT_NAME} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_PHONE}
    {$MOD.LBL_WEBSITE}{$MOD.LBL_EMAIL}
    + + \ No newline at end of file diff --git a/modules/Accounts/tpls/SalesChart.tpl b/modules/Accounts/tpls/SalesChart.tpl new file mode 100644 index 00000000..1d86f4bc --- /dev/null +++ b/modules/Accounts/tpls/SalesChart.tpl @@ -0,0 +1,59 @@ +{if $DATACHART != NULL} + +
    + +
    + + + + + + + + {foreach from=$DATACHART key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.netto key=key item=item} + {assign var=sumanetto value=$sumanetto+$item} + + {/foreach} + + + + + {foreach from=$ROWS.kupno key=key item=item} + {assign var=sumakupno value=$sumakupno+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marza key=key item=item} + {assign var=sumamarza value=$sumamarza+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marzaprocent key=key item=item} + {assign var=sumamarzaprocent value=$sumamarzaprocent+$item} + {if $item>0} + {assign var=miesiace value=$miesiace+1} + {/if} + + {/foreach} + + + +
    {$MOD.LBL_SALES_CHART_NAME}{$key}{$MOD.LBL_SALES_CHART_SUMMARY}
    {$MOD.LBL_SALES_CHART_NETTO}{$item|number_format:2:",":"."}{$sumanetto|number_format:2:",":"."}
    {$MOD.LBL_SALES_CHART_BUY}{$item|number_format:2:",":"."}{$sumakupno|number_format:2:",":"."}
    {$MOD.LBL_SALES_CHART_INCOME}{$item|number_format:2:",":"."}{$sumamarza|number_format:2:",":"."}
    {$MOD.LBL_SALES_CHART_NARZUT}{$item|number_format:2:",":"."} %{$sumamarzaprocent/$miesiace|number_format:2:",":"."} %
    +{else} + {$MOD.LBL_SALES_CHART_NOPE} +{/if} \ No newline at end of file diff --git a/modules/Accounts/tpls/SendEmail.tpl b/modules/Accounts/tpls/SendEmail.tpl new file mode 100644 index 00000000..0689645b --- /dev/null +++ b/modules/Accounts/tpls/SendEmail.tpl @@ -0,0 +1,91 @@ + +

    Lista mailingowa

    + + + + + + + + + + {foreach from=$account_list item=row key=k} + + + + + + + + {/foreach} + + +
    +
    Kontrahent
    + Email
    {$row.name} + {if $row.emails|count>0} + {foreach from=$row.emails item=row2 key=k} + {$row2} + {/foreach} + + {else} + brak adresu lub nie jest oznaczony jako do wysyłki + {/if} +
    + +
    +
    +

    Ustawienia wiadomości

    +
    + + + + + +{if $error==1} + + +{/if} +{if $success==1} + + +{else} +{if $success===0} + + +{/if} +{/if} + + + + + + + +
    +Proszę wypełnić wszystkie pola! +
    +Wiadomość została pozytywnie wysłana. +
    +Wystąpił błąd przy wysyłce wiadomości! +
    Temat: + +
    Treść wiadomości: + +
    + +
    \ No newline at end of file diff --git a/modules/Accounts/tpls/Telephones_DetailView.tpl b/modules/Accounts/tpls/Telephones_DetailView.tpl new file mode 100644 index 00000000..2bd0acf3 --- /dev/null +++ b/modules/Accounts/tpls/Telephones_DetailView.tpl @@ -0,0 +1,3 @@ +{foreach from=$TELEPHONES_LIST key=k item=v} +
  • {$v.telephone}
  • +{/foreach} diff --git a/modules/Accounts/tpls/Telephones_EditView.tpl b/modules/Accounts/tpls/Telephones_EditView.tpl new file mode 100644 index 00000000..3291d286 --- /dev/null +++ b/modules/Accounts/tpls/Telephones_EditView.tpl @@ -0,0 +1,10 @@ + + + + + + +
    + +
    diff --git a/modules/Accounts/tpls/Websites_DetailView.tpl b/modules/Accounts/tpls/Websites_DetailView.tpl new file mode 100644 index 00000000..37edf1e4 --- /dev/null +++ b/modules/Accounts/tpls/Websites_DetailView.tpl @@ -0,0 +1,3 @@ +{foreach from=$WEBSITES_LIST key=k item=v} +
  • {$v.www}
  • +{/foreach} diff --git a/modules/Accounts/tpls/Websites_EditView.tpl b/modules/Accounts/tpls/Websites_EditView.tpl new file mode 100644 index 00000000..717378b0 --- /dev/null +++ b/modules/Accounts/tpls/Websites_EditView.tpl @@ -0,0 +1,10 @@ + + + + + + +
    + +
    diff --git a/modules/Accounts/tpls/share.tpl b/modules/Accounts/tpls/share.tpl new file mode 100644 index 00000000..521df89b --- /dev/null +++ b/modules/Accounts/tpls/share.tpl @@ -0,0 +1,104 @@ + + +{if $added==1} +

    Firmy zostały udostępnione

    +

    {/if} +

    Udostępnij firmie

    +
    + + + + + + + + + + + + {foreach from=$users item=row key=k} + + + + + + + + {/foreach} + + +
    +
    +
    Firma
    + {$row.name}
    + +
    +
    +

    Wybrani kontrahenci

    + + + + + + + + + {foreach from=$account_list item=row key=k} + + + + + + + + {/foreach} + + +
    +
    Firma
    {$row.name}
    + +
    +
    + +
    \ No newline at end of file diff --git a/modules/Administration/ConfigureSubPanelsForm.tpl b/modules/Administration/ConfigureSubPanelsForm.tpl new file mode 100755 index 00000000..f5a5c61c --- /dev/null +++ b/modules/Administration/ConfigureSubPanelsForm.tpl @@ -0,0 +1,169 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + +

    {$title}

    +{$description} +

    + +
    + + + + + + + + + + +
    + + +
    + +
    + + + + + +
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +
    + + + + \ No newline at end of file diff --git a/modules/Administration/ConfigureTabs.tpl b/modules/Administration/ConfigureTabs.tpl new file mode 100755 index 00000000..769da2db --- /dev/null +++ b/modules/Administration/ConfigureTabs.tpl @@ -0,0 +1,141 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + +

    {$title}

    +{$description} +

    + +
    + + + + + + + + + + + +
    + + +
    +  {$MOD.LBL_ALLOW_USER_TABS} +
    + + + + + +
    +
    +
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +
    + + + \ No newline at end of file diff --git a/modules/Administration/Locale.tpl b/modules/Administration/Locale.tpl new file mode 100755 index 00000000..bd93a66b --- /dev/null +++ b/modules/Administration/Locale.tpl @@ -0,0 +1,216 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} +
    +
    + +{$error.main} + + + + + +
    + +  
    + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_LOCALE_DEFAULT_SYSTEM_SETTINGS}

    {$MOD.LBL_LOCALE_DEFAULT_DATE_FORMAT}: + {html_options name='default_date_format' selected=$config.default_date_format options=$config.date_formats} + {$MOD.LBL_LOCALE_DEFAULT_TIME_FORMAT}: + {html_options name='default_time_format' selected=$config.default_time_format options=$config.time_formats} +
    {$MOD.LBL_LOCALE_DEFAULT_LANGUAGE}: + {html_options name='default_language' selected=$config.default_language options=$LANGUAGES} +
    {$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}: + +
    + {$MOD.LBL_LOCALE_NAME_FORMAT_DESC} +
    {$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}:
    + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_LOCALE_DEFAULT_CURRENCY}

    {$MOD.LBL_LOCALE_DEFAULT_CURRENCY_NAME}: + + {$MOD.LBL_LOCALE_DEFAULT_CURRENCY_SYMBOL}: + +
    {$MOD.LBL_LOCALE_DEFAULT_CURRENCY_ISO4217}: + + {$MOD.LBL_LOCALE_DEFAULT_NUMBER_GROUPING_SEP}: + +
    {$MOD.LBL_LOCALE_DEFAULT_DECIMAL_SEP}: + +
    + + + + + + + + + + + + + {if !empty($config.disable_export)} + {assign var='disable_export_checked' value='CHECKED'} + {else} + {assign var='disable_export_checked' value=''} + {/if} + + + {if !empty($config.admin_export_only)} + {assign var='admin_export_only_checked' value='CHECKED'} + {else} + {assign var='admin_export_only_checked' value=''} + {/if} + + + +

    {$MOD.EXPORT}

    {$MOD.EXPORT_DELIMITER}: + + {$MOD.EXPORT_CHARSET}: + + {$MOD.DISABLE_EXPORT}: {$MOD.ADMIN_EXPORT_ONLY}:
    + + +{if $dbType == 'mysql'} + + + + + + + + +
    +

    + {$MOD.LBL_LOCALE_DB_COLLATION_TITLE} +

    +
    + {$MOD.LBL_LOCALE_DB_COLLATION} + + +
    + + + +{/if} +
    + +   +
    +{$JAVASCRIPT} +
    + + diff --git a/modules/Administration/PasswordManager.tpl b/modules/Administration/PasswordManager.tpl new file mode 100755 index 00000000..5bce5cd8 --- /dev/null +++ b/modules/Administration/PasswordManager.tpl @@ -0,0 +1,635 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + +*} + +
    + + + +{$error.main} + + + + + +
    + +   +
    + + + + +
    + + + + + + + + + {if !($config.passwordsetting.SystemGeneratedPasswordON)} + {assign var='smtp_warning' value='none'} + {/if} + + + + + + + + + + +
    +

    + {$MOD.LBL_PASSWORD_SYST_GENERATED_TITLE} +

    +
    + {$MOD.LBL_PASSWORD_SYST_GENERATED_PWD_ON}: {sugar_help text=$MOD.LBL_PASSWORD_SYST_GENERATED_PWD_HELP WIDTH=400} + + {if ($config.passwordsetting.SystemGeneratedPasswordON ) == '1'} + {assign var='SystemGeneratedPasswordON' value='CHECKED'} + {else} + {assign var='SystemGeneratedPasswordON' value=''} + {/if} + + +
    + {if $SMTP_SERVER_NOT_SET}    {$MOD.ERR_SMTP_SERVER_NOT_SET}
    {/if} +     {$MOD.LBL_EMAIL_ADDRESS_REQUIRED_FOR_FEATURE}
    +
    + {$MOD.LBL_PASSWORD_SYST_EXPIRATION} +
    + + + {assign var='systexplogin' value=''} + {assign var='systexptime' value=''} + {assign var='systexpnone' value=''} + {if ($config.passwordsetting.systexpiration) == '0' || $config.passwordsetting.systexpiration==''} + {assign var='systexpnone' value='CHECKED'} + {/if} + {if ($config.passwordsetting.systexpiration) == '1'} + {assign var='systexptime' value='CHECKED'} + {/if} + {if ($config.passwordsetting.systexpiration) == '2'} + {assign var='systexplogin' value='CHECKED'} + {/if} + + + + +
    + + {$MOD.LBL_UW_NONE} + + + {$MOD.LBL_PASSWORD_EXP_IN} + {assign var='sdays' value=''} + {assign var='sweeks' value=''} + {assign var='smonths' value=''} + {if ($config.passwordsetting.systexpirationtype ) == '1'} + {assign var='sdays' value='SELECTED'} + {/if} + {if ($config.passwordsetting.systexpirationtype ) == '7'} + {assign var='sweeks' value='SELECTED'} + {/if} + {if ($config.passwordsetting.systexpirationtype ) == '30'} + {assign var='smonths' value='SELECTED'} + {/if} + + + + + {$MOD.LBL_PASSWORD_EXP_AFTER} + + {$MOD.LBL_PASSWORD_LOGINS} +
    +
    + + + + + + + + + + {if !($config.passwordsetting.forgotpasswordON)} + {assign var='smtp_warning_2' value='none'} + {/if} + + + + + + + + + {if !empty($settings.captcha_on) || !($VALID_PUBLIC_KEY)} + {assign var='captcha_checked' value='CHECKED'} + {else} + {assign var='captcha_checked' value=''} + {/if} + + + +

    {$MOD.LBL_PASSWORD_USER_RESET}

    +
    {$MOD.LBL_PASSWORD_FORGOT_FEATURE}: {sugar_help text=$MOD.LBL_PASSWORD_FORGOT_FEATURE_HELP WIDTH=400} + {if ($config.passwordsetting.forgotpasswordON ) == '1'} + {assign var='forgotpasswordON' value='CHECKED'} + {else} + {assign var='forgotpasswordON' value=''} + {/if} + + +
    + {if $SMTP_SERVER_NOT_SET}    {$MOD.ERR_SMTP_SERVER_NOT_SET}
    {/if} +     {$MOD.LBL_EMAIL_ADDRESS_REQUIRED_FOR_FEATURE}
    +
    {$MOD.LBL_PASSWORD_LINK_EXPIRATION}: {sugar_help text=$MOD.LBL_PASSWORD_LINK_EXPIRATION_HELP WIDTH=400} + + + + {assign var='linkexptime' value=''} + {assign var='linkexpnone' value=''} + {if ($config.passwordsetting.linkexpiration) == '0'} + {assign var='linkexpnone' value='CHECKED'} + {/if} + {if ($config.passwordsetting.linkexpiration) == '1'} + {assign var='linkexptime' value='CHECKED'} + {/if} + + + + +
    + + {$MOD.LBL_UW_NONE} + + + {$MOD.LBL_PASSWORD_LINK_EXP_IN} + {assign var='ldays' value=''} + {assign var='lweeks' value=''} + {assign var='lmonths' value=''} + {if ($config.passwordsetting.linkexpirationtype ) == '1'} + {assign var='ldays' value='SELECTED'} + {/if} + {if ($config.passwordsetting.linkexpirationtype ) == '60'} + {assign var='lweeks' value='SELECTED'} + {/if} + {if ($config.passwordsetting.linkexpirationtype ) == '1440'} + {assign var='lmonths' value='SELECTED'} + {/if} + + + +
    +
    {$MOD.ENABLE_CAPTCHA}: {sugar_help text=$MOD.LBL_CAPTCHA_HELP_TEXT WIDTH=400}
    + + + + + {if !($VALID_PUBLIC_KEY)} + + {/if} +
    +
    + + + + + + + +
    {$MOD.LBL_PUBLIC_KEY}*{$MOD.LBL_PRIVATE_KEY}*
    +
    +
    {$MOD.ERR_PUBLIC_CAPTCHA_KEY}
    + + + + + + + + + + + + + + + + + + + + + +
    +

    + {$MOD.LBL_PASSWORD_TEMPLATE} +

    +
    {$MOD.LBL_PASSWORD_GENERATE_TEMPLATE_MSG}: + + + + + +
    {$MOD.LBL_PASSWORD_LOST_TEMPLATE_MSG}: + + + + + +
    + + + {if !empty($settings.system_ldap_enabled)} + {assign var='system_ldap_enabled_checked' value='CHECKED'} + {assign var='ldap_display' value='inline'} + {else} + {assign var='system_ldap_enabled_checked' value=''} + {assign var='ldap_display' value='none'} + {/if} + + + + +
    + + + + + + + + + +

    {$MOD.LBL_LDAP_TITLE}

    + {$MOD.LBL_LDAP_ENABLE}{sugar_help text=$MOD.LBL_LDAP_HELP_TXT} +   
    + + + {$settings.proxy_host} + + {$settings.proxy_port} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if !empty($settings.ldap_auto_create_users)} + {assign var='ldap_auto_create_users_checked' value='CHECKED'} + {else} + {assign var='ldap_auto_create_users_checked' value=''} + {/if} + + + + + + + + + + +
    {$MOD.LBL_LDAP_SERVER_HOSTNAME} {sugar_help text=$MOD.LBL_LDAP_SERVER_HOSTNAME_DESC}{$MOD.LBL_LDAP_SERVER_PORT} {sugar_help text=$MOD.LBL_LDAP_SERVER_PORT_DESC}
    {$MOD.LBL_LDAP_USER_DN} {sugar_help text=$MOD.LBL_LDAP_USER_DN_DESC}{$MOD.LBL_LDAP_USER_FILTER} {sugar_help text=$MOD.LBL_LDAP_USER_FILTER_DESC}
    {$MOD.LBL_LDAP_BIND_ATTRIBUTE} {sugar_help text=$MOD.LBL_LDAP_BIND_ATTRIBUTE_DESC} {$MOD.LBL_LDAP_LOGIN_ATTRIBUTE} {sugar_help text=$MOD.LBL_LDAP_LOGIN_ATTRIBUTE_DESC}
    {$MOD.LBL_LDAP_GROUP_MEMBERSHIP} {sugar_help text=$MOD.LBL_LDAP_GROUP_MEMBERSHIP_DESC} + {if !empty($settings.ldap_group)} + {assign var='ldap_group_checked' value='CHECKED'} + {assign var='ldap_group_display' value=''} + {else} + {assign var='ldap_group_checked' value=''} + {assign var='ldap_group_display' value='none'} + {/if} + +
    + + + + + + + + + + + + + + +
    {$MOD.LBL_LDAP_GROUP_DN} {sugar_help text=$MOD.LBL_LDAP_GROUP_DN_DESC}{$MOD.LBL_LDAP_GROUP_NAME} {sugar_help text=$MOD.LBL_LDAP_GROUP_NAME_DESC}
    {$MOD.LBL_LDAP_GROUP_USER_ATTR} {sugar_help text=$MOD.LBL_LDAP_GROUP_USER_ATTR_DESC} {$MOD.LBL_LDAP_GROUP_ATTR} {sugar_help text=$MOD.LBL_LDAP_GROUP_ATTR_DESC}
    +
    +
    +
    {$MOD.LBL_LDAP_AUTHENTICATION} {sugar_help text=$MOD.LBL_LDAP_AUTHENTICATION_DESC} + {if !empty($settings.ldap_authentication)} + {assign var='ldap_authentication_checked' value='CHECKED'} + {assign var='ldap_authentication_display' value=''} + {else} + {assign var='ldap_authentication_checked' value=''} + {assign var='ldap_authentication_display' value='none'} + {/if} + +
    + + + + + + + + +
    {$MOD.LBL_LDAP_ADMIN_USER} {sugar_help text=$MOD.LBL_LDAP_ADMIN_USER_DESC}{$MOD.LBL_LDAP_ADMIN_PASSWORD}
    +
    +
    +
    {$MOD.LBL_LDAP_AUTO_CREATE_USERS} {sugar_help text=$MOD.LBL_LDAP_AUTO_CREATE_USERS_DESC}
    {$MOD.LBL_LDAP_ENC_KEY} {sugar_help text=$LDAP_ENC_KEY_DESC}
    +
    +
    + {if !empty($settings.system_ldap_enabled)} + {assign var='system_ldap_enabled_checked' value='CHECKED'} + {assign var='ldap_display' value='inline'} + {else} + {assign var='system_ldap_enabled_checked' value=''} + {assign var='ldap_display' value='none'} + {/if} +
    + +   +
    +
    +
    + +{$JAVASCRIPT} + + +{if !($VALID_PUBLIC_KEY)} + +{/if} + + +{literal} + + +{/literal} \ No newline at end of file diff --git a/modules/Administration/SupportPortal.tpl b/modules/Administration/SupportPortal.tpl new file mode 100755 index 00000000..5f18aaad --- /dev/null +++ b/modules/Administration/SupportPortal.tpl @@ -0,0 +1,61 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + +*} + + +{if $helpFileExists} + + + {$title} + {$styleSheet} + + + + {$helpBar} + + + + +
    {include file="$helpPath"}
    + {$bookmarkScript} + + +{else} + +{/if} \ No newline at end of file diff --git a/modules/Administration/index.tpl b/modules/Administration/index.tpl new file mode 100755 index 00000000..c6cc9a65 --- /dev/null +++ b/modules/Administration/index.tpl @@ -0,0 +1,89 @@ +{* + + +*} +
    +
    +
    +
    +
    +
    + +{*{$MY_FRAME}*} +{foreach from=$ADMIN_GROUP_HEADER key=j item=val1} + + {if isset($GROUP_HEADER[$j][1])} +

    {$GROUP_HEADER[$j][0]}{$GROUP_HEADER[$j][1]} + + + {else} +

    {$GROUP_HEADER[$j][0]}{$GROUP_HEADER[$j][2]} +

    + {/if} + + {assign var='i' value=0} + {foreach from=$VALUES_3_TAB[$j] key=link_idx item=admin_option} + {if isset($COLNUM[$j][$i])} + + + + + {assign var='i' value=$i+1} + {if $COLNUM[$j][$i] == '0'} + + + + {else} + + + {/if} + + {/if} + {assign var='i' value=$i+1} + {/foreach} + +
    {$ITEM_HEADER_IMAGE[$j][$i]} {$ITEM_HEADER_LABEL[$j][$i]}{$ITEM_DESCRIPTION[$j][$i]}{$ITEM_HEADER_IMAGE[$j][$i]} {$ITEM_HEADER_LABEL[$j][$i]}{$ITEM_DESCRIPTION[$j][$i]}  
    +

    +{/foreach} + +

    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/modules/Administration/templates/QuickRepairAndRebuild.tpl b/modules/Administration/templates/QuickRepairAndRebuild.tpl new file mode 100755 index 00000000..0ffbfd76 --- /dev/null +++ b/modules/Administration/templates/QuickRepairAndRebuild.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +
    +

    {$MOD.LBL_QUICK_REPAIR_TITLE}


    + + + + {html_options multiple ="1" size="10" name=repair_module[] values=$values output=$output selected=$MOD.LBL_ALL_MODULES} +

    + {html_checkboxes name="selected_actions" values = $checkbox_values output = $checkbox_output separator="
    " selected=$checkbox_values } +
    + +
    diff --git a/modules/Administration/templates/RepairDatabase.tpl b/modules/Administration/templates/RepairDatabase.tpl new file mode 100755 index 00000000..9f3ea2f5 --- /dev/null +++ b/modules/Administration/templates/RepairDatabase.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +

    {$MOD.LBL_REPAIR_DATABASE_DIFFERENCES}

    +

    {$MOD.LBL_REPAIR_DATABASE_TEXT}

    +
    + + + + +
    + + \ No newline at end of file diff --git a/modules/Administration/templates/RepairXSS.tpl b/modules/Administration/templates/RepairXSS.tpl new file mode 100755 index 00000000..fea06018 --- /dev/null +++ b/modules/Administration/templates/RepairXSS.tpl @@ -0,0 +1,60 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + +
    + {$mod.LBL_REPAIRXSS_INSTRUCTIONS} +
    +
    + +
    + {$beanDropDown} +
    +
    + + +
    + + \ No newline at end of file diff --git a/modules/Administration/templates/ShortcutBar.tpl b/modules/Administration/templates/ShortcutBar.tpl new file mode 100755 index 00000000..df9aa87d --- /dev/null +++ b/modules/Administration/templates/ShortcutBar.tpl @@ -0,0 +1,169 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + +

    {$title}

    {$msg}
    +{if empty($msg)} + + + + + + + + + + + +
    + + +
    +
    + + + + + +
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    + + + +{/if} \ No newline at end of file diff --git a/modules/Administration/templates/themeSettings.tpl b/modules/Administration/templates/themeSettings.tpl new file mode 100755 index 00000000..c87fa5ed --- /dev/null +++ b/modules/Administration/templates/themeSettings.tpl @@ -0,0 +1,148 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + +
    + + + + + + + + +
    + + +
    + +
    + + + + + +
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +
    + + \ No newline at end of file diff --git a/modules/Bugs/tpls/QuickCreate.tpl b/modules/Bugs/tpls/QuickCreate.tpl new file mode 100755 index 00000000..dea02fae --- /dev/null +++ b/modules/Bugs/tpls/QuickCreate.tpl @@ -0,0 +1,92 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
    + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_BUG_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + \ No newline at end of file diff --git a/modules/Calls/tpls/QuickCreate.tpl b/modules/Calls/tpls/QuickCreate.tpl new file mode 100755 index 00000000..9f13255f --- /dev/null +++ b/modules/Calls/tpls/QuickCreate.tpl @@ -0,0 +1,140 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + +
    + + + + + + + + + + + + + + + + + +{if $REQUEST.parent_id} + +{else} + +{/if} +{if $REQUEST.parent_type} + +{else} + +{/if} + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_NEW_FORM_TITLE}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_STATUS} {$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_DATE_TIME} + + + + + + + + + + +
    + + {$USER_DATEFORMAT}  + {$TIME_SEPARATOR} + + {if $TIME_MERIDIEM} + + {/if} +
    {$USER_DATEFORMAT}{$TIME_FORMAT}
    +
    {$MOD.LBL_DURATION} {$APP.LBL_REQUIRED_SYMBOL} {$MOD.LBL_HOURS_MINS}
    + + diff --git a/modules/Calls/tpls/footer.tpl b/modules/Calls/tpls/footer.tpl new file mode 100755 index 00000000..e69de29b diff --git a/modules/Campaigns/Dashlets/TopCampaignsDashlet/TopCampaignsDashlet.tpl b/modules/Campaigns/Dashlets/TopCampaignsDashlet/TopCampaignsDashlet.tpl new file mode 100755 index 00000000..2a784adc --- /dev/null +++ b/modules/Campaigns/Dashlets/TopCampaignsDashlet/TopCampaignsDashlet.tpl @@ -0,0 +1,58 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + {counter name="num" assign="num"} + {foreach from=$top_campaigns item="campaign"} + + + + + + {counter name="num"} + {/foreach} +
      + {$lbl_campaign_name} + {$lbl_revenue} +
    {$num}.{$campaign.campaign_name}{$campaign.revenue}
    diff --git a/modules/Campaigns/Subscriptions.tpl b/modules/Campaigns/Subscriptions.tpl new file mode 100755 index 00000000..6e90433b --- /dev/null +++ b/modules/Campaigns/Subscriptions.tpl @@ -0,0 +1,294 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + + +

    {$title}

    +{$description} +

    + +
    + + + + + + + + + + + + + + + + + + + +
    + + +
    + +
    + + + + + + + + + +
    {$MOD.LBL_ALREADY_SUBSCRIBED_HEADER}{$MOD.LBL_UNSUBSCRIBED_HEADER} + + +
    +
    +
      + {foreach from=$enabled_subs key=dirname item=name} +
    • {$name}
    • + {/foreach} +
    +
    +
    +
    +
      + {foreach from=$disabled_subs key=dirname item=name} +
    • {$name}
    • + {/foreach} +
    +
    +
    +
    + + + + + +
    + + + +
    +
    + + + + + diff --git a/modules/Campaigns/chart.tpl b/modules/Campaigns/chart.tpl new file mode 100755 index 00000000..72545844 --- /dev/null +++ b/modules/Campaigns/chart.tpl @@ -0,0 +1,62 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/Campaigns/tpls/WizardCampaignBudget.tpl b/modules/Campaigns/tpls/WizardCampaignBudget.tpl new file mode 100755 index 00000000..22b1b0b9 --- /dev/null +++ b/modules/Campaigns/tpls/WizardCampaignBudget.tpl @@ -0,0 +1,136 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_WIZ_NEWSLETTER_TITLE_STEP2}

    {$MOD.LBL_WIZARD_BUDGET_MESSAGE}
     
     
    {$MOD.LBL_CAMPAIGN_BUDGET}{$MOD.LBL_CAMPAIGN_ACTUAL_COST}
    {$MOD.LBL_CAMPAIGN_EXPECTED_REVENUE}{$MOD.LBL_CAMPAIGN_EXPECTED_COST}
    {$MOD.LBL_CURRENCY}{$MOD.LBL_CAMPAIGN_IMPRESSIONS}
        
    {$MOD.LBL_CAMPAIGN_OBJECTIVE}
        
    +

    + + diff --git a/modules/Campaigns/tpls/WizardCampaignHeader.tpl b/modules/Campaigns/tpls/WizardCampaignHeader.tpl new file mode 100755 index 00000000..0282f6c5 --- /dev/null +++ b/modules/Campaigns/tpls/WizardCampaignHeader.tpl @@ -0,0 +1,155 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + {$CAMPAIGN_DIAGNOSTIC_LINK} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_WIZ_NEWSLETTER_TITLE_STEP1}

     
    {$MOD.LBL_WIZARD_HEADER_MESSAGE}
     
     
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}{$APP.LBL_ASSIGNED_TO} + +
    {$MOD.LBL_CAMPAIGN_STATUS} {$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_CAMPAIGN_START_DATE} {$APP.LBL_ENTER_DATE} {$USER_DATEFORMAT}{$MOD.LBL_CAMPAIGN_TYPE} <{$SHOULD_TYPE_BE_DISABLED} id='campaign_type' title='{$MOD.LBL_CAMPAIGN_TYPE}' name='wiz_step1_campaign_type' >{$CAMPAIGN_TYPE_OPTIONS}
    {$MOD.LBL_CAMPAIGN_END_DATE} {$APP.LBL_REQUIRED_SYMBOL} {$APP.LBL_ENTER_DATE} {$USER_DATEFORMAT}{$FREQUENCY_LABEL} <{$HIDE_FREQUENCY_IF_NEWSLETTER} tabindex='1' id='frequency' name='wiz_step1_frequency' title='{$MOD.LBL_CAMPAIGN_FREQUENCY}'>{$FREQ_OPTIONS}
        
    {$MOD.LBL_CAMPAIGN_CONTENT}
        

    + + {literal} + + {/literal} + diff --git a/modules/Campaigns/tpls/WizardCampaignTargetList.tpl b/modules/Campaigns/tpls/WizardCampaignTargetList.tpl new file mode 100755 index 00000000..6363c35e --- /dev/null +++ b/modules/Campaigns/tpls/WizardCampaignTargetList.tpl @@ -0,0 +1,182 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_WIZ_NEWSLETTER_TITLE_STEP4}

    {$MOD.LBL_WIZARD_SUBSCRIPTION_MESSAGE}
     
    + {$MOD.LBL_SUBSCRIPTION_LIST_NAME} + {$MOD.LBL_DEFAULT_LOCATION}
    + {$MOD.LBL_CUSTOM_LOCATION} +
    + + + + +
     
    + {$MOD.LBL_UNSUBSCRIPTION_LIST_NAME} + {$MOD.LBL_DEFAULT_LOCATION}
    + {$MOD.LBL_CUSTOM_LOCATION} +
    + + + + +
     
    + + {$MOD.LBL_TEST_LIST_NAME} + {$MOD.LBL_DEFAULT_LOCATION}
    + {$MOD.LBL_CUSTOM_LOCATION} +
    + + + + +
        
    +

    + + {literal} + + {/literal} diff --git a/modules/Campaigns/tpls/WizardCampaignTargetListForNonNewsLetter.tpl b/modules/Campaigns/tpls/WizardCampaignTargetListForNonNewsLetter.tpl new file mode 100755 index 00000000..34dca2b3 --- /dev/null +++ b/modules/Campaigns/tpls/WizardCampaignTargetListForNonNewsLetter.tpl @@ -0,0 +1,307 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_TARGET_LISTS}

    {$MOD.LBL_WIZARD_TARGET_MESSAGE1}
     
    {$MOD.LBL_SELECT_TARGET}  + + + + + +  
     
    {$MOD.LBL_WIZARD_TARGET_MESSAGE2}
    {$MOD.LBL_TARGET_NAME} + + + {$MOD.LBL_TARGET_TYPE} + + + + + +
     
    + + + +
    {$MOD.LBL_TRACKERS_ADDED}
    + + + + + + +
    {$MOD.LBL_TARGET_NAME}{$MOD.LBL_TARGET_TYPE}  
    +
    + {$EXISTING_TARGETS} +
    + + +
    + +

    + + + + {/literal} diff --git a/modules/Campaigns/tpls/WizardCampaignTracker.tpl b/modules/Campaigns/tpls/WizardCampaignTracker.tpl new file mode 100755 index 00000000..0a0a606f --- /dev/null +++ b/modules/Campaigns/tpls/WizardCampaignTracker.tpl @@ -0,0 +1,256 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + + + + + + + + + + + + + +

    {$MOD.LBL_WIZ_NEWSLETTER_TITLE_STEP3}

    {$MOD.LBL_WIZARD_TRACKER_MESSAGE}
     
     
    +

    + + + + + + + + + + + + +
    {$MOD.LBL_EDIT_TRACKER_NAME}  {$MOD.LBL_EDIT_OPT_OUT_} 
    {$MOD.LBL_EDIT_TRACKER_URL} 
     
    +
    + + + +
    {$MOD.LBL_TRACKERS_ADDED}
    + + + + + + +
    {$MOD.LBL_EDIT_OPT_OUT}{$MOD.LBL_EDIT_TRACKER_NAME}{$MOD.LBL_EDIT_TRACKER_URL}
    +
    + {$EXISTING_TRACKERS} +
    + + +
    +

    + + {/literal} diff --git a/modules/Campaigns/tpls/WizardHomeStart.tpl b/modules/Campaigns/tpls/WizardHomeStart.tpl new file mode 100755 index 00000000..7fc50f61 --- /dev/null +++ b/modules/Campaigns/tpls/WizardHomeStart.tpl @@ -0,0 +1,110 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + +

    +
    + + + + + + + + + + + + + +
    +

    +

    +

    +
    +
    +
    + + +
    + + + + + + +

    {$MOD.LBL_CHOOSE_CAMPAIGN_TYPE}

    {$MOD.LBL_HOME_START_MESSAGE}

      + {$MOD.LBL_NEWSLETTER}
    + {$MOD.LBL_EMAIL}
    + {$MOD.LBL_OTHER_TYPE_CAMPAIGN}
    +
    +
    +

    + + + +
    + +
    + + + + + +
      + + +
    +
    +
    + +
    + + + +
    + + + diff --git a/modules/Campaigns/tpls/WizardNewsletter.tpl b/modules/Campaigns/tpls/WizardNewsletter.tpl new file mode 100755 index 00000000..f875ecb5 --- /dev/null +++ b/modules/Campaigns/tpls/WizardNewsletter.tpl @@ -0,0 +1,108 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + +{$ROLLOVERSTYLE} +
    + + + + + + + + + + + +

    +

    + + + + + + +
    + + + + + +
    +
    + +
    +
    +
    +

    + + + + + +
    + + + +
    +
    + +{$STEPS} + + +
    +
    +
    + + + + + + +{$WIZ_JAVASCRIPT} +{$DIV_JAVASCRIPT} +{$JAVASCRIPT} + + diff --git a/modules/Cases/tpls/QuickCreate.tpl b/modules/Cases/tpls/QuickCreate.tpl new file mode 100755 index 00000000..bd59c2a6 --- /dev/null +++ b/modules/Cases/tpls/QuickCreate.tpl @@ -0,0 +1,99 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
    + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +{/if} + + + + +{counter} +{else} + {if $count is odd} + + {/if} + + + {if $count is not odd} + + {/if} +{/if} \ No newline at end of file diff --git a/modules/Configurator/tpls/addFontResult.tpl b/modules/Configurator/tpls/addFontResult.tpl new file mode 100755 index 00000000..34ef7224 --- /dev/null +++ b/modules/Configurator/tpls/addFontResult.tpl @@ -0,0 +1,58 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +

    +{$MODULE_TITLE} +

    + + + +
    + + + + + + + + + + + + + + + + + + {if $REQUEST.account_id != ''} + + + {else} + + + {/if} + +

    {$MOD.LBL_CASE_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_STATUS}
    {$MOD.LBL_ACCOUNT_NAME} {$APP.LBL_REQUIRED_SYMBOL}{$REQUEST.parent_name} {$MOD.LBL_ACCOUNT_NAME} {$APP.LBL_REQUIRED_SYMBOL} +  
    + + \ No newline at end of file diff --git a/modules/Charts/a/CampaignROIChartDashlet/CampaignROIChartConfigure.tpl b/modules/Charts/a/CampaignROIChartDashlet/CampaignROIChartConfigure.tpl new file mode 100755 index 00000000..d6f54443 --- /dev/null +++ b/modules/Charts/a/CampaignROIChartDashlet/CampaignROIChartConfigure.tpl @@ -0,0 +1,70 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + +
    {$LBL_CAMPAIGN_NAME} + +
    + +
    +
    +
    diff --git a/modules/Charts/a/EcmCallsDashlet/EcmCallsConfigure.tpl b/modules/Charts/a/EcmCallsDashlet/EcmCallsConfigure.tpl new file mode 100755 index 00000000..494d95ea --- /dev/null +++ b/modules/Charts/a/EcmCallsDashlet/EcmCallsConfigure.tpl @@ -0,0 +1,145 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_ECMCALLS_DATE}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_ECMCALLS_DATE_SELECT} + +
    {$LBL_ECMCALLS_TIME_FROM} + +
    {$LBL_ECMCALLS_TIME_TO} + +
    {$LBL_ECMCALLS_SHOW_NUMBERS} + +
    {$LBL_ECMCALLS_USERS} +

    +
    {$LBL_ECMCALLS_TYPE} + +
    {$LBL_ECMCALLS_WATCH} + +  >  + +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageConfigure.tpl b/modules/Charts/a/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageConfigure.tpl new file mode 100755 index 00000000..52a1596e --- /dev/null +++ b/modules/Charts/a/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageConfigure.tpl @@ -0,0 +1,109 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_SALES_STAGES} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/OpportunitiesByLeadSourceByOutcomeDashlet/OpportunitiesByLeadSourceByOutcomeConfigure.tpl b/modules/Charts/a/OpportunitiesByLeadSourceByOutcomeDashlet/OpportunitiesByLeadSourceByOutcomeConfigure.tpl new file mode 100755 index 00000000..c8965714 --- /dev/null +++ b/modules/Charts/a/OpportunitiesByLeadSourceByOutcomeDashlet/OpportunitiesByLeadSourceByOutcomeConfigure.tpl @@ -0,0 +1,78 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_LEAD_SOURCES} + +
    {$LBL_USERS} + +
    + +
    +
    +
    diff --git a/modules/Charts/a/OpportunitiesByLeadSourceDashlet/OpportunitiesByLeadSourceConfigure.tpl b/modules/Charts/a/OpportunitiesByLeadSourceDashlet/OpportunitiesByLeadSourceConfigure.tpl new file mode 100755 index 00000000..86b77855 --- /dev/null +++ b/modules/Charts/a/OpportunitiesByLeadSourceDashlet/OpportunitiesByLeadSourceConfigure.tpl @@ -0,0 +1,78 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_LEAD_SOURCES} + +
    {$LBL_USERS} + +
    + +
    +
    +
    diff --git a/modules/Charts/a/OutcomeByMonthDashlet/OutcomeByMonthConfigure.tpl b/modules/Charts/a/OutcomeByMonthDashlet/OutcomeByMonthConfigure.tpl new file mode 100755 index 00000000..908e8732 --- /dev/null +++ b/modules/Charts/a/OutcomeByMonthDashlet/OutcomeByMonthConfigure.tpl @@ -0,0 +1,99 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_USERS} + +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PipelineByInvoiceOutsStatusDashlet/PipelineByInvoiceOutsStatusConfigure.tpl b/modules/Charts/a/PipelineByInvoiceOutsStatusDashlet/PipelineByInvoiceOutsStatusConfigure.tpl new file mode 100755 index 00000000..7f1cc05d --- /dev/null +++ b/modules/Charts/a/PipelineByInvoiceOutsStatusDashlet/PipelineByInvoiceOutsStatusConfigure.tpl @@ -0,0 +1,115 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_ECMINVOICEOUT_STATUS} +

    {$LBL_ECMINVOICEOUT_USERS} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PipelineByQuotesStatusDashlet/PipelineByQuotesStatusConfigure.tpl b/modules/Charts/a/PipelineByQuotesStatusDashlet/PipelineByQuotesStatusConfigure.tpl new file mode 100755 index 00000000..a65f58e4 --- /dev/null +++ b/modules/Charts/a/PipelineByQuotesStatusDashlet/PipelineByQuotesStatusConfigure.tpl @@ -0,0 +1,115 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_ECMQUOTE_STATUS} +

    {$LBL_ECMQUOTE_USERS} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PipelineBySalesStageDashlet/PipelineBySalesStageConfigure.tpl b/modules/Charts/a/PipelineBySalesStageDashlet/PipelineBySalesStageConfigure.tpl new file mode 100755 index 00000000..0249e4f0 --- /dev/null +++ b/modules/Charts/a/PipelineBySalesStageDashlet/PipelineBySalesStageConfigure.tpl @@ -0,0 +1,109 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_SALES_STAGES} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PipelineByUserBugsStatusDashlet/PipelineByUserBugsStatusConfigure.tpl b/modules/Charts/a/PipelineByUserBugsStatusDashlet/PipelineByUserBugsStatusConfigure.tpl new file mode 100755 index 00000000..0cc6a3b2 --- /dev/null +++ b/modules/Charts/a/PipelineByUserBugsStatusDashlet/PipelineByUserBugsStatusConfigure.tpl @@ -0,0 +1,115 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_BUG_STATUS} +

    {$LBL_BUG_USERS} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PipelineByUserTasksStatusDashlet/PipelineByUserTasksStatusConfigure.tpl b/modules/Charts/a/PipelineByUserTasksStatusDashlet/PipelineByUserTasksStatusConfigure.tpl new file mode 100755 index 00000000..723cfa43 --- /dev/null +++ b/modules/Charts/a/PipelineByUserTasksStatusDashlet/PipelineByUserTasksStatusConfigure.tpl @@ -0,0 +1,115 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$LBL_TITLE}
    + +
    {$LBL_DATE_START}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_DATE_END}
    {$user_date_format}
    + + {$LBL_ENTER_DATE} +
    {$LBL_TASK_STATUS} +

    {$LBL_TASK_USERS} +
    + +
    +
    +{literal} + +
    diff --git a/modules/Charts/a/PredefinedChartDashletScript.tpl b/modules/Charts/a/PredefinedChartDashletScript.tpl new file mode 100755 index 00000000..a1bb44c3 --- /dev/null +++ b/modules/Charts/a/PredefinedChartDashletScript.tpl @@ -0,0 +1,44 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + diff --git a/modules/Configurator/tpls/EditView.tpl b/modules/Configurator/tpls/EditView.tpl new file mode 100755 index 00000000..ba91039f --- /dev/null +++ b/modules/Configurator/tpls/EditView.tpl @@ -0,0 +1,497 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +
    + + +{$error.main} + + + + + +
    + +   +  
    + + + + + + + + + + + + + + + + + + + + + + + + {if !empty($config.use_real_names)} + {assign var='use_real_names' value='CHECKED'} + {else} + {assign var='use_real_names' value=''} + {/if} + + + + + {if !empty($config.calculate_response_time )} + {assign var='calculate_response_time_checked' value='CHECKED'} + {else} + {assign var='calculate_response_time_checked' value=''} + {/if} + + + {if !empty($config.default_module_favicon)} + {assign var='default_module_favicon' value='CHECKED'} + {else} + {assign var='default_module_favicon' value=''} + {/if} + + + + + + + + + + + + + +

    {$MOD.DEFAULT_SYSTEM_SETTINGS}

    {$MOD.LIST_ENTRIES_PER_LISTVIEW}: + + {$MOD.LIST_ENTRIES_PER_SUBPANEL}: + +
    {$MOD.LOCK_HOMEPAGE}: + {if !empty($config.lock_homepage)} + {assign var='lock_homepage_checked' value='CHECKED'} + {else} + {assign var='lock_homepage_checked' value=''} + {/if} + + + {$MOD.LOCK_SUBPANELS}: + {if !empty($config.lock_subpanels)} + {assign var='lock_subpanels_checked' value='CHECKED'} + {else} + {assign var='lock_subpanels_checked' value=''} + {/if} + + +
    {$MOD.MAX_DASHLETS}: + + {$MOD.LBL_USE_REAL_NAMES}:  {sugar_help text=$MOD.LBL_USE_REAL_NAMES_DESC} + + +
    {$MOD.DISPLAY_RESPONSE_TIME}: {$MOD.LBL_MODULE_FAVICON}  {sugar_help text=$MOD.LBL_MODULE_FAVICON_HELP} + + +
    {$MOD.SYSTEM_NAME} + +
    + {$MOD.CURRENT_LOGO} {sugar_help text=$MOD.CURRENT_LOGO_HELP} + + +
    + {$MOD.NEW_LOGO}: {sugar_help text=$MOD.NEW_LOGO_HELP} + +
    + +
    + + + + + + + + + {if !empty($settings.proxy_on)} + {assign var='proxy_on_checked' value='CHECKED'} + {else} + {assign var='proxy_on_checked' value=''} + {/if} + + + + +

    {$MOD.LBL_PROXY_TITLE}

    {$MOD.LBL_PROXY_ON} {sugar_help text=$MOD.LBL_PROXY_ON_DESC}
    +
    + + + + + + + + {if !empty($settings.proxy_auth)} + {assign var='proxy_auth_checked' value='CHECKED'} + {else} + {assign var='proxy_auth_checked' value=''} + {/if} + +
    {$MOD.LBL_PROXY_HOST}{$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_PROXY_PORT}{$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_PROXY_AUTH}
    + +
    + + + + + + + +
    {$MOD.LBL_PROXY_USERNAME}{$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_PROXY_PASSWORD}{$APP.LBL_REQUIRED_SYMBOL}
    +
    +
    +
    + +
    + + + + {if !empty($settings.system_asterisk_on)} + {assign var='system_asterisk_on_checked' value='CHECKED'} + {else} + {assign var='system_asterisk_on_checked' value=''} + {/if} + + + + {if !empty($settings.system_asterisk_pro)} + {assign var='system_asterisk_pro_checked' value='CHECKED'} + {else} + {assign var='system_asterisk_pro_checked' value=''} + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if !empty($settings.system_asterisk_call_record)} + {assign var='system_asterisk_call_record_checked' value='CHECKED'} + {else} + {assign var='system_asterisk_call_record_checked' value=''} + {/if} + + + + + {if !empty($settings.system_asterisk_phoneicon_on)} + {assign var='system_asterisk_phoneicon_on_checked' value='CHECKED'} + {else} + {assign var='system_asterisk_phoneicon_on_checked' value=''} + {/if} + + + + +

    {$MOD.LBL_ASTERISK_TITLE}

    {$MOD.LBL_ASTERISK_ON} {$MOD.LBL_ASTERISK_ON_DESC}
    {$MOD.LBL_ASTERISK_PRO} {$MOD.LBL_ASTERISK_PRO_DESC}
    {$MOD.LBL_ASTERISK_SERVER} {$MOD.LBL_ASTERISK_SERVER_DESC}
    {$MOD.LBL_ASTERISK_PORT} {$MOD.LBL_ASTERISK_PORT_DESC}
    {$MOD.LBL_ASTERISK_USERNAME} {$MOD.LBL_ASTERISK_USERNAME_DESC}
    {$MOD.LBL_ASTERISK_SECRET} {$MOD.LBL_ASTERISK_SECRET_DESC}
    {$MOD.LBL_ASTERISK_INTERNAL_CONTEXT} {$MOD.LBL_ASTERISK_INTERNAL_CONTEXT_DESC}
    {$MOD.LBL_ASTERISK_EXTERNAL_CONTEXT} {$MOD.LBL_ASTERISK_EXTERNAL_CONTEXT_DESC}
    {$MOD.LBL_ASTERISK_AUTO_PICKUP} {$MOD.LBL_ASTERISK_AUTO_PICKUP_DESC}
    {$MOD.LBL_ASTERISK_PREFIX} {$MOD.LBL_ASTERISK_PREFIX_DESC}
    {$MOD.LBL_ASTERISK_CALL_RECORD} {$MOD.LBL_ASTERISK_CALL_RECORD_DESC}
    {$MOD.LBL_ASTERISK_PHONEICON_ON} {$MOD.LBL_ASTERISK_PHONEICON_ON_DESC}
    +
    + + + +
    +
    +
    +
    +
    + + + + + + + + {if !empty($settings.system_skypeout_on)} + {assign var='system_skypeout_on_checked' value='CHECKED'} + {else} + {assign var='system_skypeout_on_checked' value=''} + {/if} + + +

    {$MOD.LBL_SKYPEOUT_TITLE}

    {$MOD.LBL_SKYPEOUT_ON} {sugar_help text=$MOD.LBL_SKYPEOUT_ON_DESC WIDTH=400}
    + + + + + + + + + {if !empty($settings.system_mailmerge_on)} + {assign var='system_mailmerge_on_checked' value='CHECKED'} + {else} + {assign var='system_mailmerge_on_checked' value=''} + {/if} + + +

    {$MOD.LBL_MAILMERGE}

    {$MOD.LBL_ENABLE_MAILMERGE} {sugar_help text=$MOD.LBL_MAILMERGE_DESC WIDTH=400}
    + + + + + + + + + {if !empty($config.verify_client_ip)} + {assign var='verify_client_ip_checked' value='CHECKED'} + {else} + {assign var='verify_client_ip_checked' value=''} + {/if} + + + + {if !empty($config.log_memory_usage)} + {assign var='log_memory_usage_checked' value='CHECKED'} + {else} + {assign var='log_memory_usage_checked' value=''} + {/if} + + + + + + {if !empty($config.dump_slow_queries)} + {assign var='dump_slow_queries_checked' value='CHECKED'} + {else} + {assign var='dump_slow_queries_checked' value=''} + {/if} + + + + + + + + + + + {if !empty($config.stack_trace_errors)} + {assign var='stack_trace_errors_checked' value='CHECKED'} + {else} + {assign var='stack_trace_errors_checked' value=''} + {/if} + + + + + + + + + {if !empty($config.developerMode)} + {assign var='developerModeChecked' value='CHECKED'} + {else} + {assign var='developerModeChecked' value=''} + {/if} + + + + + + +

    {$MOD.ADVANCED}

    {$MOD.VERIFY_CLIENT_IP}: {$MOD.LOG_MEMORY_USAGE}:
    {$MOD.LOG_SLOW_QUERIES}: {$MOD.SLOW_QUERY_TIME_MSEC}: + +
    {$MOD.UPLOAD_MAX_SIZE}: + + {$MOD.STACK_TRACE_ERRORS}:
    {$MOD.DEVELOPER_MODE}:
    {$MOD.LBL_VCAL_PERIOD} {sugar_help text=$MOD.vCAL_HELP} + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_LOGGER}

    {$MOD.LBL_LOGGER_FILENAME}{$MOD.LBL_LOGGER_FILE_EXTENSION}{$MOD.LBL_LOGGER_FILENAME_SUFFIX}
    {$MOD.LBL_LOGGER_MAX_LOG_SIZE} {$MOD.LBL_LOGGER_DEFAULT_DATE_FORMAT}
    {$MOD.LBL_LOGGER_LOG_LEVEL} {$MOD.LBL_LOGGER_MAX_LOGS}
    {$MOD.LBL_LOGVIEW}
    + + + +
    + +   +   +
    +{$JAVASCRIPT} + + + +
    + +{literal} + +{/literal} diff --git a/modules/Configurator/tpls/SugarpdfSettings.tpl b/modules/Configurator/tpls/SugarpdfSettings.tpl new file mode 100755 index 00000000..9397e048 --- /dev/null +++ b/modules/Configurator/tpls/SugarpdfSettings.tpl @@ -0,0 +1,220 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + +
    +
    +{$error} + + + + +
    + +   +   +
    + + + + +
    + + + + + +
    {html_radios name="sugarpdf_pdf_class" options=$pdf_class selected=$selected_pdf_class separator=' ' onchange='processPDFClass()'}
    + + + + + + + + +

    {$MOD.SUGARPDF_BASIC_SETTINGS}

    + + {counter start=0 assign='count'} + {foreach from=$SugarpdfSettings item=property key=name} + {if $property.class == "basic"} + {counter} + {include file="modules/Configurator/tpls/SugarpdfSettingsFields.tpl"} + {/if} + {/foreach} + {if $count is odd} + + + + {/if} +
    +
    + + + + + + + + + +

    {$MOD.SUGARPDF_LOGO_SETTINGS}

    + + {counter start=0 assign='count'} + {foreach from=$SugarpdfSettings item=property key=name} + {if $property.class == "logo"} + {counter} + {include file="modules/Configurator/tpls/SugarpdfSettingsFields.tpl"} + {/if} + {/foreach} + {if $count is odd} + + + + {/if} +
    +
    + +
    + +
    + +
    +{$JAVASCRIPT} +
    +{literal} + +{/literal} diff --git a/modules/Configurator/tpls/SugarpdfSettingsFields.tpl b/modules/Configurator/tpls/SugarpdfSettingsFields.tpl new file mode 100755 index 00000000..d83c178b --- /dev/null +++ b/modules/Configurator/tpls/SugarpdfSettingsFields.tpl @@ -0,0 +1,95 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{if $property.type == "image"} +{if $count is not odd}
    {$property.label}:{sugar_help text=$property.info_label} + + + +
    {$property.label}:{if isset($property.required) && $property.required == true} *{/if}{sugar_help text=$property.info_label} + {if isset($property.custom)} + {$property.custom} + {elseif $property.type == "text"} + + {elseif $property.type == "number"} + + {if isset($property.unit)} + {$property.unit} + {/if} + {elseif $property.type == "percent"} + + {elseif $property.type == "select"} + {html_options name=$name options=$property.selectList selected=$property.value} + {elseif $property.type == "multiselect"} + + {elseif $property.type == "bool"} + + + {elseif $property.type == "password"} + + {elseif $property.type == "file"} + + {/if} +
    + + + +
    + +
    +
    +
    {if isset($error)}{$MOD.LBL_STATUS_FONT_ERROR}{else}{$MOD.LBL_STATUS_FONT_SUCCESS}{/if}
    +
    {$error}
    +
    {$info}
    + \ No newline at end of file diff --git a/modules/Configurator/tpls/addFontView.tpl b/modules/Configurator/tpls/addFontView.tpl new file mode 100755 index 00000000..9e77a777 --- /dev/null +++ b/modules/Configurator/tpls/addFontView.tpl @@ -0,0 +1,165 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +

    +{$MODULE_TITLE} +

    +
    +{$error} +
    + + + + +
    + +   +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_PDF_METRIC_FILE}: *{sugar_help text=$MOD.LBL_PDF_METRIC_FILE_INFO} + +
    {$MOD.LBL_PDF_FONT_FILE}: *{sugar_help text=$MOD.LBL_PDF_FONT_FILE_INFO} + +
    {$MOD.LBL_FONT_LIST_EMBEDDED}: *{sugar_help text=$MOD.LBL_FONT_LIST_EMBEDDED_INFO} + + +
    {$MOD.LBL_PDF_ENCODING_TABLE}: *{sugar_help text=$MOD.LBL_PDF_ENCODING_TABLE_INFO} + {html_options name="pdf_encoding_table" options=$ENCODING_TABLE} +
    {$MOD.LBL_PDF_PATCH}:{sugar_help text=$MOD.LBL_PDF_PATCH_INFO} + +
    {$MOD.LBL_FONT_LIST_STYLE}: *{sugar_help text=$MOD.LBL_FONT_LIST_STYLE_INFO} + {html_options name="pdf_style_list" options=$STYLE_LIST} +
    +
    +
    + +
    +
    +{literal} + diff --git a/modules/Configurator/tpls/adminwizard.tpl b/modules/Configurator/tpls/adminwizard.tpl new file mode 100755 index 00000000..f11ed8f2 --- /dev/null +++ b/modules/Configurator/tpls/adminwizard.tpl @@ -0,0 +1,725 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + +{$MOD.LBL_WIZARD_TITLE} +{$SUGAR_JS} +{$SUGAR_CSS} +{$CSS} +{overlib_includes} + +{literal} + +{/literal} + +
    +
    + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/bool.tpl b/modules/DynamicFields/templates/Fields/Forms/bool.tpl new file mode 100755 index 00000000..2156a69b --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/bool.tpl @@ -0,0 +1,45 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl b/modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl new file mode 100755 index 00000000..07ae79de --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl @@ -0,0 +1,67 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{if $vardef.type != 'bool'} + +{/if} + +{if !$hideImportable} + +{/if} +{if !$hideDuplicatable} + +{/if} +
    + +
    + + +{$error.main} + + + + + +
    +
    +
    +
    +
    +
    + + + + +
    +
    + + + + + + + +

    {$MOD.LBL_WIZARD_WELCOME_TITLE}

    +

    {$MOD.LBL_WIZARD_WELCOME}

    +
    +
    +
    +
    + +
    + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_WIZARD_SYSTEM_TITLE}

    {$MOD.LBL_WIZARD_SYSTEM_DESC}
    {$MOD.SYSTEM_NAME_WIZARD} {sugar_help text=$MOD.SYSTEM_NAME_HELP} + +
    {$MOD.NEW_LOGO} {sugar_help text=$MOD.NEW_LOGO_HELP} + +
    + +
    {$MOD.CURRENT_LOGO} {sugar_help text=$MOD.CURRENT_LOGO_HELP} + +
    +
    +
    + +
    + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {sugar_translate module='Administration' label='LBL_LOCALE_TITLE'}

    {$MOD.LBL_WIZARD_LOCALE_DESC}
    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_DATE_FORMAT'}: + {html_options name='default_date_format' selected=$config.default_date_format options=$config.date_formats} + {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_TIME_FORMAT'}: + {html_options name='default_time_format' selected=$config.default_time_format options=$config.time_formats} +
    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_LANGUAGE'}: + {html_options name='default_language' selected=$config.default_language options=$LANGUAGES} +

    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_CURRENCY_NAME'}: + + {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_CURRENCY_SYMBOL'}: + +
    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_CURRENCY_ISO4217'}: + + {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_NUMBER_GROUPING_SEP'}: + +
    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_DECIMAL_SEP'}: + +

    {sugar_translate module='Administration' label='LBL_LOCALE_DEFAULT_NAME_FORMAT'}: + +
    + {sugar_translate module='Administration' label='LBL_LOCALE_NAME_FORMAT_DESC'} +
    {sugar_translate module='Administration' label='LBL_LOCALE_EXAMPLE_NAME_FORMAT'}:
    +
    +
    + +
    + +
    + + + +
    +
    + + + + + + + + + + + + + + + + +
    +

    {$MOD.LBL_MAIL_SMTP_SETTINGS}

    +
    {$MOD.LBL_WIZARD_SMTP_DESC}
    {$MOD.LBL_CHOOSE_EMAIL_PROVIDER}
    + +
    + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_MAIL_SMTPSERVER} {$MOD.LBL_MAIL_SMTPPORT}
    {$MOD.LBL_MAIL_SMTPAUTH_REQ} + + {$APP.LBL_EMAIL_SMTP_SSL_OR_TLS} + +
    {$MOD.LBL_MAIL_SMTPUSER}   
    {$MOD.LBL_MAIL_SMTPPASS}   
    + + {$MOD.LBL_ALLOW_DEFAULT_SELECTION}  + + + + + + + +   
    +   +   +   
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    + + +
    + + + +
    +
    +
    + + + + + + + + +
    + {$APP.LBL_EMAIL_SETTINGS_FROM_TO_EMAIL_ADDR} + + + + +
    +   +   +
    +
    +
    +
    + +{literal} + diff --git a/modules/Configurator/tpls/fontmanager.tpl b/modules/Configurator/tpls/fontmanager.tpl new file mode 100755 index 00000000..6a5feae4 --- /dev/null +++ b/modules/Configurator/tpls/fontmanager.tpl @@ -0,0 +1,119 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} +

    +{$MODULE_TITLE} +

    +
    + + + + + +{$error} +
    + + + + +
    +   + +
    + +
    +
    +
    + +
    +{literal} + diff --git a/modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl b/modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl new file mode 100755 index 00000000..1c279ae5 --- /dev/null +++ b/modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl @@ -0,0 +1,79 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} + \ No newline at end of file diff --git a/modules/Connectors/tpls/administration.tpl b/modules/Connectors/tpls/administration.tpl new file mode 100755 index 00000000..317a1648 --- /dev/null +++ b/modules/Connectors/tpls/administration.tpl @@ -0,0 +1,101 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + +
    + + + + + + + + + + + + + + +
      {$mod.LBL_MODIFY_PROPERTIES_TITLE}
    + {$mod.LBL_MODIFY_PROPERTIES_DESC} +
     
      {$mod.LBL_MODIFY_DISPLAY_TITLE}
    + {$mod.LBL_MODIFY_DISPLAY_DESC} +
    +
      + + + + + + + + + + + + + + + + + + +
      {$mod.LBL_MODIFY_MAPPING_TITLE}
    + {$mod.LBL_MODIFY_MAPPING_DESC} +
     
    + +    + {* BEGIN SUGARCRM flav=pro || flav=sales ONLY *} + {$mod.LBL_MODIFY_SEARCH_TITLE}
    + {$mod.LBL_MODIFY_SEARCH_DESC} + {* END SUGARCRM flav=pro || flav=sales ONLY *} +
    +
     
    \ No newline at end of file diff --git a/modules/Connectors/tpls/display_properties.tpl b/modules/Connectors/tpls/display_properties.tpl new file mode 100755 index 00000000..e313a057 --- /dev/null +++ b/modules/Connectors/tpls/display_properties.tpl @@ -0,0 +1,206 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + + + + +
    +{$mod.LBL_ENABLED} + +{$mod.LBL_DISABLED} + 
    +
    +
      +{foreach from=$enabled_modules item=module} +
    • {$module}
    • +{/foreach} +
    +
    +
    +
    +
      +{foreach from=$disabled_modules item=module} +
    • {$module}
    • +{/foreach} +
    +
    +
     
    + + \ No newline at end of file diff --git a/modules/Connectors/tpls/listview.tpl b/modules/Connectors/tpls/listview.tpl new file mode 100755 index 00000000..9e18a37e --- /dev/null +++ b/modules/Connectors/tpls/listview.tpl @@ -0,0 +1,81 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + +{/if} +{/foreach} + + + +{foreach name=rowIteration from=$DATA key=id item=bean} + {counter name="offset" print=false} + {if $smarty.foreach.rowIteration.iteration is odd} + {assign var='_bgColor' value=$bgColor[0]} + {assign var='_rowColor' value=$rowColor[0]} + {assign var='_class' value='oddListRowS1'} + {else} + {assign var='_bgColor' value=$bgColor[1]} + {assign var='_rowColor' value=$rowColor[1]} + {assign var='_class' value='evenListRowS1'} + {/if} + + + + {foreach from=$displayColumns key=colHeader item=params} + {if $colHeader != 'id'} + + {/if} + {/foreach} + + + + +{/foreach} +
    {$APP.LBL_SELECT_BUTTON_LABEL} +{foreach from=$displayColumns key=colHeader item=params} +{if $colHeader != 'id'} + + {sugar_translate label=$params.label module=$module} + +
    + + + {sugar_connector_display bean=$bean field=$colHeader source=$source_id}
    diff --git a/modules/Connectors/tpls/mapping_properties.tpl b/modules/Connectors/tpls/mapping_properties.tpl new file mode 100755 index 00000000..e75b7b76 --- /dev/null +++ b/modules/Connectors/tpls/mapping_properties.tpl @@ -0,0 +1,84 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
    +{foreach from=$display_data key=module item=data} + + + + + + + + +
    {$module}
    {$mod.LBL_CONNECTOR_FIELDS}{$mod.LBL_MODULE_FIELDS}
    + + + + + +
    +{foreach from=$data.field_keys key=field_id item=field} +{if $field_id != 'id'} +
    + + + + + +
    +{$field} + + +
    +
    +{/if} +{/foreach} +
    + +
    +{/foreach} +
    + +{if $empty_mapping} +

    {$mod.ERROR_NO_SEARCHDEFS_DEFINED}

    +{/if} + diff --git a/modules/Connectors/tpls/modify_display.tpl b/modules/Connectors/tpls/modify_display.tpl new file mode 100755 index 00000000..d52da644 --- /dev/null +++ b/modules/Connectors/tpls/modify_display.tpl @@ -0,0 +1,187 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + + +{/literal} +
    + + + + +{counter assign=source_count start=0 print=0} +{foreach name=connectors from=$SOURCES key=name item=source} +{counter assign=source_count} + +{/foreach} + + + + + + +
    + + +
    + + +
    +
    +
    +
    +
    +
    + + +
    + + +
    +
    + + + + + \ No newline at end of file diff --git a/modules/Connectors/tpls/modify_mapping.tpl b/modules/Connectors/tpls/modify_mapping.tpl new file mode 100755 index 00000000..c65e30b4 --- /dev/null +++ b/modules/Connectors/tpls/modify_mapping.tpl @@ -0,0 +1,182 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + + +{/literal} +
    + + + + + +{counter assign=source_count start=0 print=0} +{foreach name=connectors from=$SOURCES key=name item=source} +{counter assign=source_count} + +{/foreach} + + + + + + +
    + + +
    + + +
    +
    +
    +
    +
    +
    + + +
    + + +
    +
    + +{literal} + +{/literal} \ No newline at end of file diff --git a/modules/Connectors/tpls/modify_properties.tpl b/modules/Connectors/tpls/modify_properties.tpl new file mode 100755 index 00000000..701c0a60 --- /dev/null +++ b/modules/Connectors/tpls/modify_properties.tpl @@ -0,0 +1,154 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + + +{/literal} +
    + + + + + + +{counter assign=source_count start=0 print=0} +{foreach name=connectors from=$SOURCES key=name item=source} +{counter assign=source_count} + +{/foreach} + + + +
    + + +
    + + + + +
    +
    +
    + +
    +
    +
    + + +
    + + +
    +
    + + \ No newline at end of file diff --git a/modules/Connectors/tpls/modify_search.tpl b/modules/Connectors/tpls/modify_search.tpl new file mode 100755 index 00000000..ca088a50 --- /dev/null +++ b/modules/Connectors/tpls/modify_search.tpl @@ -0,0 +1,183 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + + +{/literal} +
    + + + + + +{counter assign=source_count start=0 print=0} +{if count($SOURCES) == 0} + {$MOD.ERROR_NO_SEARCHDEFS_MAPPED} +{else} + {foreach name=connectors from=$SOURCES key=name item=source} + {counter assign=source_count} + + {/foreach} +{/if} + + + + + + +
    + + +
    + + +
    +
    +
    +
    +
    +
    + + +
    + + +
    +
    + + + \ No newline at end of file diff --git a/modules/Connectors/tpls/search_form.tpl b/modules/Connectors/tpls/search_form.tpl new file mode 100755 index 00000000..73421da5 --- /dev/null +++ b/modules/Connectors/tpls/search_form.tpl @@ -0,0 +1,71 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + +
    +

    {$mod.LBL_MODIFY_SEARCH}

    + +
    +
    + + + + +{if !empty($search_fields) } + + {counter assign=field_count start=0 print=0} + {foreach from=$search_fields key=field_name item=field_value} + {counter assign=field_count} + {if ($field_count % 3 == 1 && $field_count != 1)} + + {/if} + + + {/foreach} +{else} + {$mod.ERROR_NO_SEARCHDEFS_MAPPING} +{/if} +
    + {$field_value.label}: + + +
    +  + +
    \ No newline at end of file diff --git a/modules/Connectors/tpls/search_properties.tpl b/modules/Connectors/tpls/search_properties.tpl new file mode 100755 index 00000000..6ff5c577 --- /dev/null +++ b/modules/Connectors/tpls/search_properties.tpl @@ -0,0 +1,220 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +
    +{foreach from=$display_data key=module item=data} + + + + + + + + + + + + +
    {$module}
    {$mod.LBL_DEFAULT}{$mod.LBL_AVAILABLE}
    +
    +
      +{foreach from=$data.enabled key=enabled_id item=enabled_value} +
    • {$enabled_value}
    • +{/foreach} +
    +
    +
    +
    +
      +{foreach from=$data.disabled key=disabled_id item=disabled_value} +
    • {$disabled_value}
    • +{/foreach} +
    +
    +
    +
    +{/foreach} +
    + + + +{if $no_searchdefs_defined} +

    {$mod.ERROR_NO_SEARCHDEFS_DEFINED}

    +{/if} \ No newline at end of file diff --git a/modules/Connectors/tpls/source_properties.tpl b/modules/Connectors/tpls/source_properties.tpl new file mode 100755 index 00000000..6f01c694 --- /dev/null +++ b/modules/Connectors/tpls/source_properties.tpl @@ -0,0 +1,81 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +
    +{if !empty($connector_language.LBL_LICENSING_INFO)} +{$connector_language.LBL_LICENSING_INFO} +{/if} +
    + +{if !empty($properties)} +{foreach from=$properties key=name item=value} + + + + +{/foreach} +{if $hasTestingEnabled} + + + + + + +{/if} +{else} + + + + +{/if} +
    +{$connector_language[$name]}:  +{if isset($required_properties[$name])} +* +{/if} + +
    + +
    +  +
     {$mod.LBL_NO_PROPERTIES}
    + + \ No newline at end of file diff --git a/modules/Contacts/tpls/QuickCreate.tpl b/modules/Contacts/tpls/QuickCreate.tpl new file mode 100755 index 00000000..347b16d4 --- /dev/null +++ b/modules/Contacts/tpls/QuickCreate.tpl @@ -0,0 +1,91 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{* -- Begin QuickCreate Specific -- *} + + + + + + + + +{* -- End QuickCreate Specific -- *} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/Currencies/EditView.tpl b/modules/Currencies/EditView.tpl new file mode 100755 index 00000000..b462a1d0 --- /dev/null +++ b/modules/Currencies/EditView.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_LIST_NAME}: {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_LIST_ISO4217}: {sugar_help text=$MOD.LBL_LIST_ISO4217_HELP}
    {$MOD.LBL_LIST_RATE}: {$APP.LBL_REQUIRED_SYMBOL} + +{$MOD.LBL_LIST_SYMBOL}: {$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_LIST_STATUS}: {$MOD.NTC_STATUS}
    +
    + +
    +{$JAVASCRIPT} diff --git a/modules/Documents/tpl/parentlist_DetailView.tpl b/modules/Documents/tpl/parentlist_DetailView.tpl new file mode 100644 index 00000000..72c25202 --- /dev/null +++ b/modules/Documents/tpl/parentlist_DetailView.tpl @@ -0,0 +1,4 @@ + +{foreach from=$PARENT_LIST key=k item=v} +
  • {$v.parent_name}
  • +{/foreach} diff --git a/modules/Documents/tpl/parentlist_EditView.tpl b/modules/Documents/tpl/parentlist_EditView.tpl new file mode 100644 index 00000000..ec1234b9 --- /dev/null +++ b/modules/Documents/tpl/parentlist_EditView.tpl @@ -0,0 +1,31 @@ + + + + + + + +
    + + + + + +
    diff --git a/modules/Documents/tpl/userlist_DetailView.tpl b/modules/Documents/tpl/userlist_DetailView.tpl new file mode 100644 index 00000000..8e03162c --- /dev/null +++ b/modules/Documents/tpl/userlist_DetailView.tpl @@ -0,0 +1,158 @@ + +{foreach from=$USER_LIST key=k item=v} +
  • + {$v.user_name} + {*brak akceptacji*} + {if $v.accepted == '0'} + {*brak akceptacji i brak opisu i jest sie zalogowanym uzytkownikiem*} + {if $v.accepted_description == '' && $v.user_id eq $CURRENT_USER} + + + {/if} + {*brak akceptacji i jest opis i jest sie zalogowanym uzytkownikiem*} + {if $v.accepted_description != '' && $v.user_id eq $CURRENT_USER} + + Status: Oczekuje {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {elseif $v.accepted_description != '' } + + Status: Oczekuje {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if} + {/if} + {*Jest akceptacja bądź odrzucony*} + {if $v.accepted == '1'} + + Status: Zaakceptowano {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if} + {if $v.accepted == '2'} + + Status: Odrzucono {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if}
  • + {/foreach} diff --git a/modules/Documents/tpl/userlist_EditView.tpl b/modules/Documents/tpl/userlist_EditView.tpl new file mode 100644 index 00000000..50626b84 --- /dev/null +++ b/modules/Documents/tpl/userlist_EditView.tpl @@ -0,0 +1,25 @@ + + + + + + + +
      + + + + + + + + +
    diff --git a/modules/Documents/tpl/vatlist_DetailView.tpl b/modules/Documents/tpl/vatlist_DetailView.tpl new file mode 100644 index 00000000..7e9210c4 --- /dev/null +++ b/modules/Documents/tpl/vatlist_DetailView.tpl @@ -0,0 +1,9 @@ + + + + + +{foreach from=$VAT_LIST key=k item=v} + +{/foreach} +
    Stawka VATWartość NettoWartość VAT
    {$v.vat_value}{$v.netto|number_format:2:".":","}{$v.vat|number_format:2:".":","}
    \ No newline at end of file diff --git a/modules/Documents3/tpl/fieldList_DetailView.tpl b/modules/Documents3/tpl/fieldList_DetailView.tpl new file mode 100755 index 00000000..f3407fe2 --- /dev/null +++ b/modules/Documents3/tpl/fieldList_DetailView.tpl @@ -0,0 +1,6 @@ + +{* +{$fields.register_date.value}
    +{$fields.category.value}
    +{$fields.document_number.value}
    +

    *} \ No newline at end of file diff --git a/modules/Documents3/tpl/fieldList_EditView.tpl b/modules/Documents3/tpl/fieldList_EditView.tpl new file mode 100755 index 00000000..c9f7eab5 --- /dev/null +++ b/modules/Documents3/tpl/fieldList_EditView.tpl @@ -0,0 +1,14 @@ + +Enter Date + +
    \ No newline at end of file diff --git a/modules/Documents3/tpl/parentlist_DetailView.tpl b/modules/Documents3/tpl/parentlist_DetailView.tpl new file mode 100755 index 00000000..72c25202 --- /dev/null +++ b/modules/Documents3/tpl/parentlist_DetailView.tpl @@ -0,0 +1,4 @@ + +{foreach from=$PARENT_LIST key=k item=v} +
  • {$v.parent_name}
  • +{/foreach} diff --git a/modules/Documents3/tpl/parentlist_EditView.tpl b/modules/Documents3/tpl/parentlist_EditView.tpl new file mode 100755 index 00000000..9dfb83ab --- /dev/null +++ b/modules/Documents3/tpl/parentlist_EditView.tpl @@ -0,0 +1,14 @@ + + + + + + +
    \ No newline at end of file diff --git a/modules/Documents3/tpl/timeTable_EditView.tpl b/modules/Documents3/tpl/timeTable_EditView.tpl new file mode 100755 index 00000000..8ee638ca --- /dev/null +++ b/modules/Documents3/tpl/timeTable_EditView.tpl @@ -0,0 +1,6 @@ + + +
    + +
    +
    \ No newline at end of file diff --git a/modules/Documents3/tpl/userlist_DetailView.tpl b/modules/Documents3/tpl/userlist_DetailView.tpl new file mode 100755 index 00000000..8e03162c --- /dev/null +++ b/modules/Documents3/tpl/userlist_DetailView.tpl @@ -0,0 +1,158 @@ + +{foreach from=$USER_LIST key=k item=v} +
  • + {$v.user_name} + {*brak akceptacji*} + {if $v.accepted == '0'} + {*brak akceptacji i brak opisu i jest sie zalogowanym uzytkownikiem*} + {if $v.accepted_description == '' && $v.user_id eq $CURRENT_USER} + + + {/if} + {*brak akceptacji i jest opis i jest sie zalogowanym uzytkownikiem*} + {if $v.accepted_description != '' && $v.user_id eq $CURRENT_USER} + + Status: Oczekuje {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {elseif $v.accepted_description != '' } + + Status: Oczekuje {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if} + {/if} + {*Jest akceptacja bądź odrzucony*} + {if $v.accepted == '1'} + + Status: Zaakceptowano {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if} + {if $v.accepted == '2'} + + Status: Odrzucono {$v.date_accepted|date_format:"%d.%m.%Y %H.%M:%S"} + + {/if}
  • + {/foreach} diff --git a/modules/Documents3/tpl/userlist_EditView.tpl b/modules/Documents3/tpl/userlist_EditView.tpl new file mode 100755 index 00000000..a7a6459c --- /dev/null +++ b/modules/Documents3/tpl/userlist_EditView.tpl @@ -0,0 +1,12 @@ + + + + +
    \ No newline at end of file diff --git a/modules/Documents3/tpl/vatlist_DetailView.tpl b/modules/Documents3/tpl/vatlist_DetailView.tpl new file mode 100755 index 00000000..84ed1bf6 --- /dev/null +++ b/modules/Documents3/tpl/vatlist_DetailView.tpl @@ -0,0 +1,19 @@ + + + + + +{foreach from=$VAT_LIST key=k item=v} + + + + + +{/foreach} +
    Stawka VATWartość NettoWartość VAT
    + {$v.vat_value} + + {if $v.netto != 'NaN' or $v.netto != 'NaN.NaN' }{$v.netto|number_format:2:",":"."}{/if} + + {$v.vat|number_format:2:",":"."} +
    \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/address.tpl b/modules/DynamicFields/templates/Fields/Forms/address.tpl new file mode 100755 index 00000000..71c3db13 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/address.tpl @@ -0,0 +1,85 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} + + + {if $action=="saveSugarField"} + + {/if} + {literal} + + + {else} + {$vardef.len} + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: 5}disabled{/if} />{if $hideLevel > 5}{/if}
    {$MOD.COLUMN_TITLE_REQUIRED_OPTION}: 5}disabled{/if}/>{if $hideLevel > 5}{/if}
    {$MOD.COLUMN_TITLE_AUDIT}: 5}disabled{/if}/>{if $hideLevel > 5}{/if}
    {$MOD.COLUMN_TITLE_IMPORTABLE}: + {if $hideLevel < 5} + {html_options name="importable" id="importable" selected=$vardef.importable options=$importable_options} + {sugar_help text=$mod_strings.LBL_POPHELP_IMPORTABLE FIXX=260 FIXY=300} + {else} + {if isset($vardef.importable)}{$importable_options[$vardef.importable]} + {else}{$importable_options.true}{/if} + {/if} +
    {$MOD.COLUMN_TITLE_DUPLICATE_MERGE}: +{if $hideLevel < 5} + {html_options name="duplicate_merge" id="duplicate_merge" selected=$vardef.duplicate_merge_dom_value options=$duplicate_merge_options} + {sugar_help text=$mod_strings.LBL_POPHELP_DUPLICATE_MERGE FIXX=260 FIXY=0} +{else} + {if isset($vardef.duplicate_merge_dom_value)}{$vardef.duplicate_merge_dom_value} + {else}{$duplicate_merge_options[0]}{/if} +{/if} +
    \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/coreTop.tpl b/modules/DynamicFields/templates/Fields/Forms/coreTop.tpl new file mode 100755 index 00000000..bf24ccae --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/coreTop.tpl @@ -0,0 +1,90 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + + + + + + + + + + + + + diff --git a/modules/DynamicFields/templates/Fields/Forms/currency.tpl b/modules/DynamicFields/templates/Fields/Forms/currency.tpl new file mode 100755 index 00000000..4a88fdae --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/currency.tpl @@ -0,0 +1,52 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/date.tpl b/modules/DynamicFields/templates/Fields/Forms/date.tpl new file mode 100755 index 00000000..59cde8ba --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/date.tpl @@ -0,0 +1,62 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/datetimecombo.tpl b/modules/DynamicFields/templates/Fields/Forms/datetimecombo.tpl new file mode 100755 index 00000000..c6a6f6da --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/datetimecombo.tpl @@ -0,0 +1,107 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + +*} + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} +{literal} + +{/literal} + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/encrypt.tpl b/modules/DynamicFields/templates/Fields/Forms/encrypt.tpl new file mode 100755 index 00000000..40b16d02 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/encrypt.tpl @@ -0,0 +1,50 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + +*} + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/enum.tpl b/modules/DynamicFields/templates/Fields/Forms/enum.tpl new file mode 100755 index 00000000..2f3dd427 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/enum.tpl @@ -0,0 +1,77 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/float.tpl b/modules/DynamicFields/templates/Fields/Forms/float.tpl new file mode 100755 index 00000000..10af6ba5 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/float.tpl @@ -0,0 +1,81 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + {else} + {$vardef.len} + {/if} + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/html.tpl b/modules/DynamicFields/templates/Fields/Forms/html.tpl new file mode 100755 index 00000000..d436493c --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/html.tpl @@ -0,0 +1,74 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} + + +{/literal} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/iframe.tpl b/modules/DynamicFields/templates/Fields/Forms/iframe.tpl new file mode 100755 index 00000000..314f544e --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/iframe.tpl @@ -0,0 +1,115 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/image.tpl b/modules/DynamicFields/templates/Fields/Forms/image.tpl new file mode 100755 index 00000000..ed9685de --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/image.tpl @@ -0,0 +1,77 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/int.tpl b/modules/DynamicFields/templates/Fields/Forms/int.tpl new file mode 100755 index 00000000..df6a10f0 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/int.tpl @@ -0,0 +1,123 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + + + + {else} + {$vardef.len} + {/if} + + +{* + +*} +{if !empty($vardef.auto_increment) } + + + + +{/if} + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/multienum.tpl b/modules/DynamicFields/templates/Fields/Forms/multienum.tpl new file mode 100755 index 00000000..a25e95e9 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/multienum.tpl @@ -0,0 +1,88 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} + + diff --git a/modules/DynamicFields/templates/Fields/Forms/parent.tpl b/modules/DynamicFields/templates/Fields/Forms/parent.tpl new file mode 100755 index 00000000..a2555aa6 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/parent.tpl @@ -0,0 +1,87 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
    {$MOD.COLUMN_TITLE_NAME}: + {if $hideLevel == 0} + name) && $package->name != "studio"}30{else}28{/if} type="text" name="name" value="{$vardef.name}" + onchange=" + document.getElementById('label_key_id').value = 'LBL_'+document.getElementById('field_name_id').value.toUpperCase(); + document.getElementById('label_value_id').value = document.getElementById('field_name_id').value.replace(/_/,' '); + document.getElementById('field_name_id').value = document.getElementById('field_name_id').value.toLowerCase();" /> + {else} + + {$vardef.name} + {/if} + +
    {$MOD.COLUMN_TITLE_DISPLAY_LABEL}: + +
    {$MOD.COLUMN_TITLE_LABEL}: + {if $hideLevel < 1} + + {else} + + + {/if} +
    {$MOD.COLUMN_TITLE_HELP_TEXT}:{if $hideLevel < 5 }{else}{$vardef.help}{/if} +
    {$MOD.COLUMN_TITLE_COMMENT_TEXT}:{if $hideLevel < 5 }{else}{$vardef.comment}{/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: +{if $hideLevel < 5} + + +{else} +{sugar_currency_format var=$vardef.default} +{/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + {html_options name='default' options=$default_values selected=$vardef.display_default} + {else} + {$vardef.display_default} + {/if} +
    {$MOD.COLUMN_TITLE_MASS_UPDATE}: + {if $hideLevel < 5} + + {else} + + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + {html_options name='defaultDate' id='defaultDate_date' options=$default_values selected=$default_date} + {else} + {$default_date} + {/if} +
    + {if $hideLevel < 5} +
    + {html_options name='defaultHours' size='1' id='defaultTime_hours' options=$default_hours_values onchange="timeValueUpdate();" selected=$default_hours} + : + {html_options name='defaultMinutes' size='1' id='defaultTime_minutes' options=$default_minutes_values onchange="timeValueUpdate();" selected=$default_minutes} + {if $show_meridiem === true} + {html_options name='defaultMeridiem' size='1' id='defaultTime_meridiem' options=$default_meridiem_values onchange="timeValueUpdate();" selected=$default_meridiem} + {/if} +
    + + {else} + {$defaultTime} + {/if} +
    {$MOD.COLUMN_TITLE_MASS_UPDATE}: + {if $hideLevel < 5} + + {else} + + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + {$vardef.default} + {/if} +
    {$MOD.LBL_DROP_DOWN_LIST}: + {if $hideLevel < 5} + {html_options name="options" id="options" selected=$selected_dropdown values=$dropdowns output=$dropdowns onChange="ModuleBuilder.dropdownChanged(this.value);"}
      + {else} + {$selected_dropdown} + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + {html_options name="default[]" id="default[]" selected=$selected_options options=$default_dropdowns multiple=$multi} + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MASS_UPDATE}: + {if $hideLevel < 5} + + {else} + + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} +
    {$MOD.COLUMN_TITLE_PRECISION}: + {if $hideLevel < 5} + + + {else} + {$vardef.precision} + {/if} +
    {$MOD.COLUMN_TITLE_HTML_CONTENT}: + {if $hideLevel < 5} + + + {else} + + + {/if} +
    +
    {$MOD.LBL_GENERATE_URL}: + {if $hideLevel < 5} + + {else} + + {/if} +
    {html_options name="flo" id="fieldListOptions" options=$fieldOpts} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} + + {literal} + + {/literal} + {else} + {$vardef.len} + {/if} +
    {$MOD.COLUMN_TITLE_FRAME_HEIGHT}: + {if $hideLevel < 5} + + {else} + {$vardef.height} + {/if} +
    {$MOD.LBL_IMAGE_WIDTH}: + + {sugar_help text=$mod_strings.LBL_POPHELP_IMAGE_WIDTH FIXX=300 FIXY=200} +
    {$MOD.LBL_IMAGE_HEIGHT}: + + {sugar_help text=$mod_strings.LBL_POPHELP_IMAGE_HEIGHT FIXX=300 FIXY=220} +
    {$MOD.LBL_IMAGE_BORDER}: + +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MIN_VALUE}: + {if $hideLevel < 5} + + + {else} + {$vardef.range.min} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_VALUE}: + {if $hideLevel < 5} + + + {else} + {$vardef.range.max} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} +
    {$MOD.COLUMN_TITLE_AUTOINC_NEXT}: + + + + +
    {$MOD.COLUMN_DISABLE_NUMBER_FORMAT}: + 5}disabled{/if} /> + {if $hideLevel > 5}{/if} +
    {$MOD.LBL_DROP_DOWN_LIST}: + {if $hideLevel < 5} + {html_options name="ext1" id="ext1" selected=$cf.ext1 values=$dropdowns output=$dropdowns onChange="dropdownChanged(this.value);"} + {else} + {$cf.ext1} + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + {html_options name="default_value" id="default_value" selected=$cf.default_value options=$selected_dropdown } + {else} + {$cf.default_value} + {/if} +
    {$MOD.COLUMN_TITLE_DISPLAYED_ITEM_COUNT}: + {if $hideLevel < 5} + + + {else} + {$cf.ext2} + {/if} +
    {$MOD.COLUMN_TITLE_MASS_UPDATE}: + {if $hideLevel < 5} + + {else} + + {/if} +
    + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} diff --git a/modules/DynamicFields/templates/Fields/Forms/relate.tpl b/modules/DynamicFields/templates/Fields/Forms/relate.tpl new file mode 100755 index 00000000..8262fd63 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/relate.tpl @@ -0,0 +1,53 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/text.tpl b/modules/DynamicFields/templates/Fields/Forms/text.tpl new file mode 100755 index 00000000..d203e1e7 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/text.tpl @@ -0,0 +1,75 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/url.tpl b/modules/DynamicFields/templates/Fields/Forms/url.tpl new file mode 100755 index 00000000..a2f67d35 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/url.tpl @@ -0,0 +1,117 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + + + + + + + + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/DynamicFields/templates/Fields/Forms/varchar.tpl b/modules/DynamicFields/templates/Fields/Forms/varchar.tpl new file mode 100755 index 00000000..4ed255a2 --- /dev/null +++ b/modules/DynamicFields/templates/Fields/Forms/varchar.tpl @@ -0,0 +1,83 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"} + + + + + + + + +{include file="modules/DynamicFields/templates/Fields/Forms/coreBottom.tpl"} \ No newline at end of file diff --git a/modules/EcmAccountCategories/tpls/QuickCreate.tpl b/modules/EcmAccountCategories/tpls/QuickCreate.tpl new file mode 100644 index 00000000..35bdadeb --- /dev/null +++ b/modules/EcmAccountCategories/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + +
    {$MOD.COLUMN_TITLE_NAME}: +{if $hideLevel == 0} + parent_name +{else} + {$vardef.name}{/if} + +
    {$MOD.COLUMN_TITLE_LABEL}: + {if $hideLevel < 5} + + {else} + {$vardef.vname} + {/if} +
    {$MOD.COLUMN_TITLE_LABEL_VALUE}: + +
    {$MOD.COLUMN_TITLE_HELP_TEXT}: + {if $hideLevel < 5 } + + {else} + {$vardef.help} + {/if} +
    {$MOD.LBL_MODULE}: + {if $hideLevel == 0} + {html_options name="ext2" id="ext2" selected=$vardef.module options=$modules} + {else} + {$vardef.module} + {/if} + +
    {$MOD.COLUMN_TITLE_LABEL_ROWS}: + {if $hideLevel < 4} + + {else} + {$vardef.rows} + {/if} +
    {$MOD.COLUMN_TITLE_LABEL_COLS}: + {if $hideLevel < 4} + + {else} + {$vardef.cols} + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + + + {/if} +
    {$MOD.LBL_GENERATE_URL}: + {if $hideLevel < 5} + + {else} + + {/if} +
    {html_options name="flo" id="fieldListOptions" options=$fieldOpts} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} + + {literal} + + {/literal} + {else} + {$vardef.len} + {/if} +
    {$MOD.LBL_LINK_TARGET}: + {if $hideLevel < 5} + + {else} + + + {/if} +
    {$MOD.COLUMN_TITLE_DEFAULT_VALUE}: + {if $hideLevel < 5} + + {else} + {$vardef.default} + {/if} +
    {$MOD.COLUMN_TITLE_MAX_SIZE}: + {if $hideLevel < 5} + + + {if $action=="saveSugarField"} + + {/if} + {literal} + + {/literal} + {else} + {$vardef.len} + {/if} +
    + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPRODUCTCATEGORY_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmAccountCategories/tpls/searchByCategory.tpl b/modules/EcmAccountCategories/tpls/searchByCategory.tpl new file mode 100644 index 00000000..e69de29b diff --git a/modules/EcmActions/tpl/EditViewTime.tpl b/modules/EcmActions/tpl/EditViewTime.tpl new file mode 100755 index 00000000..0ae1d96a --- /dev/null +++ b/modules/EcmActions/tpl/EditViewTime.tpl @@ -0,0 +1,4 @@ +Godziny:     +Minuty:     +Sekundy:     + \ No newline at end of file diff --git a/modules/EcmAgreements/tpl/AgreementTemplates.tpl b/modules/EcmAgreements/tpl/AgreementTemplates.tpl new file mode 100755 index 00000000..837091b7 --- /dev/null +++ b/modules/EcmAgreements/tpl/AgreementTemplates.tpl @@ -0,0 +1,49 @@ + + + + +

    {$MOD.LBL_AGREEMENT_TEMPLATE_EDITOR}

    +
    + +{html_options name=templates id=templates options=$templates} + + + + + + + +

    +
    +{$MOD.LBL_MARGIN_TOP} +{$MOD.LBL_MARGIN_BOTTOM} +{$MOD.LBL_MARGIN_LEFT} +{$MOD.LBL_MARGIN_RIGHT} + + + + + + +
    + + + {$MOD.LBL_AGREEMENT_TEMPLATE_HELP}

    + +
    +
    +
    +

    {$MOD.LBL_PDF_TEMPLATE_ADITIONAL_FIELDS}

    +{$MOD.LBL_PDF_TEMPLATE_ADITIONAL_FIELDS_HELP} + +
    \ No newline at end of file diff --git a/modules/EcmAgreements/tpl/EditViewAditionalFields.tpl b/modules/EcmAgreements/tpl/EditViewAditionalFields.tpl new file mode 100755 index 00000000..fc5df7d9 --- /dev/null +++ b/modules/EcmAgreements/tpl/EditViewAditionalFields.tpl @@ -0,0 +1,7 @@ + +
    +

    Szablon umowy:  

    +

    Pola dodatkowe z szablonu

    + + +
    \ No newline at end of file diff --git a/modules/EcmAgreements/tpl/EditViewPDFTemplate.tpl b/modules/EcmAgreements/tpl/EditViewPDFTemplate.tpl new file mode 100755 index 00000000..9e8b3077 --- /dev/null +++ b/modules/EcmAgreements/tpl/EditViewPDFTemplate.tpl @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/modules/EcmAgreements/views/DetailView/DetailView.tpl b/modules/EcmAgreements/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmAgreements/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmAgreements/views/DetailView/footer.tpl b/modules/EcmAgreements/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmAgreements/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmAgreements/views/DetailView/header.tpl b/modules/EcmAgreements/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmAgreements/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmAgreements/views/EditView/EditView.tpl b/modules/EcmAgreements/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmAgreements/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmAgreements/views/EditView/footer.tpl b/modules/EcmAgreements/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmAgreements/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmAgreements/views/EditView/header.tpl b/modules/EcmAgreements/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmAgreements/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmAgreements/views/createInvoice.tpl b/modules/EcmAgreements/views/createInvoice.tpl new file mode 100755 index 00000000..dc18cd9f --- /dev/null +++ b/modules/EcmAgreements/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmCalendars/tpls/QuickCreate.tpl b/modules/EcmCalendars/tpls/QuickCreate.tpl new file mode 100755 index 00000000..4a9ce1ff --- /dev/null +++ b/modules/EcmCalendars/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMCALENDAR_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmCalls/chart/PredefinedChartDashletScript.tpl b/modules/EcmCalls/chart/PredefinedChartDashletScript.tpl new file mode 100755 index 00000000..e2262041 --- /dev/null +++ b/modules/EcmCalls/chart/PredefinedChartDashletScript.tpl @@ -0,0 +1,44 @@ +{* + +/** + * 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". + */ + +// $Id$ + +*} + + diff --git a/modules/EcmCalls/chart/chart.tpl b/modules/EcmCalls/chart/chart.tpl new file mode 100755 index 00000000..eab192fa --- /dev/null +++ b/modules/EcmCalls/chart/chart.tpl @@ -0,0 +1,67 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    + +
    + + diff --git a/modules/EcmCashs/tpls/QuickCreate.tpl b/modules/EcmCashs/tpls/QuickCreate.tpl new file mode 100755 index 00000000..74585b77 --- /dev/null +++ b/modules/EcmCashs/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMCACH_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashlet.tpl new file mode 100755 index 00000000..3dd6caeb --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashlet.tpl @@ -0,0 +1,49 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/5_dashlet.php?category=',false,'include/ECM/open_flash_chart/'); +{/php} +
    + diff --git a/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashletOptions.tpl new file mode 100755 index 00000000..3939cada --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsAccountsDashlet/MyChartsAccountsDashletOptions.tpl @@ -0,0 +1,101 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Rok + +
    Nazwa kontrahenta + + + +
    Kategorie + +
    Pokaż +
    + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashlet.tpl new file mode 100755 index 00000000..e4c34e9f --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashlet.tpl @@ -0,0 +1,105 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ +*} + +{if $chartOptions == ''} +{literal} + +{/literal} +{/if} + + +
    +
    +
    + + + + + + + + + diff --git a/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashletOptions.tpl new file mode 100755 index 00000000..e22a93a3 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsAgreementsDashlet/MyChartsAgreementsDashletOptions.tpl @@ -0,0 +1,115 @@ +{* +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ +*} + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + +
    {$LANG.LBL_TITLE}: + +
    Od: + + Enter Date + +
    + +
    +
    +
    diff --git a/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashlet.tpl new file mode 100755 index 00000000..8b9c4742 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashlet.tpl @@ -0,0 +1,49 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/1_dashlet.php?category=',false,'include/ECM/open_flash_chart/'); +{/php} +
    + diff --git a/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashletOptions.tpl new file mode 100755 index 00000000..3939cada --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCallTimeDashlet/MyChartsCallTimeDashletOptions.tpl @@ -0,0 +1,101 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Rok + +
    Nazwa kontrahenta + + + +
    Kategorie + +
    Pokaż +
    + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashlet.tpl new file mode 100755 index 00000000..f5e2ec43 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashlet.tpl @@ -0,0 +1,49 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/2_dashlet.php?category=',false,'include/ECM/open_flash_chart/'); +{/php} +
    + diff --git a/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashletOptions.tpl new file mode 100755 index 00000000..3939cada --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCategoryDashlet/MyChartsCategoryDashletOptions.tpl @@ -0,0 +1,101 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Rok + +
    Nazwa kontrahenta + + + +
    Kategorie + +
    Pokaż +
    + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashlet.tpl new file mode 100755 index 00000000..2e258ce7 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashlet.tpl @@ -0,0 +1,74 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +{php} +session_start(); +if($_SESSION['salesy']==1){ +{/php} +

    {$sales_year_title}


    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/salesYearChart.php',false,'include/ECM/open_flash_chart/'); + +} +if($_SESSION['sales']==1){ +{/php} +

    {$sales_title}


    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/salesYearChart.php',false,'include/ECM/open_flash_chart/'); + +} +if($_SESSION['stocksd']=='1'){ +{/php} +

    {$stocks_title}


    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/stocksChart.php',false,'include/ECM/open_flash_chart/'); +} +/* + +*/ +{/php} +
    + diff --git a/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashletOptions.tpl new file mode 100755 index 00000000..56f7cf65 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsCustomDashlet/MyChartsCustomDashletOptions.tpl @@ -0,0 +1,128 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Title +
    Period{$date}  
     ShowTitleOrder
    Sales{$sales}{$sales_title}{$sales_no}
    Sales in year{$sales_year}{$sales_year_title}{$sales_year_no}
    Order fulfillment{$percent}{$percent_title}{$percent_no}
    Quotes{$quotes}{$quotes_title}{$quotes_no}
    Orders{$orders}{$orders_title}{$orders_no}
    Stocks{$stocks}{$stocks_title}{$stocks_no}
    Products{$products}{$products_title}{$products_no}
    New products{$new_products}{$new_products_title}{$new_products_no}
    Payments{$payments}{$payments_title}{$payments_no}
    +
    +
    +
    diff --git a/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashlet.tpl b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashlet.tpl new file mode 100755 index 00000000..6d55f77f --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashlet.tpl @@ -0,0 +1,49 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
    +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsProductsDashlet/6.php',false,'include/ECM/open_flash_chart/'); +{/php} +
    + diff --git a/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletOptions.tpl b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletOptions.tpl new file mode 100755 index 00000000..2569322f --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletOptions.tpl @@ -0,0 +1,91 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + +
    Rok + +
    Nazwa kontrahenta + + + +
    Kategorie + +
    + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletScript.tpl b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletScript.tpl new file mode 100755 index 00000000..2d67f133 --- /dev/null +++ b/modules/EcmCharts/Dashlets/MyChartsProductsDashlet/MyChartsProductsDashletScript.tpl @@ -0,0 +1,88 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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}{/literal} diff --git a/modules/EcmCharts/tpls/QuickCreate.tpl b/modules/EcmCharts/tpls/QuickCreate.tpl new file mode 100755 index 00000000..18e2e920 --- /dev/null +++ b/modules/EcmCharts/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMCHART_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmDesigns/tpls/EditViewHeader.tpl b/modules/EcmDesigns/tpls/EditViewHeader.tpl new file mode 100755 index 00000000..53540f7b --- /dev/null +++ b/modules/EcmDesigns/tpls/EditViewHeader.tpl @@ -0,0 +1,79 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    \ No newline at end of file diff --git a/modules/EcmDesigns/tpls/QuickCreate.tpl b/modules/EcmDesigns/tpls/QuickCreate.tpl new file mode 100755 index 00000000..4b16dea0 --- /dev/null +++ b/modules/EcmDesigns/tpls/QuickCreate.tpl @@ -0,0 +1,102 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + + + + + + + + + + + + +{if $REQUEST.parent_id} + +{else} + +{/if} +{if $REQUEST.parent_type} + +{else} + +{/if} + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + +

    {$MOD.LBL_NEW_FORM_TITLE}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_ECMDESIGN}
    +
    + +
    + \ No newline at end of file diff --git a/modules/EcmDevices/tpls/QuickCreate.tpl b/modules/EcmDevices/tpls/QuickCreate.tpl new file mode 100755 index 00000000..71c94c01 --- /dev/null +++ b/modules/EcmDevices/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRICE_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmDocs/tpls/QuickCreate.tpl b/modules/EcmDocs/tpls/QuickCreate.tpl new file mode 100755 index 00000000..93e77f8c --- /dev/null +++ b/modules/EcmDocs/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMDOC_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmDocumentTemplates/views/EditView/EditView.tpl b/modules/EcmDocumentTemplates/views/EditView/EditView.tpl new file mode 100755 index 00000000..74363f33 --- /dev/null +++ b/modules/EcmDocumentTemplates/views/EditView/EditView.tpl @@ -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} + + + + + + + +{/literal} + + + + + + + +{{include file='modules/EcmProducts/views/EditView/header.tpl'}} + + + +{sugar_include include=$includes} + + + + + + + + + + + +{{if $panelCount == 0}} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + + + + {{/if}} + + + +{{/if}} + + + +
    + + + + + + + +{literal} + + + + + + + +{/literal} + + + + + + + +
      + + + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + + + {{if $panel[0][0].field.type == 'tab'}} + + + +
    • + + + + + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + + + +
    • + + + + {{/if}} + + + +{{/foreach}} + + + +
    + + + + + + + +{{* 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 *}} + + + +
    + + + +{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}} + + + + + + + + + + + +{{* Only show header if it is not default or an int value *}} + + + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + + + + +{{/if}} + + + + + + + +{{assign var='rowCount' value=0}} + + + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + + + + + + + {{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)}} + + + + + + + + {{/if}} + + + + + + + + + + + +{{/foreach}} + + + +
    + + + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + + + +
    + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + + + +
    + + + + {{/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}} + + + +
    + + + + + + + +{{/if}} + + + + + + + +
    + + + +{if $panelFieldCount == 0} + + + + + + + +{/if} + + + +{{/foreach}} + + + +{{include file='modules/EcmProducts/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmDocumentTemplates/views/EditView/footer.tpl b/modules/EcmDocumentTemplates/views/EditView/footer.tpl new file mode 100755 index 00000000..d98a8d74 --- /dev/null +++ b/modules/EcmDocumentTemplates/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmDocumentTemplates/views/EditView/header.tpl b/modules/EcmDocumentTemplates/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmDocumentTemplates/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmDocuments/tpls/QuickCreate.tpl b/modules/EcmDocuments/tpls/QuickCreate.tpl new file mode 100755 index 00000000..a2555998 --- /dev/null +++ b/modules/EcmDocuments/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + + + + {{/if}} + + + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkVatRegisters/views/DetailView/footer.tpl b/modules/EcmFkVatRegisters/views/DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkVatRegisters/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + diff --git a/modules/EcmFkVatRegisters/views/DetailView/header.tpl b/modules/EcmFkVatRegisters/views/DetailView/header.tpl new file mode 100755 index 00000000..8c7795be --- /dev/null +++ b/modules/EcmFkVatRegisters/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + + diff --git a/modules/EcmFkVatRegisters/views/EditView/EditView.tpl b/modules/EcmFkVatRegisters/views/EditView/EditView.tpl new file mode 100755 index 00000000..2d55b60b --- /dev/null +++ b/modules/EcmFkVatRegisters/views/EditView/EditView.tpl @@ -0,0 +1,422 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmFkVatRegisters/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + + + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 register data *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + +
    + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + + + + + +{{/if}} + + + + + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmFkVatRegisters/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkVatRegisters/views/EditView/footer.tpl b/modules/EcmFkVatRegisters/views/EditView/footer.tpl new file mode 100755 index 00000000..a7610934 --- /dev/null +++ b/modules/EcmFkVatRegisters/views/EditView/footer.tpl @@ -0,0 +1,70 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} + +
    + +{{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}} + +{{sugar_button module="$module" id="Audit" view="$view"}} + +
    +{{/if}} + + + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} + +
    Lorem ipsum
    \ No newline at end of file diff --git a/modules/EcmFkVatRegisters/views/EditView/header.tpl b/modules/EcmFkVatRegisters/views/EditView/header.tpl new file mode 100755 index 00000000..0ccb7905 --- /dev/null +++ b/modules/EcmFkVatRegisters/views/EditView/header.tpl @@ -0,0 +1,82 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +
    Lorem ipsum
    + + + + + + + + diff --git a/modules/EcmFkVatTables/views/DetailView/DetailView.tpl b/modules/EcmFkVatTables/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..514bde70 --- /dev/null +++ b/modules/EcmFkVatTables/views/DetailView/DetailView.tpl @@ -0,0 +1,291 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    +xxx +
    +{{include file="modules/EcmSerices/views/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMDOCUMENT_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmEmails/Dashlets/MyEcmEmailsDashlet/MyEcmEmailsDashletGenericConfigure.tpl b/modules/EcmEmails/Dashlets/MyEcmEmailsDashlet/MyEcmEmailsDashletGenericConfigure.tpl new file mode 100755 index 00000000..7275980a --- /dev/null +++ b/modules/EcmEmails/Dashlets/MyEcmEmailsDashlet/MyEcmEmailsDashletGenericConfigure.tpl @@ -0,0 +1,132 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {foreach name=searchIteration from=$searchFields key=name item=params} + + + {if ($smarty.foreach.searchIteration.iteration is even) and $smarty.foreach.searchIteration.iteration != $smarty.foreach.searchIteration.last} + + {/if} + {/foreach} + + + + +
    +

    {$strings.general}

    +
    + {$strings.title} + + +
    + {$strings.displayRows} + + + + + + + + +
    + {$strings.maxHeight_} + + +
    +
    + + +
    + {$columnChooser} +
    +
    +
    +

    {$strings.filters}

    +
    + + + +
    + {$params.label} + + {$params.input} +
    + +
    +
    +
    diff --git a/modules/EcmEmails/tpls/QuickCreate.tpl b/modules/EcmEmails/tpls/QuickCreate.tpl new file mode 100755 index 00000000..40b2cfa6 --- /dev/null +++ b/modules/EcmEmails/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + + + + {{/if}} + + + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkVatKinds/views/DetailView/footer.tpl b/modules/EcmFkVatKinds/views/DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkVatKinds/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + diff --git a/modules/EcmFkVatKinds/views/DetailView/header.tpl b/modules/EcmFkVatKinds/views/DetailView/header.tpl new file mode 100755 index 00000000..8c7795be --- /dev/null +++ b/modules/EcmFkVatKinds/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + + diff --git a/modules/EcmFkVatKinds/views/EditView/EditView.tpl b/modules/EcmFkVatKinds/views/EditView/EditView.tpl new file mode 100755 index 00000000..2d55b60b --- /dev/null +++ b/modules/EcmFkVatKinds/views/EditView/EditView.tpl @@ -0,0 +1,422 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmFkVatRegisters/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + + + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 register data *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + +
    + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + + + + + +{{/if}} + + + + + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmFkVatRegisters/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkVatKinds/views/EditView/footer.tpl b/modules/EcmFkVatKinds/views/EditView/footer.tpl new file mode 100755 index 00000000..a7610934 --- /dev/null +++ b/modules/EcmFkVatKinds/views/EditView/footer.tpl @@ -0,0 +1,70 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} + +
    + +{{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}} + +{{sugar_button module="$module" id="Audit" view="$view"}} + +
    +{{/if}} + + + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} + +
    Lorem ipsum
    \ No newline at end of file diff --git a/modules/EcmFkVatKinds/views/EditView/header.tpl b/modules/EcmFkVatKinds/views/EditView/header.tpl new file mode 100755 index 00000000..0ccb7905 --- /dev/null +++ b/modules/EcmFkVatKinds/views/EditView/header.tpl @@ -0,0 +1,82 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +
    Lorem ipsum
    + + + + + + + + diff --git a/modules/EcmFkVatKinds/views/_DetailView/DetailView.tpl b/modules/EcmFkVatKinds/views/_DetailView/DetailView.tpl new file mode 100755 index 00000000..514bde70 --- /dev/null +++ b/modules/EcmFkVatKinds/views/_DetailView/DetailView.tpl @@ -0,0 +1,291 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    +xxx +
    +{{include file="modules/EcmSerices/views/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMEMAIL_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmFkPackages/views/DetailView/DetailView.tpl b/modules/EcmFkPackages/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..059d9d55 --- /dev/null +++ b/modules/EcmFkPackages/views/DetailView/DetailView.tpl @@ -0,0 +1,288 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{include file="modules/EcmSerices/views/DetailView/headerx.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkPackages/views/DetailView/footer.tpl b/modules/EcmFkPackages/views/DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkPackages/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + diff --git a/modules/EcmFkPackages/views/DetailView/header.tpl b/modules/EcmFkPackages/views/DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmFkPackages/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmFkPackages/views/EditView/EditView.tpl b/modules/EcmFkPackages/views/EditView/EditView.tpl new file mode 100755 index 00000000..2bd562f5 --- /dev/null +++ b/modules/EcmFkPackages/views/EditView/EditView.tpl @@ -0,0 +1,340 @@ +{* +/********************************************************************************* +* 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} + +{/literal} + +{{include file='modules/EcmFkPackages/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + {{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + {$PAGINATION} + {{/if}} + + {{/if}} +
    + +{literal} + +{/literal} + +
      + {{foreach name=section from=$sectionPanels key=label item=panel}} + {{if $panel[0][0].field.type == 'tab'}} +
    • + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} +
    • +{{/if}} +{{/foreach}} +
    + +{{* 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 *}} + +
    + + {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}} + + + + {{* Only show header if it is not default or an int value *}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + {{/if}} + + {{assign var='rowCount' value=0}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + {{/foreach}} +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} +
    + + {{/if}} + +
    + {if $panelFieldCount == 0} + + {/if} + {{/foreach}} + {{include file='modules/EcmFkPackages/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkPackages/views/EditView/footer.tpl b/modules/EcmFkPackages/views/EditView/footer.tpl new file mode 100755 index 00000000..42b1af3a --- /dev/null +++ b/modules/EcmFkPackages/views/EditView/footer.tpl @@ -0,0 +1,62 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    + {{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}} + {{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmFkPackages/views/EditView/header.tpl b/modules/EcmFkPackages/views/EditView/header.tpl new file mode 100755 index 00000000..5db494d9 --- /dev/null +++ b/modules/EcmFkPackages/views/EditView/header.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    + + + + + +
    + + {if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + + {else} + + {/if} + + + + + + + {if !empty($smarty.request.return_module)} + + + {/if} + + {{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}} + {{$ADMIN_EDIT}}
    \ No newline at end of file diff --git a/modules/EcmFkVatKinds/views/DetailView/DetailView.tpl b/modules/EcmFkVatKinds/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..76f5c371 --- /dev/null +++ b/modules/EcmFkVatKinds/views/DetailView/DetailView.tpl @@ -0,0 +1,291 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    +xxx +
    +{{include file="modules/EcmSerices/views/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + + + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the register data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkVatKinds/views/_DetailView/footer.tpl b/modules/EcmFkVatKinds/views/_DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkVatKinds/views/_DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + diff --git a/modules/EcmFkVatKinds/views/_DetailView/header.tpl b/modules/EcmFkVatKinds/views/_DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmFkVatKinds/views/_DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmFkVatKinds/views/_EditView/EditView.tpl b/modules/EcmFkVatKinds/views/_EditView/EditView.tpl new file mode 100755 index 00000000..11b7a6d2 --- /dev/null +++ b/modules/EcmFkVatKinds/views/_EditView/EditView.tpl @@ -0,0 +1,385 @@ +{* +/********************************************************************************* +* 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} + + + +{/literal} + + + +{{include file='modules/EcmServices/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + + {{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + + {{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + + {{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + + {{/foreach}} + +
    + + + +{{* 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 *}} + +
    + + {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}} + + + + {{* Only show header if it is not default or an int value *}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + {{/if}} + + + + {{assign var='rowCount' value=0}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + + {{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + + {{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmServices/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkVatKinds/views/_EditView/footer.tpl b/modules/EcmFkVatKinds/views/_EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmFkVatKinds/views/_EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmFkVatKinds/views/_EditView/header.tpl b/modules/EcmFkVatKinds/views/_EditView/header.tpl new file mode 100755 index 00000000..541c8188 --- /dev/null +++ b/modules/EcmFkVatKinds/views/_EditView/header.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +test +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmFkVatRegisters/views/DetailView/DetailView.tpl b/modules/EcmFkVatRegisters/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..76f5c371 --- /dev/null +++ b/modules/EcmFkVatRegisters/views/DetailView/DetailView.tpl @@ -0,0 +1,291 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    +xxx +
    +{{include file="modules/EcmSerices/views/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + + + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the register data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkVatTables/views/DetailView/footer.tpl b/modules/EcmFkVatTables/views/DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkVatTables/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + diff --git a/modules/EcmFkVatTables/views/DetailView/header.tpl b/modules/EcmFkVatTables/views/DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmFkVatTables/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmFkVatTables/views/EditView/EditView.tpl b/modules/EcmFkVatTables/views/EditView/EditView.tpl new file mode 100755 index 00000000..5050b796 --- /dev/null +++ b/modules/EcmFkVatTables/views/EditView/EditView.tpl @@ -0,0 +1,422 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmFkVatTables/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmFkVatTables/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkVatTables/views/EditView/footer.tpl b/modules/EcmFkVatTables/views/EditView/footer.tpl new file mode 100755 index 00000000..a7610934 --- /dev/null +++ b/modules/EcmFkVatTables/views/EditView/footer.tpl @@ -0,0 +1,70 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} + +
    + +{{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}} + +{{sugar_button module="$module" id="Audit" view="$view"}} + +
    +{{/if}} + + + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} + +
    Lorem ipsum
    \ No newline at end of file diff --git a/modules/EcmFkVatTables/views/EditView/header.tpl b/modules/EcmFkVatTables/views/EditView/header.tpl new file mode 100755 index 00000000..023a945c --- /dev/null +++ b/modules/EcmFkVatTables/views/EditView/header.tpl @@ -0,0 +1,82 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + +
    Lorem ipsum
    + +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmFkVats/views/_DetailView/DetailView.tpl b/modules/EcmFkVats/views/_DetailView/DetailView.tpl new file mode 100755 index 00000000..514bde70 --- /dev/null +++ b/modules/EcmFkVats/views/_DetailView/DetailView.tpl @@ -0,0 +1,291 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    +xxx +
    +{{include file="modules/EcmSerices/views/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmFkVats/views/_DetailView/footer.tpl b/modules/EcmFkVats/views/_DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmFkVats/views/_DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +
    diff --git a/modules/EcmFkVats/views/_DetailView/header.tpl b/modules/EcmFkVats/views/_DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmFkVats/views/_DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmFkVats/views/_EditView/EditView.tpl b/modules/EcmFkVats/views/_EditView/EditView.tpl new file mode 100755 index 00000000..11b7a6d2 --- /dev/null +++ b/modules/EcmFkVats/views/_EditView/EditView.tpl @@ -0,0 +1,385 @@ +{* +/********************************************************************************* +* 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} + + + +{/literal} + + + +{{include file='modules/EcmServices/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + + {{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + + {{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + + {{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + + {{/foreach}} + +
    + + + +{{* 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 *}} + +
    + + {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}} + + + + {{* Only show header if it is not default or an int value *}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + {{/if}} + + + + {{assign var='rowCount' value=0}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + + {{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + + {{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmServices/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmFkVats/views/_EditView/footer.tpl b/modules/EcmFkVats/views/_EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmFkVats/views/_EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmFkVats/views/_EditView/header.tpl b/modules/EcmFkVats/views/_EditView/header.tpl new file mode 100755 index 00000000..541c8188 --- /dev/null +++ b/modules/EcmFkVats/views/_EditView/header.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +test +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInsideOrders.cp/views/DetailView/DetailView.tpl b/modules/EcmInsideOrders.cp/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..2d006535 --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/DetailView/DetailView.tpl @@ -0,0 +1,354 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmInsideOrders/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmInsideOrders/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmInsideOrders.cp/views/DetailView/footer.tpl b/modules/EcmInsideOrders.cp/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmInsideOrders.cp/views/DetailView/header.tpl b/modules/EcmInsideOrders.cp/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInsideOrders.cp/views/EditView/EditView.tpl b/modules/EcmInsideOrders.cp/views/EditView/EditView.tpl new file mode 100755 index 00000000..eac909b2 --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmInsideOrders/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInsideOrders/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmInsideOrders.cp/views/EditView/footer.tpl b/modules/EcmInsideOrders.cp/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmInsideOrders.cp/views/EditView/header.tpl b/modules/EcmInsideOrders.cp/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmInsideOrders.cp/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInsideOrders/tpl/MakeProduction.tpl b/modules/EcmInsideOrders/tpl/MakeProduction.tpl new file mode 100644 index 00000000..36c7b1e3 --- /dev/null +++ b/modules/EcmInsideOrders/tpl/MakeProduction.tpl @@ -0,0 +1,147 @@ +{assign var=POSITION_LIST value=$POSITION_LIST|json_decode:true} +{assign var=POSITION_LIST_C value=$POSITION_LIST_C|json_decode:true} + + + + + +
    + EcmProducts

    {$MOD.LBL_PRODUCTION_TAB}: {$MOD.LBL_PRODUCTION_MAKE}


    + + + + + + + + +
    + {$MOD.LBL_PRODUCTION_ST}: + {$FOCUS->rw_stock_name} + +   +
    + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + + {if $item.product_component == 1} + {if $item.stock_state<$item.quantity && $item.ecmproductcategory_id!='d7f876b0-1a3d-43a1-7c9b-511ba40df3d1'} + + {/if} + + + + + + + + + {/if} + + {/foreach} +
    + {$MOD.LBL_PRODUCTION_CODE} + + {$MOD.LBL_PRODUCTION_NAME} + + {$MOD.LBL_PRODUCTION_STATE} + + {$MOD.LBL_PRODUCTION_REQ}
    {$item.product_code}{$item.name}

    {$item.stock_state}

    {$item.quantity}
    +
    +
    + + + + + + + + +
    + {$MOD.LBL_PRODUCTION_ST}: + {$FOCUS->pw_stock_name} + +   +
    + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + + {if $item.product_component == 0} + + + + + + + + + {/if} + + {/foreach} +
    + {$MOD.LBL_PRODUCTION_CODE} + + {$MOD.LBL_PRODUCTION_NAME} + + {$MOD.LBL_PRODUCTION_STATE} + + {$MOD.LBL_PRODUCTION_NEW}
    {$item.product_code}{$item.name}{$item.stock_state}{$item.quantity}
    +
    + {foreach from=$POSITION_LIST_C key="key" item="item" name="components"} + + {if $item.product_component == 1 && $item.stock_state<$item.quantity && $item.ecmproductcategory_id!='d7f876b0-1a3d-43a1-7c9b-511ba40df3d1'} +{assign var="check" value=1} + {/if} + {/foreach} +{if $check!=1}{/if} +{if $check==1}

    {$MOD.LBL_PRODUCTION_ERROR}:

    + + + + + + + + {foreach from=$POSITION_LIST_C key="key" item="item" name="components"} + + {if $item.product_component == 1 && $item.stock_state<$item.quantity && $item.ecmproductcategory_id!='d7f876b0-1a3d-43a1-7c9b-511ba40df3d1'} + + + + + + + + + {/if} + {/foreach} +
    + {$MOD.LBL_PRODUCTION_CODE} + + {$MOD.LBL_PRODUCTION_NAME} + + {$MOD.LBL_PRODUCTION_STATE} + + {$MOD.LBL_PRODUCTION_REQ}
    {$item.product_code}{$item.name}

    {$item.stock_state}

    {$item.quantity}
    +{/if} \ No newline at end of file diff --git a/modules/EcmInsideOrders/tpl/SaveProduction.tpl b/modules/EcmInsideOrders/tpl/SaveProduction.tpl new file mode 100644 index 00000000..6943d3bd --- /dev/null +++ b/modules/EcmInsideOrders/tpl/SaveProduction.tpl @@ -0,0 +1,10 @@ +{if $rw_id!='' && $pw_id!=''} +{$MOD.LBL_PRODUCTION_SAVE}
    +{$MOD.LBL_PRODUCTION_DOC} RW: {$FOCUS->document_no}
    +{$MOD.LBL_PRODUCTION_DOC} PW:{$FOCUS->document_no}
    +
    {$CREATE_PDF} +{/if} +{if $rw_id=='' && $pw_id==''} +{$MOD.LBL_PRODUCTION_SAVE_FAIL}
    + +{/if} \ No newline at end of file diff --git a/modules/EcmInsideOrders/views/DetailView/DetailView.tpl b/modules/EcmInsideOrders/views/DetailView/DetailView.tpl new file mode 100644 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmInsideOrders/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmInsideOrders/views/DetailView/footer.tpl b/modules/EcmInsideOrders/views/DetailView/footer.tpl new file mode 100644 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInsideOrders/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmInsideOrders/views/DetailView/header.tpl b/modules/EcmInsideOrders/views/DetailView/header.tpl new file mode 100644 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmInsideOrders/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInsideOrders/views/EditView/EditView.tpl b/modules/EcmInsideOrders/views/EditView/EditView.tpl new file mode 100644 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmInsideOrders/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmInsideOrders/views/EditView/footer.tpl b/modules/EcmInsideOrders/views/EditView/footer.tpl new file mode 100644 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmInsideOrders/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmInsideOrders/views/EditView/header.tpl b/modules/EcmInsideOrders/views/EditView/header.tpl new file mode 100644 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmInsideOrders/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInsideOrders/views/MakeProduction/MakeProduction.tpl b/modules/EcmInsideOrders/views/MakeProduction/MakeProduction.tpl new file mode 100644 index 00000000..4e45c6b1 --- /dev/null +++ b/modules/EcmInsideOrders/views/MakeProduction/MakeProduction.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmInsideOrders/views/MakeProduction/footer.tpl"}} + diff --git a/modules/EcmInsideOrders/views/MakeProduction/footer.tpl b/modules/EcmInsideOrders/views/MakeProduction/footer.tpl new file mode 100644 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInsideOrders/views/MakeProduction/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmInsideOrders/views/MakeProduction/header.tpl b/modules/EcmInsideOrders/views/MakeProduction/header.tpl new file mode 100644 index 00000000..299671cf --- /dev/null +++ b/modules/EcmInsideOrders/views/MakeProduction/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInventorys/PDFTemplate/nadwyzki.tpl b/modules/EcmInventorys/PDFTemplate/nadwyzki.tpl new file mode 100755 index 00000000..7f53f7f9 --- /dev/null +++ b/modules/EcmInventorys/PDFTemplate/nadwyzki.tpl @@ -0,0 +1,116 @@ + + + + + + +
    + + + Arkusz Remanentu: {$EcmInventory->document_no}
    + Data dokumentu: {$EcmInventory->register_date}
    + Typ: Nadwyżki
    + Strona: {literal} {PAGENO} / {nbpg}{/literal}
    + Magazyn: {$EcmStock->name} +
    +
    + + + + + + + + + + + + + + + + + + + {assign var='pozycja' value=0} + {foreach from=$EcmInventory->position_list item=positon} + {if $positon.stock_state_quantity_difference>0} + {assign var='precision' value=$positon.dd_unit_precision} + + + + + + + + + + + + + {/if} + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa towaru + + J.m. + + Kategoria + + Ilość remanentowa + + Cena zakupu + + Stan kartotekowy + + Różnica + + Wartość +
    + {assign var='pozycja' value=$pozycja+1} + {$pozycja} + + {$positon.code} + + {$positon.name} + + {$positon.dd_unit_name} + + {$position.ecmproductcategory_id} + + {$positon.quantity|number_format:$precision:",":"."} + + {$positon.price|number_format:2:",":"."} + + {$positon.stock_state|number_format:$precision:",":"."} + + {$positon.stock_state_quantity_difference|number_format:$precision:",":"."} + + {assign var='suma' value=$suma+$positon.projected_price} + {$positon.projected_price|number_format:2:",":"."} +
    + + + Suma: + + {$suma|number_format:2:",":"."} +
    + +{if $EcmInventory->pdf_text != ''} +

    + Uwagi: +
    + {$EcmInventory->pdf_text} +{/if} \ No newline at end of file diff --git a/modules/EcmInventorys/PDFTemplate/niedobory.tpl b/modules/EcmInventorys/PDFTemplate/niedobory.tpl new file mode 100755 index 00000000..3dd62201 --- /dev/null +++ b/modules/EcmInventorys/PDFTemplate/niedobory.tpl @@ -0,0 +1,116 @@ + + + + + + +
    + + + Arkusz Remanentu: {$EcmInventory->document_no}
    + Data dokumentu: {$EcmInventory->register_date}
    + Typ: Niedobory
    + Strona: {literal} {PAGENO} / {nbpg}{/literal}
    + Magazyn: {$EcmStock->name} +
    +
    + + + + + + + + + + + + + + + + + + + {assign var='pozycja' value=0} + {foreach from=$EcmInventory->position_list item=positon} + {if $positon.stock_state_quantity_difference<0} + {assign var='precision' value=$positon.dd_unit_precision} + + + + + + + + + + + + + {/if} + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa towaru + + J.m. + + Kategoria + + Ilość remanentowa + + Cena zakupu + + Stan kartotekowy + + Różnica + + Wartość +
    + {assign var='pozycja' value=$pozycja+1} + {$pozycja} + + {$positon.code} + + {$positon.name} + + {$positon.dd_unit_name} + + {$position.ecmproductcategory_id} + + {$positon.quantity|number_format:$precision:",":"."} + + {$positon.price|number_format:2:",":"."} + + {$positon.stock_state|number_format:$precision:",":"."} + + {$positon.stock_state_quantity_difference|number_format:$precision:",":"."} + + {assign var='suma' value=$suma+$positon.projected_price} + {$positon.projected_price|number_format:2:",":"."} +
    + + + Suma: + + {$suma|number_format:2:",":"."} +
    + +{if $EcmInventory->pdf_text != ''} +

    + Uwagi: +
    + {$EcmInventory->pdf_text} +{/if} \ No newline at end of file diff --git a/modules/EcmInventorys/PDFTemplate/roznice.tpl b/modules/EcmInventorys/PDFTemplate/roznice.tpl new file mode 100755 index 00000000..dc2713c9 --- /dev/null +++ b/modules/EcmInventorys/PDFTemplate/roznice.tpl @@ -0,0 +1,116 @@ + + + + + + +
    + + + Arkusz Remanentu: {$EcmInventory->document_no}
    + Data dokumentu: {$EcmInventory->register_date}
    + Typ: Różnice
    + Strona: {literal} {PAGENO} / {nbpg}{/literal}
    + Magazyn: {$EcmStock->name} +
    +
    + + + + + + + + + + + + + + + + + + + {assign var='pozycja' value=0} + {foreach from=$EcmInventory->position_list item=positon} + {if $positon.stock_state_quantity_difference != 0 } + {assign var='precision' value=$positon.dd_unit_precision} + + + + + + + + + + + + + {/if} + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa towaru + + J.m. + + Kategoria + + Ilość remanentowa + + Cena zakupu + + Stan kartotekowy + + Różnica + + Wartość +
    + {assign var='pozycja' value=$pozycja+1} + {$pozycja} + + {$positon.code} + + {$positon.name} + + {$positon.dd_unit_name} + + {$position.ecmproductcategory_id} + + {$positon.quantity|number_format:$precision:",":"."} + + {$positon.price|number_format:2:",":"."} + + {$positon.stock_state|number_format:$precision:",":"."} + + {$positon.stock_state_quantity_difference|number_format:$precision:",":"."} + + {assign var='suma' value=$suma+$positon.projected_price} + {$positon.projected_price|number_format:2:",":"."} +
    + + + Suma: + + {$suma|number_format:2:",":"."} +
    + +{if $EcmInventory->pdf_text != ''} +

    + Uwagi: +
    + {$EcmInventory->pdf_text} +{/if} \ No newline at end of file diff --git a/modules/EcmInventorys/PDFTemplate/wszystko.tpl b/modules/EcmInventorys/PDFTemplate/wszystko.tpl new file mode 100755 index 00000000..8670285d --- /dev/null +++ b/modules/EcmInventorys/PDFTemplate/wszystko.tpl @@ -0,0 +1,115 @@ + + + + + + +
    + + + Arkusz Remanentu: {$EcmInventory->document_no}
    + Data dokumentu: {$EcmInventory->register_date}
    + Typ: Wszystko
    + Strona: {literal} {PAGENO} / {nbpg}{/literal}
    + Magazyn: {$EcmStock->name} +
    +
    + + + + + + + + + + + + + + + + + + + {assign var='pozycja' value=0} + {foreach from=$EcmInventory->position_list item=positon} + {assign var='precision' value=$positon.dd_unit_precision} + + + + + + + + + + + + + + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa towaru + + J.m. + + Kategoria + + Ilość remanentowa + + Cena zakupu + + Stan kartotekowy + + Różnica + + Wartość +
    + {assign var='pozycja' value=$pozycja+1} + {$pozycja} + + {$positon.code} + + {$positon.name} + + {$positon.dd_unit_name} + + {$position.ecmproductcategory_id} + + {$positon.quantity|number_format:$precision:",":"."} + + {$positon.price|number_format:2:",":"."} + + {$positon.stock_state|number_format:$precision:",":"."} + + {$positon.stock_state_quantity_difference|number_format:$precision:",":"."} + + {assign var='suma' value=$suma+$positon.projected_price} + {$positon.projected_price|number_format:2:",":"."} +
    + + + Suma: + + {$suma|number_format:2:",":"."} +
    + +{if $EcmInventory->pdf_text != ''} +

    + Uwagi: +
    + {$EcmInventory->pdf_text} +{/if} diff --git a/modules/EcmInventorys/tpl/DetailView_create_ks_button.tpl b/modules/EcmInventorys/tpl/DetailView_create_ks_button.tpl new file mode 100755 index 00000000..1a6da522 --- /dev/null +++ b/modules/EcmInventorys/tpl/DetailView_create_ks_button.tpl @@ -0,0 +1,3 @@ +{if $fields.status.value == 'in_create'} + +{/if} \ No newline at end of file diff --git a/modules/EcmInventorys/tpl/DetailView_edit_button.tpl b/modules/EcmInventorys/tpl/DetailView_edit_button.tpl new file mode 100755 index 00000000..690d52f6 --- /dev/null +++ b/modules/EcmInventorys/tpl/DetailView_edit_button.tpl @@ -0,0 +1,3 @@ +{if $fields.status.value == 'in_create'} + +{/if} \ No newline at end of file diff --git a/modules/EcmInventorys/tpl/DetailView_product_list.tpl b/modules/EcmInventorys/tpl/DetailView_product_list.tpl new file mode 100755 index 00000000..5d12fc50 --- /dev/null +++ b/modules/EcmInventorys/tpl/DetailView_product_list.tpl @@ -0,0 +1,4 @@ + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmInventorys/tpl/EditView_product_list.tpl b/modules/EcmInventorys/tpl/EditView_product_list.tpl new file mode 100755 index 00000000..a75fd418 --- /dev/null +++ b/modules/EcmInventorys/tpl/EditView_product_list.tpl @@ -0,0 +1,48 @@ + + + + + + + + +
    + + +  Przepisz stan
    +
    + +
    + + +
    + +
    +
    + +
    +
    +
    \ No newline at end of file diff --git a/modules/EcmInventorys/views/DetailView/DetailView.tpl b/modules/EcmInventorys/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmInventorys/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmInventorys/views/DetailView/footer.tpl b/modules/EcmInventorys/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInventorys/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmInventorys/views/DetailView/header.tpl b/modules/EcmInventorys/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmInventorys/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInventorys/views/EditView/EditView.tpl b/modules/EcmInventorys/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmInventorys/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmInventorys/views/EditView/footer.tpl b/modules/EcmInventorys/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmInventorys/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmInventorys/views/EditView/header.tpl b/modules/EcmInventorys/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmInventorys/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/ecommerceInvoicesListView.tpl b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/ecommerceInvoicesListView.tpl new file mode 100644 index 00000000..f57ae819 --- /dev/null +++ b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/ecommerceInvoicesListView.tpl @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + +
    + + +

    Faktury E-Commerce

    +
    + + + + + + + + + + + + + + + + +
    Źródło: + + Okres: + + Typ: + +
    + +    + +
    + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$data item=ROW name=loop} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + + + + + + {/foreach} + + + + + + + + + + + + + + + + +
    IdNumer fakturyNumer WZData rejestracjiData sprzedażyRodzajNumer zamówieniaKontrahentWalutaWartość nettoWartość bruttoWartość VATProdukty
    + {$ROW.id} + + {$ROW.document_no} + {if $ROW.origin == 'amazon'} + + {/if} + {if $ROW.origin == 'allegro'} + + + {$ROW.wz_document_no} + + {$ROW.register_date} + + {$ROW.sell_date} + + {$ROW.origin} + + {$ROW.order_no} + + {if $ROW.parent_name != 'AmazonCustomer'} + {$ROW.parent_name}
    + {if $ROW.parent_nip|strlen > 0} {$ROW.parent_nip}
    {/if} + {$ROW.parent_address_street}
    + {$ROW.parent_address_postalcode} {$ROW.parent_address_city}, {$ROW.parent_address_country_code} + {/if} + {if $ROW.parent_name == 'AmazonCustomer'} + AmazonCustomer
    + {if $ROW.parent_nip|strlen > 0} {$ROW.parent_nip}
    {/if} + {$ROW.parent_address_postalcode} {$ROW.parent_address_city}, {$ROW.parent_address_country_code} + {/if} +

    +
    + {$ROW.currency} + + {$ROW.total_netto} + + {$ROW.total_brutto} + + {$ROW.total_vat} + + {foreach from=$ROW.products item=p name=productsLoop} + {$p.code}   + {if $p.code != $p.ecommerce_code && $p.id != '165f364e-9301-25ac-5906-58e38f1de4ca'} + ({$p.ecommerce_code})  + {/if} + {$p.name}
    + Ilość: {$p.quantity} Cena netto: {$p.price_netto} Cena brutto: {$p.price_brutto} VAT: {$p.vat_value}% +

    + {/foreach} +
    {$totalNetto}{$totalBrutto}{$totalVat}
    \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor.tpl b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor.tpl new file mode 100644 index 00000000..c0c3eec1 --- /dev/null +++ b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor.tpl @@ -0,0 +1,19 @@ +[INFO] +"1.05.4",0,1250,"Subiekt GT","GT","SubTest","Firma przykładowa systemu InsERT GT","Wrocław","54-445","Bławatkowa 25/3","111-111-11-11","MAG","Główny","Magazyn główny",,1,20170101000000,20170331000000,"Kowalski Jan",20170804155934,"Polska","PL",,0 + +{foreach from=$data item=i name=loop} + [NAGLOWEK] + "FS",1,0,0,"{$i.document_no}","FS","{$i.document_no}",,,"{$i.order_no}",,"{$i.parent_hash}","{$i.parent_short_name}","{$i.parent_name}","{$i.parent_address_city}","{$i.parent_address_postalcode}","{$i.parent_address_street}","{$i.parent_nip}","Sprzedaż",,"Obrowo","{$i.register_date}","{$i.sell_date}","{$i.register_date}",1,0,,{$i.total_netto},{$i.total_vat},{$i.total_brutto},0,,,,"{$i.sell_date}",{$i.total_brutto},{$i.total_brutto},0,0,0,0,"",,,,,"PLN",,"",,,,0,,0,,,,,"",, + + [ZAWARTOSC] + "23",23,{$i.total_netto},{$i.total_vat},{$i.total_brutto},0,0,0,0,0,0,0,0,0,0,0,0,0 + +{/foreach} + +[NAGLOWEK] +"KONTRAHENCI" + +[ZAWARTOSC] +{foreach from=$data item=i name=loop} + 0,"{$i.parent_hash}","{$i.parent_name}","{$i.parent_name}","{$i.parent_address_city}","{$i.parent_address_postalcode}","{$i.parent_address_street}","{$parent_nip}",,,,,,,,,,,,,,,,,,,,,0 +{/foreach} \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor_fvkor.tpl b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor_fvkor.tpl new file mode 100644 index 00000000..f48e1792 --- /dev/null +++ b/modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/rewizor_fvkor.tpl @@ -0,0 +1,20 @@ + +[INFO] +"1.05.4",0,1250,"Subiekt GT","GT","SubTest","Firma przykładowa systemu InsERT GT","Wrocław","54-445","Bławatkowa 25/3","111-111-11-11","MAG","Główny","Magazyn główny",,1,20170101000000,20170331000000,"Kowalski Jan",20170804155934,"Polska","PL",,0 + +{foreach from=$data item=i name=loop} + [NAGLOWEK] + "KFS",1,0,0,"{$i.document_no}","FS","{$i.document_no}","{$i.corrected_document_no}","{$i.corrected_register_date}","{$i.order_no}",,"{$i.parent_hash}","{$i.parent_short_name}","{$i.parent_name}","{$i.parent_address_city}","{$i.parent_address_postalcode}","{$i.parent_address_street}","{$i.parent_nip}","Sprzedaż",,"Obrowo","{$i.register_date}","{$i.sell_date}","{$i.register_date}",1,0,,{$i.total_netto},{$i.total_vat},{$i.total_brutto},0,,,,"{$i.sell_date}",{$i.total_brutto},{$i.total_brutto},0,0,0,0,"",,,,,"PLN",,"",,,,0,,0,,,,,"",, + + [ZAWARTOSC] + "23",23,{$i.total_netto},{$i.total_vat},{$i.total_brutto},0,0,0,0,0,0,0,0,0,0,0,0,0 + +{/foreach} + +[NAGLOWEK] +"KONTRAHENCI" + +[ZAWARTOSC] +{foreach from=$data item=i name=loop} + 0,"{$i.parent_hash}","{$i.parent_name}","{$i.parent_name}","{$i.parent_address_city}","{$i.parent_address_postalcode}","{$i.parent_address_street}","{$parent_nip}",,,,,,,,,,,,,,,,,,,,,0 +{/foreach} \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT.tpl b/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT.tpl new file mode 100755 index 00000000..f0baf31b --- /dev/null +++ b/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT.tpl @@ -0,0 +1,136 @@ +
    + +
    +{if $process} +
    + + + + +
    + + + + + Raport wygenerowany na podstawie dokumentów: + {foreach from=$invoices item="item"} + {$item.document_no}  + {/foreach} +

    + + + + + + + + + + + + + + + + {foreach from=$data item="item"} + + + + + + + + + + + + {/foreach} + +
    Numer pozycjiKod towarowyOpis towaruRodzaj transakcjiKraj przeznaczeniaIdentyfikator kontrahenta zagranicznegoWartość fakturowa PLNWaga bruttoIlość intrastat
    {$item.position}{$item.pkwiu}{$item.description|truncate:75}11{$item.country}{$item.nip}{$item.total}{$item.weight}{if $item.qty_intrastat > 0}{$item.qty_intrastat}{/if}
    + {if $badProducts|@count>0} +
    +

    Niepoprawnie uzupełnione produkty


    + + + + + + + + + + + {foreach from=$badProducts item="item"} + + + + + + + {/foreach} + +
    KodNazwaPKWiUWaga brutto
    + {$item.code} + {$item.name}{$item.pkwiu}{$item.weight}
    + {/if} +{/if} \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT_XML.tpl b/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT_XML.tpl new file mode 100755 index 00000000..2f18b365 --- /dev/null +++ b/modules/EcmInvoiceOuts/tpls/Report_INTRASTAT_XML.tpl @@ -0,0 +1,14 @@ + + + + + {foreach from=$data item="item"} + + {/foreach} + + + \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/views/DetailView/DetailView.tpl b/modules/EcmInvoiceOuts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmInvoiceOuts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmInvoiceOuts/views/DetailView/footer.tpl b/modules/EcmInvoiceOuts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInvoiceOuts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmInvoiceOuts/views/DetailView/header.tpl b/modules/EcmInvoiceOuts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmInvoiceOuts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInvoiceOuts/views/EditView/EditView.tpl b/modules/EcmInvoiceOuts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmInvoiceOuts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmInvoiceOuts/views/EditView/footer.tpl b/modules/EcmInvoiceOuts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmInvoiceOuts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmInvoiceOuts/views/EditView/header.tpl b/modules/EcmInvoiceOuts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmInvoiceOuts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInvoiceOuts/views/createInvoice.tpl b/modules/EcmInvoiceOuts/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmInvoiceOuts/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmInvoiceOuts2/views/DetailView/DetailView.tpl b/modules/EcmInvoiceOuts2/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmInvoiceOuts2/views/DetailView/footer.tpl b/modules/EcmInvoiceOuts2/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmInvoiceOuts2/views/DetailView/header.tpl b/modules/EcmInvoiceOuts2/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmInvoiceOuts2/views/EditView/EditView.tpl b/modules/EcmInvoiceOuts2/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmInvoiceOuts2/views/EditView/footer.tpl b/modules/EcmInvoiceOuts2/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmInvoiceOuts2/views/EditView/header.tpl b/modules/EcmInvoiceOuts2/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmInvoiceOuts2/views/createInvoice.tpl b/modules/EcmInvoiceOuts2/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmInvoiceOuts2/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmKpkw/views/DetailView/DetailView.tpl b/modules/EcmKpkw/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..7885cfcd --- /dev/null +++ b/modules/EcmKpkw/views/DetailView/DetailView.tpl @@ -0,0 +1,288 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{include file="modules/EcmSerices/views/DetailView/headerx.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmKpkw/views/DetailView/footer.tpl b/modules/EcmKpkw/views/DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmKpkw/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +
    diff --git a/modules/EcmKpkw/views/DetailView/header.tpl b/modules/EcmKpkw/views/DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmKpkw/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmKpkw/views/EditView/EditView.tpl b/modules/EcmKpkw/views/EditView/EditView.tpl new file mode 100755 index 00000000..f0a3d534 --- /dev/null +++ b/modules/EcmKpkw/views/EditView/EditView.tpl @@ -0,0 +1,420 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmKpKw/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInvoiceOuts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmKpkw/views/EditView/footer.tpl b/modules/EcmKpkw/views/EditView/footer.tpl new file mode 100755 index 00000000..42b1af3a --- /dev/null +++ b/modules/EcmKpkw/views/EditView/footer.tpl @@ -0,0 +1,62 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    + {{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}} + {{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmKpkw/views/EditView/header.tpl b/modules/EcmKpkw/views/EditView/header.tpl new file mode 100755 index 00000000..5db494d9 --- /dev/null +++ b/modules/EcmKpkw/views/EditView/header.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    + + + + + +
    + + {if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + + {else} + + {/if} + + + + + + + {if !empty($smarty.request.return_module)} + + + {/if} + + {{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}} + {{$ADMIN_EDIT}}
    \ No newline at end of file diff --git a/modules/EcmKpkw/views/_DetailView/DetailView.tpl b/modules/EcmKpkw/views/_DetailView/DetailView.tpl new file mode 100755 index 00000000..24216fb0 --- /dev/null +++ b/modules/EcmKpkw/views/_DetailView/DetailView.tpl @@ -0,0 +1,289 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{include file="modules/EcmSerices/views/DetailView/headerx.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + + {$PAGINATION} + +
    + +{{/if}} + + +{literal} + +{/literal} + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + + {{* Print out the panel title if one exists*}} + + + + {{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + + {{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmSerices/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmKpkw/views/_DetailView/footer.tpl b/modules/EcmKpkw/views/_DetailView/footer.tpl new file mode 100755 index 00000000..bdb97923 --- /dev/null +++ b/modules/EcmKpkw/views/_DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +
    diff --git a/modules/EcmKpkw/views/_DetailView/header.tpl b/modules/EcmKpkw/views/_DetailView/header.tpl new file mode 100755 index 00000000..501a249a --- /dev/null +++ b/modules/EcmKpkw/views/_DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} +{{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} + {{/if}} + {{if !isset($closeFormBeforeCustomButtons)}} + + + {{/if}} + {{if empty($form.hideAudit) || !$form.hideAudit}} + + {{/if}} + + {{* Add $form.links if they are defined *}} + {{if !empty($form) && isset($form.links)}} + + + {{/if}} + +
    +
    + + + + + + + + + {{if isset($form.hidden)}} + {{foreach from=$form.hidden item=field}} + {{$field}} + {{/foreach}} + {{/if}} + + {{if !isset($form.buttons)}} + + + + {{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + + {{sugar_button module="$module" id="Audit" view="EditView"}} + {$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmKpkw/views/_EditView/EditView.tpl b/modules/EcmKpkw/views/_EditView/EditView.tpl new file mode 100755 index 00000000..ed14582c --- /dev/null +++ b/modules/EcmKpkw/views/_EditView/EditView.tpl @@ -0,0 +1,341 @@ +{* +/********************************************************************************* +* 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} + +{/literal} + +{{include file='modules/EcmEcmKpkw/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + {{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + {$PAGINATION} + {{/if}} + + {{/if}} +
    + +{literal} + +{/literal} + +
      + {{foreach name=section from=$sectionPanels key=label item=panel}} + {{if $panel[0][0].field.type == 'tab'}} +
    • + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} +
    • +{{/if}} +{{/foreach}} +
    + +{{* 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 *}} + +
    + + {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}} + + + + {{* Only show header if it is not default or an int value *}} + + {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + {{/if}} + + {{assign var='rowCount' value=0}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + {{/foreach}} +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} +
    + + {{/if}} + +
    + {if $panelFieldCount == 0} + + {/if} + {{/foreach}} + {{include file='modules/EcmEcmKpkw/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmKpkw/views/_EditView/footer.tpl b/modules/EcmKpkw/views/_EditView/footer.tpl new file mode 100755 index 00000000..42b1af3a --- /dev/null +++ b/modules/EcmKpkw/views/_EditView/footer.tpl @@ -0,0 +1,62 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    + {{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}} + {{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmKpkw/views/_EditView/header.tpl b/modules/EcmKpkw/views/_EditView/header.tpl new file mode 100755 index 00000000..5db494d9 --- /dev/null +++ b/modules/EcmKpkw/views/_EditView/header.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} + +
    + + + + + +
    + + {if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + + {else} + + {/if} + + + + + + + {if !empty($smarty.request.return_module)} + + + {/if} + + {{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}} + {{$ADMIN_EDIT}}
    \ No newline at end of file diff --git a/modules/EcmMailingCategories/tpls/QuickCreate.tpl b/modules/EcmMailingCategories/tpls/QuickCreate.tpl new file mode 100644 index 00000000..35bdadeb --- /dev/null +++ b/modules/EcmMailingCategories/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPRODUCTCATEGORY_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmMailingCategories/tpls/searchByCategory.tpl b/modules/EcmMailingCategories/tpls/searchByCategory.tpl new file mode 100644 index 00000000..e69de29b diff --git a/modules/EcmMailingMessages/tpls/QuickCreate.tpl b/modules/EcmMailingMessages/tpls/QuickCreate.tpl new file mode 100644 index 00000000..35bdadeb --- /dev/null +++ b/modules/EcmMailingMessages/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPRODUCTCATEGORY_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmMailingMessages/tpls/searchByCategory.tpl b/modules/EcmMailingMessages/tpls/searchByCategory.tpl new file mode 100644 index 00000000..e69de29b diff --git a/modules/EcmNewInvoiceOuts/views/DetailView/DetailView.tpl b/modules/EcmNewInvoiceOuts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmNewInvoiceOuts/views/DetailView/footer.tpl b/modules/EcmNewInvoiceOuts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmNewInvoiceOuts/views/DetailView/header.tpl b/modules/EcmNewInvoiceOuts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmNewInvoiceOuts/views/EditView/EditView.tpl b/modules/EcmNewInvoiceOuts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmNewInvoiceOuts/views/EditView/footer.tpl b/modules/EcmNewInvoiceOuts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmNewInvoiceOuts/views/EditView/header.tpl b/modules/EcmNewInvoiceOuts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmNewInvoiceOuts/views/createInvoice.tpl b/modules/EcmNewInvoiceOuts/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmNewInvoiceOuts/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmNewKpkws/views/DetailView/DetailView.tpl b/modules/EcmNewKpkws/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmNewKpkws/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmNewKpkws/views/DetailView/footer.tpl b/modules/EcmNewKpkws/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmNewKpkws/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmNewKpkws/views/DetailView/header.tpl b/modules/EcmNewKpkws/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmNewKpkws/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmNewKpkws/views/EditView/EditView.tpl b/modules/EcmNewKpkws/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmNewKpkws/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmNewKpkws/views/EditView/footer.tpl b/modules/EcmNewKpkws/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmNewKpkws/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmNewKpkws/views/EditView/header.tpl b/modules/EcmNewKpkws/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmNewKpkws/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmNoteOuts/views/DetailView/DetailView.tpl b/modules/EcmNoteOuts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmNoteOuts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmNoteOuts/views/DetailView/footer.tpl b/modules/EcmNoteOuts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmNoteOuts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmNoteOuts/views/DetailView/header.tpl b/modules/EcmNoteOuts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmNoteOuts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmNoteOuts/views/EditView/EditView.tpl b/modules/EcmNoteOuts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmNoteOuts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmNoteOuts/views/EditView/footer.tpl b/modules/EcmNoteOuts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmNoteOuts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmNoteOuts/views/EditView/header.tpl b/modules/EcmNoteOuts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmNoteOuts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmNoteOuts/views/createInvoice.tpl b/modules/EcmNoteOuts/views/createInvoice.tpl new file mode 100755 index 00000000..423b1eff --- /dev/null +++ b/modules/EcmNoteOuts/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashlet.tpl b/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashlet.tpl new file mode 100755 index 00000000..827a5a65 --- /dev/null +++ b/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashlet.tpl @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + +{foreach from=$DATA item=ROW name=loop} +{if $smarty.foreach.loop.index % 2 == 1} + +{else} + +{/if} + + + + + + + +{/foreach} + + + + + + + + +
    +

    {$MOD.LBL_SUMMARY_ACCOUNT} + +

    +
    +

    Saldo + +

    +
    +

    Saldo na dziś + +

    +
    +  + +{$ROW.name} + +{$ROW.saldo}{$ROW.today_saldo}
     {$SUM.saldo}{$SUM.today_saldo}
    \ No newline at end of file diff --git a/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashletOptions.tpl b/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashletOptions.tpl new file mode 100755 index 00000000..e22a93a3 --- /dev/null +++ b/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashletOptions.tpl @@ -0,0 +1,115 @@ +{* +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ +*} + + + + + + +
    + + + + + + + + + + + + + + + + + + + + +
    {$LANG.LBL_TITLE}: + +
    Od: + + Enter Date + +
    + +
    + +
    diff --git a/modules/EcmPaymentStates/tpls/AccountPaymentStates.tpl b/modules/EcmPaymentStates/tpls/AccountPaymentStates.tpl new file mode 100755 index 00000000..eac09979 --- /dev/null +++ b/modules/EcmPaymentStates/tpls/AccountPaymentStates.tpl @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + +
    + Opcje + {if $ACCOUNT.NAME!=''} + + {/if} + + {if $umowy|@count>0} + Wybierz umowę: + + {/if} +

    {$ACCOUNT.NAME} ({$currency})

    +
    + +
    + {if $SWITCH_SHOW==4} +
    + + + + + + + + +
    + {elseif $SWITCH_SHOW==5} + + + + + + + + +{assign var='text' value='W załączniku przesyłamy informację o zaległości, włączając specyfikacje nierozliczonych faktur.'} + + + + + + + + + + {else} + + {/if} + +
    + + + + + +
    + + + + + +
    + + + + + + + + + + + +
    + {$MOD.LBL_TOTAL_WINIEN} +
    + +
    + {$MOD.LBL_SALDO} +
    + +
    + {$MOD.LBL_TOTAL_MA} +
    + +
    + {$SUM.WINIEN} + +

    + {$SUM.SALDO} +

    +
    + {$SUM.MA} +
    +{if $ACCOUNT.NAME==''} +
    + + + + + + + + + + + + +
    {$MOD.LBL_ACCOUNT_NAME} + + + +{literal} + + + {$MOD.LBL_SHOW_SETTLED} + + {$MOD.LBL_AFER_P} + +
    + + + +{/if} +
    + +{if $PROCESS} +
    +
    + + + + + + + + + + + + + + + {foreach from=$WINIEN item=w} + {if $w.is_settled!=0} + {assign var="b" value=""} + {assign var="b2" value=""} + + {elseif $w.total!=$w.settled && $w.total!=$w.unsettled} + {assign var="b" value=""} + {assign var="b2" value=""} + {else} + {assign var="b" value=""} + {assign var="b2" value=""} + {/if} + + + + + + + + {if $w.is_settled == '0' ||( $w.is_settled != '0' && $SWITCH_SHOW==4 && $w.note != '1')} + + {else} + + {/if} + + + + + + + + + + {/foreach} + +
    {$MOD.LBL_DATE}{$MOD.LBL_NAME}{$MOD.LBL_VALUE}{$MOD.LBL_SETTLED}{$MOD.LBL_UNSETTLED}{$MOD.LBL_ACTIONS} 
    {$b}{$w.register_date}{$b2}{$b}{$w.document_no}{$b2}{if $w.note == '1'}(NOTA){/if}{$b}{$w.total}{$b2}{$b}{$w.settled}{$b2}{$b}{$w.unsettled}{$b2} + + +  
    +
    +
    +
    + + + + + + + + + + + + + + + {foreach from=$MA item=m} + {if $m.is_settled!=0} + {assign var="b" value=""} + {assign var="b2" value=""} + {elseif $m.total!=$m.settled && $m.total!=$m.unsettled} + {assign var="b" value=""} + {assign var="b2" value=""} + {else} + {assign var="b" value=""} + {assign var="b2" value=""} + {/if} + + {if $m.is_settled == '0'} + + {else} + + {/if} + + + + + + + + + + + + + + + {/foreach} + +
     {$MOD.LBL_ACTIONS}{$MOD.LBL_UNSETTLED}{$MOD.LBL_SETTLED}{$MOD.LBL_VALUE}{$MOD.LBL_NAME}{$MOD.LBL_DATE}
      + + + {$b}{$m.unsettled}{$b2}   {$b}{$m.settled}{$b2}{$b}{$m.total}{$b2}{$b}{$m.name}{$b2} {$b}{$m.register_date}{$b2}
    +
    +
    + +
    + +
    +
    +
    +
    +{/if} diff --git a/modules/EcmPaymentStates/tpls/AccountPaymentStatesDetail.tpl b/modules/EcmPaymentStates/tpls/AccountPaymentStatesDetail.tpl new file mode 100755 index 00000000..701aeb38 --- /dev/null +++ b/modules/EcmPaymentStates/tpls/AccountPaymentStatesDetail.tpl @@ -0,0 +1,17 @@ + + + + +{foreach from=$RES item=r} + + + + +{/foreach} +
    + +
    + {$r.name} + + {$r.value} +
    \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/PDF/AccountPaymentStatespdf.tpl b/modules/EcmPaymentStates/tpls/PDF/AccountPaymentStatespdf.tpl new file mode 100755 index 00000000..f41c499c --- /dev/null +++ b/modules/EcmPaymentStates/tpls/PDF/AccountPaymentStatespdf.tpl @@ -0,0 +1,340 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +{foreach from=$transactions key="key" item="item" name=loop} + + + {if $item.type==0} + + + + + + + {else} + + + + + + + + + + + {/if} + + +{/foreach} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Strona winienStrona ma
    DataNazwaWartośćRozliczoneNie rozl.Nie rozl.RozliczoneWartośćNazwaData
    {$item.register_date}{$item.document_no}{$item.total}{$item.settled}{$item.unsettled}{$item.unsettled}{$item.settled}{$item.total}{$item.name}{$item.register_date}
    Razem:{$totals_w.wartosc|number_format:2:",":"."}{$totals_w.roz|number_format:2:",":"."}{$totals_w.nie|number_format:2:",":"."}{$totals_m.nie|number_format:2:",":"."}{$totals_m.roz|number_format:2:",":"."}{$totals_m.wartosc|number_format:2:",":"."}
    Saldo:{$saldo|number_format:2:",":"."}
    + +
    + \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/QuickCreate.tpl b/modules/EcmPaymentStates/tpls/QuickCreate.tpl new file mode 100755 index 00000000..7e421d4d --- /dev/null +++ b/modules/EcmPaymentStates/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/EcmPayments/tpls/QuickCreate.tpl b/modules/EcmPayments/tpls/QuickCreate.tpl new file mode 100755 index 00000000..3bdca4c0 --- /dev/null +++ b/modules/EcmPayments/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPAYMENTSTATE_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmPaymentStates/tpls/interestDetailView.tpl b/modules/EcmPaymentStates/tpls/interestDetailView.tpl new file mode 100755 index 00000000..131a590a --- /dev/null +++ b/modules/EcmPaymentStates/tpls/interestDetailView.tpl @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + +
    + EcmProducts + +

    {$MOD.LBL_INTERESTTABLE}: Szczegóły

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if $TABLE} + + + + + + + {/if} + +

    {$MOD.LBL_INTERESTTABLE_INFO}

    +
    + + + + + + + + {foreach from=$POSITIONS item=w} + + + + + + + {/foreach} +
    OdDo%Symbol
    {$w.date_from}{$w.date_to}{$w.rate}{$w.symbol}
    +
    +

    {$MOD.LBL_INTEREST_CALC}

    {$MOD.LBL_INTEREST_PAYMENT_TERM}Wprowadź datę + (dd.mm.yyyy) +
    {$MOD.LBL_INTEREST_AMOUNT}Wprowadź datę + (dd.mm.yyyy) +
    {$MOD.LBL_INTEREST_AFTER_PAID}
    +
    + + + + + + + + {foreach from=$TABLE item=w} + + + + + + + {/foreach} +
    OdDoDniKwota
    {$w.date_from}{$w.date_to}{$w.days}{$w.amount|number_format:3:".":","}
    +
    +
    Naliczonych odsetek{$TOTAL|number_format:2:".":","}
    +
    + + \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/interestEditView.tpl b/modules/EcmPaymentStates/tpls/interestEditView.tpl new file mode 100755 index 00000000..59252dee --- /dev/null +++ b/modules/EcmPaymentStates/tpls/interestEditView.tpl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + +
    + EcmProducts + +

    {$MOD.LBL_INTERESTTABLE}: Edycja

    +
    + + + + +
    + + + + + + + + + + + + + + + +

    {$MOD.LBL_INTERESTTABLE_INFO}

    + +
    + +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/summary.tpl b/modules/EcmPaymentStates/tpls/summary.tpl new file mode 100644 index 00000000..ef216fda --- /dev/null +++ b/modules/EcmPaymentStates/tpls/summary.tpl @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + +

    Rozrachunki: Salda

    +
    + + + + + + + + + + + + + + + + + +
    Rodzaj + {if $account_type === null } + {html_options name=account_type id=account_type options=$account_type_list} + {else} + {html_options name=account_type id=account_type options=$account_type_list selected=$account_type} + {/if} + + Saldo + + + Saldo na dzień: + + Wprowadź datę +Typ + + + Użytkownik + + +
    +
    + + + + + + + + + + + + + + + + + + + + +{foreach from=$DATA item=ROW name=loop} +{if $smarty.foreach.loop.index % 2 == 1} + +{else} + +{/if} + + + + + + + + + + + + +{/foreach} + + + + + + + + + + + +{foreach from=$SUM key="key" item="item" name=loop} + + + + + + + + + + + +{/foreach} +
    +

    {$MOD.LBL_SUMMARY_ACCOUNT} +{if $SORT.account == 'asc'} +Sortuj +{elseif $SORT.account == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    +

    Saldo +{if $SORT.saldo == 'asc'} +Sortuj +{elseif $SORT.saldo == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    +

    Saldo na dzień +{if $SORT.today_saldo == 'asc'} +Sortuj +{elseif $SORT.today_saldo == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    {$MOD.LBL_SUMMARY_OVERDUE_1_30}{$MOD.LBL_SUMMARY_OVERDUE_31_60}{$MOD.LBL_SUMMARY_OVERDUE_61_90}{$MOD.LBL_SUMMARY_OVERDUE_91_180}{$MOD.LBL_SUMMARY_OVERDUE_181}
    + + +{$ROW.name} + +{$ROW.saldo|number_format:2:",":"."} {$ROW.currency_id}{$ROW.today_saldo|number_format:2:",":"."} {$ROW.currency_id}{$ROW.2|number_format:2:",":"."} {$ROW.currency_id}{$ROW.3|number_format:2:",":"."} {$ROW.currency_id}{$ROW.4|number_format:2:",":"."} {$ROW.currency_id}{$ROW.5|number_format:2:",":"."} {$ROW.currency_id}{$ROW.6|number_format:2:",":"."} {$ROW.currency_id}
    Razem:{$SUM.$key.saldo|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.today_saldo|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.2|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.3|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.4|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.5|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.6|number_format:2:",":"."} {$SUM.$key.currency_id}
    \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/summary1.tpl b/modules/EcmPaymentStates/tpls/summary1.tpl new file mode 100644 index 00000000..636b17ec --- /dev/null +++ b/modules/EcmPaymentStates/tpls/summary1.tpl @@ -0,0 +1,311 @@ + + + + + + + + + + + + + + + + + + +

    Rozrachunki: Salda

    +
    + + + + + + + + + + + + + + +
    Rodzaj Kontrahenta + + {if $account_type === '' } + {html_options name=account_type id=account_type options=$account_type_list selected='a' } + {else} + {html_options name=account_type id=account_type options=$account_type_list selected=$account_type} + {/if} + + Saldo + + +
    +
    + + + + + + + + + + + + + + + + + + + + + +{foreach from=$DATA item=ROW name=loop} +{if $smarty.foreach.loop.index % 2 == 1} + +{else} + +{/if} + + + + + + + + + + + + + +{/foreach} + + + + + + + + + + + +{foreach from=$SUM key="key" item="item" name=loop} + + + + + + + + + + + + +{/foreach} +
    + +

    Index +{if $SORT.index == 'asc'} +Sortuj +{elseif $SORT.index == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    +

    {$MOD.LBL_SUMMARY_ACCOUNT} +{if $SORT.account == 'asc'} +Sortuj +{elseif $SORT.account == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    +

    Saldo +{if $SORT.saldo == 'asc'} +Sortuj +{elseif $SORT.saldo == 'desc'} +Sortuj +{else} +Sortuj +{/if} +

    +
    {$MOD.LBL_SUMMARY_OVERDUE_1_30}{$MOD.LBL_SUMMARY_OVERDUE_31_60}{$MOD.LBL_SUMMARY_OVERDUE_61_90}{$MOD.LBL_SUMMARY_OVERDUE_91_180}{$MOD.LBL_SUMMARY_OVERDUE_181}
    + +{$ROW.index} + + + + +{$ROW.name} + +{$ROW.saldo|number_format:2:",":"."} {$ROW.currency_id}{$ROW.2|number_format:2:",":"."} {$ROW.currency_id}{$ROW.3|number_format:2:",":"."} {$ROW.currency_id}{$ROW.4|number_format:2:",":"."} {$ROW.currency_id}{$ROW.5|number_format:2:",":"."} {$ROW.currency_id}{$ROW.6|number_format:2:",":"."} {$ROW.currency_id}
    Razem:{$SUM.$key.saldo|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.2|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.3|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.4|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.5|number_format:2:",":"."} {$SUM.$key.currency_id}{$SUM.$key.6|number_format:2:",":"."} {$SUM.$key.currency_id}
    \ No newline at end of file diff --git a/modules/EcmPaymentStates/tpls/summaryDetail.tpl b/modules/EcmPaymentStates/tpls/summaryDetail.tpl new file mode 100755 index 00000000..08520c21 --- /dev/null +++ b/modules/EcmPaymentStates/tpls/summaryDetail.tpl @@ -0,0 +1,76 @@ +
    + + + +{foreach from=$D10 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D9 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D8 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
      + +{foreach from=$D2 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D3 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D4 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D5 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + +{foreach from=$D6 key=ID item=ROW name=loop} + +{/foreach} +
    + +{$ROW.name}   {$ROW.value}
    {$ROW.settled}
    +
    + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPAYMENT_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmPayments/view/DetailView/DetailView.tpl b/modules/EcmPayments/view/DetailView/DetailView.tpl new file mode 100755 index 00000000..6064c780 --- /dev/null +++ b/modules/EcmPayments/view/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/footer.tpl"}} + diff --git a/modules/EcmPayments/view/DetailView/footer.tpl b/modules/EcmPayments/view/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmPayments/view/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmPayments/view/DetailView/header.tpl b/modules/EcmPayments/view/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmPayments/view/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmPayments/view/EditView/EditView.tpl b/modules/EcmPayments/view/EditView/EditView.tpl new file mode 100755 index 00000000..27925123 --- /dev/null +++ b/modules/EcmPayments/view/EditView/EditView.tpl @@ -0,0 +1,421 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmInvoiceOuts/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInvoiceOuts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmPayments/view/EditView/footer.tpl b/modules/EcmPayments/view/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmPayments/view/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmPayments/view/EditView/header.tpl b/modules/EcmPayments/view/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmPayments/view/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmPrepaymentInvoices/tpls/ListNewSales.tpl b/modules/EcmPrepaymentInvoices/tpls/ListNewSales.tpl new file mode 100755 index 00000000..e5858b5c --- /dev/null +++ b/modules/EcmPrepaymentInvoices/tpls/ListNewSales.tpl @@ -0,0 +1,254 @@ + + + + + +
    EcmProducts

    {$MOD.LBL_LISTNEWSALES_NAME}

    +
    + + + + + + + + + + + + + + + + + +
    + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
    + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: +
    + + + + + + +{if $LINK!=''}
    {$LINK}{/if} + + + + + + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + + + + + + + + + {/if} + + {/foreach} + + + + + + + + + + + + + +
    {$MOD.LBL_LISTNEWSALES_POS}{$MOD.LBL_LISTNEWSALES_NUMBER}{$MOD.LBL_LISTNEWSALES_DESCRIPTION}{$MOD.LBL_LISTNEWSALES_PARENT_NAME}{$MOD.LBL_LISTNEWSALES_DELIVERY_DATE}{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_TOTAL_NETTO}{$MOD.LBL_LISTNEWSALES_TOTAL_VAT}{$MOD.LBL_LISTNEWSALES_TOTAL_BRUTTO}{$MOD.LBL_LISTNEWSALES_TOTAL_INVOICE}{$MOD.LBL_LISTNEWSALES_PERCENT}{$MOD.LBL_LISTNEWSALES_PRINTED} 
    {$item.position}{$item.document_no}{$item.parent_name}{$item.delivery_date}{$item.quantity}{$item.total_netto|number_format:2:".":","}{$item.total_vat|number_format:2:".":","}{$item.total_brutto|number_format:2:".":","}{$item.total_invoice|number_format:2:".":","}{$item.percent} + + + {if $item.fv_switch=='yes'}'{/if} + {if $item.fv_switch=='no'}{/if} + {if $item.wz_switch=='disabled'} {/if} + {if $item.wz_switch=='enabled'}{/if} + +
    {$MOD.LBL_LISTNEWSALES_SUMMARY}:{$POSITION_LIST.total_quantity}{$POSITION_LIST.total_netto|number_format:2:".":","}{$POSITION_LIST.total_vat|number_format:2:".":","}{$POSITION_LIST.total_brutto|number_format:2:".":","}{$POSITION_LIST.total_invoice|number_format:2:".":","}{$POSITION_LIST.total_percent|string_format:"%.2f"}% + + +
    \ No newline at end of file diff --git a/modules/EcmPrepaymentInvoices/tpls/ProductSummary.tpl b/modules/EcmPrepaymentInvoices/tpls/ProductSummary.tpl new file mode 100755 index 00000000..c019e5fd --- /dev/null +++ b/modules/EcmPrepaymentInvoices/tpls/ProductSummary.tpl @@ -0,0 +1,190 @@ + + + + + +
    EcmProducts

    {$MOD.LBL_LISTNEWSALES_NAME}

    +
    + + + + + + + + + + + + + + + + + +
    + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
    + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: +
    + +
    +
    +{$MOD.LBL_LISTNEWSALES_GROUP_KS}: + + + + + + +
    + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + {if $item.quantity>$item.stock} + + + {else} + + + {/if} + + {/if} + + {/foreach} + + + + + + +
    {$MOD.LBL_LISTNEWSALES_PRODUCTCODE}{$MOD.LBL_LISTNEWSALES_PRODUCTNAME}{$MOD.LBL_LISTNEWSALES_CATEGORY}{$MOD.LBL_LISTNEWSALES_GROUP_KS}{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_STOCK}
    {$item.code}{$item.name}{$item.product_category_name}{$item.group_ks_name}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}
    {$MOD.LBL_LISTNEWSALES_SUMMARY}{$POSITION_LIST.quantity|number_format:2:".":","}{$POSITION_LIST.stock|number_format:2:".":","}
    +7 \ No newline at end of file diff --git a/modules/EcmPrepaymentInvoices/tpls/tmp.tpl b/modules/EcmPrepaymentInvoices/tpls/tmp.tpl new file mode 100755 index 00000000..0dcd7b40 --- /dev/null +++ b/modules/EcmPrepaymentInvoices/tpls/tmp.tpl @@ -0,0 +1,17 @@ + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + {/if} + {/foreach} + +
    nameilosc
    {$item.name}{$item.quantity}
    \ No newline at end of file diff --git a/modules/EcmPrepaymentInvoices/views/DetailView/DetailView.tpl b/modules/EcmPrepaymentInvoices/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmPrepaymentInvoices/views/DetailView/footer.tpl b/modules/EcmPrepaymentInvoices/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmPrepaymentInvoices/views/DetailView/header.tpl b/modules/EcmPrepaymentInvoices/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmPrepaymentInvoices/views/EditView/EditView.tpl b/modules/EcmPrepaymentInvoices/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmPrepaymentInvoices/views/EditView/footer.tpl b/modules/EcmPrepaymentInvoices/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmPrepaymentInvoices/views/EditView/header.tpl b/modules/EcmPrepaymentInvoices/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmPrepaymentInvoices/views/createInvoice.tpl b/modules/EcmPrepaymentInvoices/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmPrepaymentInvoices/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmPrepaymentInvoices2/tpls/QuickCreate.tpl b/modules/EcmPrepaymentInvoices2/tpls/QuickCreate.tpl new file mode 100755 index 00000000..94d7fce2 --- /dev/null +++ b/modules/EcmPrepaymentInvoices2/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPREPAYMENTINVOICE_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmPrepaymentInvoices3/tpls/QuickCreate.tpl b/modules/EcmPrepaymentInvoices3/tpls/QuickCreate.tpl new file mode 100755 index 00000000..94d7fce2 --- /dev/null +++ b/modules/EcmPrepaymentInvoices3/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
    + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPREPAYMENTINVOICE_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmPriceBooks/tpls/QuickCreate.tpl b/modules/EcmPriceBooks/tpls/QuickCreate.tpl new file mode 100644 index 00000000..c3c88be0 --- /dev/null +++ b/modules/EcmPriceBooks/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRICEBOOK_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmPriceBooks2/tpls/QuickCreate.tpl b/modules/EcmPriceBooks2/tpls/QuickCreate.tpl new file mode 100755 index 00000000..c3c88be0 --- /dev/null +++ b/modules/EcmPriceBooks2/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRICEBOOK_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmPrices/tpls/QuickCreate.tpl b/modules/EcmPrices/tpls/QuickCreate.tpl new file mode 100755 index 00000000..482591e9 --- /dev/null +++ b/modules/EcmPrices/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRICE_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmPrivateDocuments/tpls/EditViewHeader.tpl b/modules/EcmPrivateDocuments/tpls/EditViewHeader.tpl new file mode 100755 index 00000000..1bda4218 --- /dev/null +++ b/modules/EcmPrivateDocuments/tpls/EditViewHeader.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* +* SugarCRM is a customer relationship management program developed by +* SugarCRM, Inc. Copyright (C) 2004 - 2009 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". +********************************************************************************/ +*} +
    + + + + + +
    + + {if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + + {else} + + {/if} + + + + + + + {**} + {if !empty($smarty.request.return_module)} + + + {/if} + + {{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}} + {{$ADMIN_EDIT}}
    diff --git a/modules/EcmPrivateDocuments/tpls/QuickCreate.tpl b/modules/EcmPrivateDocuments/tpls/QuickCreate.tpl new file mode 100755 index 00000000..80334390 --- /dev/null +++ b/modules/EcmPrivateDocuments/tpls/QuickCreate.tpl @@ -0,0 +1,103 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + + + + + + + + + + + + + + + + + + +{if $REQUEST.parent_id} + +{else} + +{/if} +{if $REQUEST.parent_type} + +{else} + +{/if} + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + +

    {$MOD.LBL_NEW_FORM_TITLE}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}
    {$MOD.LBL_ECMPRIVATEDOCUMENT}
    + + diff --git a/modules/EcmProductB2Bs/tpls/QuickCreate.tpl b/modules/EcmProductB2Bs/tpls/QuickCreate.tpl new file mode 100755 index 00000000..ff0198c2 --- /dev/null +++ b/modules/EcmProductB2Bs/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRODUCT_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmProductB2Bs/views/EditView/EditView.tpl b/modules/EcmProductB2Bs/views/EditView/EditView.tpl new file mode 100755 index 00000000..0d61fe65 --- /dev/null +++ b/modules/EcmProductB2Bs/views/EditView/EditView.tpl @@ -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} + + + + + + + +{/literal} + + + + + + + +{{include file='modules/EcmProductB2Bs/views/EditView/header.tpl'}} + + + +{sugar_include include=$includes} + + + + + + + + + + + +{{if $panelCount == 0}} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + + + + {{/if}} + + + +{{/if}} + + + +
    + + + + + + + +{literal} + + + + + + + +{/literal} + + + + + + + +
      + + + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + + + {{if $panel[0][0].field.type == 'tab'}} + + + +
    • + + + + + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + + + +
    • + + + + {{/if}} + + + +{{/foreach}} + + + +
    + + + + + + + +{{* 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 *}} + + + +
    + + + +{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}} + + + + + + + + + + + +{{* Only show header if it is not default or an int value *}} + + + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + + + + +{{/if}} + + + + + + + +{{assign var='rowCount' value=0}} + + + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + + + + + + + {{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)}} + + + + + + + + {{/if}} + + + + + + + + + + + +{{/foreach}} + + + +
    + + + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + + + +
    + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + + + +
    + + + + {{/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}} + + + +
    + + + + + + + +{{/if}} + + + + + + + +
    + + + +{if $panelFieldCount == 0} + + + + + + + +{/if} + + + +{{/foreach}} + + + +{{include file='modules/EcmProductB2Bs/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmProductB2Bs/views/EditView/footer.tpl b/modules/EcmProductB2Bs/views/EditView/footer.tpl new file mode 100755 index 00000000..d98a8d74 --- /dev/null +++ b/modules/EcmProductB2Bs/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmProductB2Bs/views/EditView/header.tpl b/modules/EcmProductB2Bs/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmProductB2Bs/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmProductCategories/tpls/QuickCreate.tpl b/modules/EcmProductCategories/tpls/QuickCreate.tpl new file mode 100755 index 00000000..35bdadeb --- /dev/null +++ b/modules/EcmProductCategories/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    {$MOD.LBL_ECMPRODUCTCATEGORY_INFORMATION}

    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
    {$MOD.LBL_STATUS}
    + + diff --git a/modules/EcmProductStockIndexs/tpls/QuickCreate.tpl b/modules/EcmProductStockIndexs/tpls/QuickCreate.tpl new file mode 100755 index 00000000..0ff94e2e --- /dev/null +++ b/modules/EcmProductStockIndexs/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMSTOCK_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmProducts/tpls/DetailViewComponents.tpl b/modules/EcmProducts/tpls/DetailViewComponents.tpl new file mode 100755 index 00000000..a743322b --- /dev/null +++ b/modules/EcmProducts/tpls/DetailViewComponents.tpl @@ -0,0 +1,9 @@ + {if $COMPONENT_LIST|@count > 0} +
    + {/if} +
    + + +
    +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/DetailViewEcmActions.tpl b/modules/EcmProducts/tpls/DetailViewEcmActions.tpl new file mode 100755 index 00000000..68505fc8 --- /dev/null +++ b/modules/EcmProducts/tpls/DetailViewEcmActions.tpl @@ -0,0 +1,5 @@ + +
    + +
    +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/EditVew_prices_and_category.tpl b/modules/EcmProducts/tpls/EditVew_prices_and_category.tpl new file mode 100755 index 00000000..e08f54fc --- /dev/null +++ b/modules/EcmProducts/tpls/EditVew_prices_and_category.tpl @@ -0,0 +1,38 @@ + + + + + + + +
    + +
    + + + + + + + + + + +
    {$MOD.LBL_PRICE_NAME}{$MOD.LBL_PRICE_VALUE}{$MOD.LBL_PRICE_CURRENCY}
    +
    +
    +
    + +
    + + + + + + + + + +
    {$MOD.LBL_CATEGORY_NAME}
    +
    +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/EditViewComponents.tpl b/modules/EcmProducts/tpls/EditViewComponents.tpl new file mode 100755 index 00000000..2f0de6eb --- /dev/null +++ b/modules/EcmProducts/tpls/EditViewComponents.tpl @@ -0,0 +1,23 @@ +{* +
    + + + + + + + + + + + + + +
    {$MOD.LBL_EDITTABLE_NO}{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}{$MOD.LBL_EDITTABLE_UNIT}{$MOD.LBL_EDITTABLE_QUANTITY}{$MOD.LBL_EDITTABLE_OPTIONS}
    +
    +
    *} +
    + + +
    +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/EditViewEcmAction.tpl b/modules/EcmProducts/tpls/EditViewEcmAction.tpl new file mode 100755 index 00000000..eee13e0e --- /dev/null +++ b/modules/EcmProducts/tpls/EditViewEcmAction.tpl @@ -0,0 +1,18 @@ + +
    + +
    +
    +
    + +
    + +
    +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/QuickCreate.tpl b/modules/EcmProducts/tpls/QuickCreate.tpl new file mode 100755 index 00000000..a4225e76 --- /dev/null +++ b/modules/EcmProducts/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
    + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMPRODUCT_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmProducts/tpls/share.tpl b/modules/EcmProducts/tpls/share.tpl new file mode 100755 index 00000000..d51410ae --- /dev/null +++ b/modules/EcmProducts/tpls/share.tpl @@ -0,0 +1,104 @@ + + +{if $added==1} +

    Produkty zostały udostępnione

    +

    {/if} +

    Udostępnij firmie

    +
    + + + + + + + + + + + + {foreach from=$users item=row key=k} + + + + + + + + {/foreach} + + +
    +
    +
    Firma
    + {$row.name}
    + +
    +
    +

    Wybrane produkty

    + + + + + + + + + {foreach from=$account_list item=row key=k} + + + + + + + + {/foreach} + + +
    +
    Produkt
    {$row.name}
    + +
    +
    + +
    \ No newline at end of file diff --git a/modules/EcmProducts/tpls/shortPDF.tpl b/modules/EcmProducts/tpls/shortPDF.tpl new file mode 100755 index 00000000..e7b48c35 --- /dev/null +++ b/modules/EcmProducts/tpls/shortPDF.tpl @@ -0,0 +1,216 @@ + + + + + +
    {$current_date}
    + + + + + + +
    + + + + + + + + + + + + + +
    + Nazwa produktu: + + {$product->name} +
    + Indeks produktu: + + {$product->code} +
    + J.M: + + {foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc} + {if $klucz==$product->unit_id} + {$wartosc} + {/if} + {/foreach} + +
    +
    + {if $product->product_picture != ''} + + {/if} + {if $product->packing_front_picture!= ''} + + {/if} +
    + + +{if isset($componentList)} +
    + Komponenty + + + + + + + + + + + + + + {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} + + + + + + + + + + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa + + j.m. + + Ilość + + Cena + + Wartość +
    + {$key+1} + + {$value.code} + + {$value.name} + + + {foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc} + {if $klucz==$value.unit_id} + {$wartosc} + {/if} + {/foreach} + + {$value.quantity|number_format:2:",":"."} + + {$value.price.Single|number_format:2:",":"."} + + {$value.price.Summary|number_format:2:",":"."} +
    + Suma + + {$sumSignle|number_format:2:",":"."} + + {$sumTotal|number_format:2:",":"."} +
    +{/if} + + +{if $product->action_list!= '[]'} +
    + Czynności + + + + + + + + + + + + + + {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} + + + + + + + + + + {/foreach} + + + + + + + + +
    + Lp. + + Indeks + + Nazwa + + j.m. + + Ilość + + Cena + + Wartość +
    + {$key+1} + + {$value.indeks} + + {$value.name} + + + {foreach from=$APP_LIST_STRINGS.ecmproducts_unit_dom key=klucz item=wartosc} + {if $klucz==$value.unit_id} + {$wartosc} + {/if} + {/foreach} + + {$value.quantity|number_format:2:",":"."} + + {$value.price.Single|number_format:2:",":"."} + + {$value.price.Summary|number_format:2:",":"."} +
    + Suma + + {$sumSignle|number_format:2:",":"."} + + {$sumTotal|number_format:2:",":"."} +
    +{/if} \ No newline at end of file diff --git a/modules/EcmProducts/views/EditView/EditView.tpl b/modules/EcmProducts/views/EditView/EditView.tpl new file mode 100755 index 00000000..74363f33 --- /dev/null +++ b/modules/EcmProducts/views/EditView/EditView.tpl @@ -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} + + + + + + + +{/literal} + + + + + + + +{{include file='modules/EcmProducts/views/EditView/header.tpl'}} + + + +{sugar_include include=$includes} + + + + + + + + + + + +{{if $panelCount == 0}} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + + + + {{/if}} + + + +{{/if}} + + + +
    + + + + + + + +{literal} + + + + + + + +{/literal} + + + + + + + +
      + + + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + + + {{if $panel[0][0].field.type == 'tab'}} + + + +
    • + + + + + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + + + +
    • + + + + {{/if}} + + + +{{/foreach}} + + + +
    + + + + + + + +{{* 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 *}} + + + +
    + + + +{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}} + + + + + + + + + + + +{{* Only show header if it is not default or an int value *}} + + + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + + + + + +{{/if}} + + + + + + + +{{assign var='rowCount' value=0}} + + + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + + + + + + + {{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)}} + + + + + + + + {{/if}} + + + + + + + + + + + +{{/foreach}} + + + +
    + + + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + + + +
    + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + + + + + {{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)}} + + + + {{$APP.LBL_REQUIRED_SYMBOL}} + + + + {{/if}} + + + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + + + +
    + + + + {{/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}} + + + +
    + + + + + + + +{{/if}} + + + + + + + +
    + + + +{if $panelFieldCount == 0} + + + + + + + +{/if} + + + +{{/foreach}} + + + +{{include file='modules/EcmProducts/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmProducts/views/EditView/footer.tpl b/modules/EcmProducts/views/EditView/footer.tpl new file mode 100755 index 00000000..d98a8d74 --- /dev/null +++ b/modules/EcmProducts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmProducts/views/EditView/header.tpl b/modules/EcmProducts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmProducts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmPurchaseOrders/views/DetailView/DetailView.tpl b/modules/EcmPurchaseOrders/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmPurchaseOrders/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmPurchaseOrders/views/DetailView/footer.tpl b/modules/EcmPurchaseOrders/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmPurchaseOrders/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmPurchaseOrders/views/DetailView/header.tpl b/modules/EcmPurchaseOrders/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmPurchaseOrders/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmPurchaseOrders/views/EditView/EditView.tpl b/modules/EcmPurchaseOrders/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmPurchaseOrders/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmPurchaseOrders/views/EditView/footer.tpl b/modules/EcmPurchaseOrders/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmPurchaseOrders/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmPurchaseOrders/views/EditView/header.tpl b/modules/EcmPurchaseOrders/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmPurchaseOrders/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmQuotes/views/DetailView/DetailView.tpl b/modules/EcmQuotes/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmQuotes/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmQuotes/views/DetailView/footer.tpl b/modules/EcmQuotes/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmQuotes/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmQuotes/views/DetailView/header.tpl b/modules/EcmQuotes/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmQuotes/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmQuotes/views/EditView/EditView.tpl b/modules/EcmQuotes/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmQuotes/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmQuotes/views/EditView/footer.tpl b/modules/EcmQuotes/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmQuotes/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmQuotes/views/EditView/header.tpl b/modules/EcmQuotes/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmQuotes/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmQuotes/views/createInvoice.tpl b/modules/EcmQuotes/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmQuotes/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmReceipts/views/DetailView/DetailView.tpl b/modules/EcmReceipts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmReceipts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmReceipts/views/DetailView/footer.tpl b/modules/EcmReceipts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmReceipts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmReceipts/views/DetailView/header.tpl b/modules/EcmReceipts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmReceipts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmReceipts/views/EditView/EditView.tpl b/modules/EcmReceipts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmReceipts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmReceipts/views/EditView/footer.tpl b/modules/EcmReceipts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmReceipts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmReceipts/views/EditView/header.tpl b/modules/EcmReceipts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmReceipts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmReceipts/views/createInvoice.tpl b/modules/EcmReceipts/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmReceipts/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

    Wystaw fakture

    + +
    +{literal} + + + +{/literal} + + +
    + + + + + + + + + + + + + +
    Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
    +
    diff --git a/modules/EcmReceipts2/view/DetailView/DetailView.tpl b/modules/EcmReceipts2/view/DetailView/DetailView.tpl new file mode 100755 index 00000000..369727d1 --- /dev/null +++ b/modules/EcmReceipts2/view/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmReceipts/view/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
    + +{{/if}} + +
    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmReceipts/view/DetailView/footer.tpl"}} + diff --git a/modules/EcmReceipts2/view/DetailView/footer.tpl b/modules/EcmReceipts2/view/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmReceipts2/view/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
    diff --git a/modules/EcmReceipts2/view/DetailView/header.tpl b/modules/EcmReceipts2/view/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmReceipts2/view/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
    +
    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
    +
    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
    diff --git a/modules/EcmReceipts2/view/EditView/EditView.tpl b/modules/EcmReceipts2/view/EditView/EditView.tpl new file mode 100755 index 00000000..ad6a8582 --- /dev/null +++ b/modules/EcmReceipts2/view/EditView/EditView.tpl @@ -0,0 +1,421 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmReceipts/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
    + + + +{literal} + + + +{/literal} + + + +
      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
    • + + {{/if}} + +{{/foreach}} + +
    + + + +{{* 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 *}} + +
    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
    + +

    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

    + +
    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
    + + {{/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}} + +
    + + + +{{/if}} + + + +
    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmReceipts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmReceipts2/view/EditView/footer.tpl b/modules/EcmReceipts2/view/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmReceipts2/view/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmReceipts2/view/EditView/header.tpl b/modules/EcmReceipts2/view/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmReceipts2/view/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
    + + + + + +
    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
    diff --git a/modules/EcmReminders/tpls/QuickCreate.tpl b/modules/EcmReminders/tpls/QuickCreate.tpl new file mode 100755 index 00000000..32332962 --- /dev/null +++ b/modules/EcmReminders/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + +
    + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
    + + + +
    + + + + + + + + +
    +

    {$MOD.LBL_ECMREMINDER_INFORMATION}

    +
    {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
    + + diff --git a/modules/EcmReports/Kartoteka.tpl b/modules/EcmReports/Kartoteka.tpl new file mode 100755 index 00000000..b9e4ba59 --- /dev/null +++ b/modules/EcmReports/Kartoteka.tpl @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + +
    + EcmProducts + +

    Kartoteka ruchu towarów - Podsumowanie

    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + +
    Data od + + Enter Date + + Data do + + Enter Date + +
    + + + + + +
    +
    + + + + + + + + + + {assign var="number" value=1} + {foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + {if $key==0} + {assign var=nowa_suma value=$nowa_suma+$item2} + {else} + {assign var=nowa_suma value=$nowa_suma-$item2} + {/if} + {/foreach} + {/foreach} + + + + + +
    Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." }
    {$doc_name.$key2} {if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."}
    Stan końcowy:{$nowa_suma+$TOTAL_VALUE_OLD|number_format:2:",":"." }
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/AnalysisEcmQuote.tpl b/modules/EcmReports/tpls/AnalysisEcmQuote.tpl new file mode 100755 index 00000000..5102d86a --- /dev/null +++ b/modules/EcmReports/tpls/AnalysisEcmQuote.tpl @@ -0,0 +1,90 @@ + + + + + + + +
    + EcmProducts + +

    {$MOD.LBL_REPORT_SALES_ANALYSIS_ECMQUOTE}

    +
    +
    + + + + + + + + + + +
    + {$MOD.LBL_CONTRACTOR}: + + + + +
    + + +
    + + + + + + {foreach from=$DATA key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.created key=key item=item} + {assign var=sumacreated value=$sumacreated+$item} + + {/foreach} + + + + + + {foreach from=$ROWS.accepted key=key item=item} + {assign var=sumaaccepted value=$sumaaccepted+$item} + + {/foreach} + + + + + {foreach from=$ROWS.not_accepted key=key item=item} + {assign var=sumanot_accepted value=$sumanot_accepted+$item} + + {/foreach} + + + +
    Nazwa{$key}Suma
    Utworzona/Wysłana{$item|number_format:0:",":"."}{$sumacreated|number_format:0:",":"."}
    Przyjęta{$item|number_format:0:",":"."}{$sumaaccepted|number_format:0:",":"."}
    Odrzucona{$item|number_format:0:",":"."}{$sumanot_accepted|number_format:0:",":"."}
    + +
    + + + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/AnalysisPZ.tpl b/modules/EcmReports/tpls/AnalysisPZ.tpl new file mode 100644 index 00000000..c1bd8694 --- /dev/null +++ b/modules/EcmReports/tpls/AnalysisPZ.tpl @@ -0,0 +1,175 @@ + + + + + + + +
    + EcmProducts + +

    {$MOD.LBL_REPORT_BUY_ANALIS_PRODUCT}

    +
    +
    + +
    + + + + + + + + {if !empty($product_group) } + + + {/if} + + {if !empty($product_group_2) } + + + {/if} + + + {if !empty($stock_array)} + + + + {/if} + + + +
    + {$MOD.LBL_PRODUCT_GROUP}: + + + + {$MOD.LBL_PRODUCT_GROUP_2}: + + + + {$MOD.LBL_PRODUCT}: + + + + + + {$MOD.LBL_STOCK}: + + +
    + {$MOD.LBL_CONTRACTOR}: + + + + +
    + + +
    +{ if count($DATA)>0} + + + + + {foreach from=$DATA key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.netto key=key item=item} + {assign var=sumanetto value=$sumanetto+$item} + + {/foreach} + + + + + + {foreach from=$ROWS.ilosc key=key item=item} + {assign var=sumakupno value=$sumakupno+$item} + + {/foreach} + + + + + {foreach from=$ROWS.srednia key=key item=item} + {assign var=sumamarza value=$sumamarza+$item} + + {/foreach} + + + + + +
    {$MOD.LBL_NAME}{$key}Suma
    {$MOD.LBL_NETTO}{$item|number_format:2:",":"."}{$sumanetto|number_format:2:",":"."}
    Ilość razem{$item|number_format:2:",":"."}{$sumakupno|number_format:2:",":"."}
    Średnia cena{$item|number_format:2:",":"."}{$sumanetto/$sumakupno|number_format:2:",":"."}
    +{/if} +
    +
    + + + + + diff --git a/modules/EcmReports/tpls/AnalysisProductSale.tpl b/modules/EcmReports/tpls/AnalysisProductSale.tpl new file mode 100755 index 00000000..675baf7d --- /dev/null +++ b/modules/EcmReports/tpls/AnalysisProductSale.tpl @@ -0,0 +1,192 @@ + + + + + + + +
    + EcmProducts + +

    {$MOD.LBL_REPORT_SALES_ANALIS_PRODUCT}

    +
    +
    + +
    + + + + + + + + {if !empty($product_group) } + + + {/if} + + {if !empty($product_group_2) } + + + {/if} + + + {if !empty($stock_array)} + + + + {/if} + + + +
    + {$MOD.LBL_PRODUCT_GROUP}: + + + + {$MOD.LBL_PRODUCT_GROUP_2}: + + + + {$MOD.LBL_PRODUCT}: + + + + + + {$MOD.LBL_STOCK}: + + +
    + {$MOD.LBL_CONTRACTOR}: + + + + +
    + + +
    +{if count($DATA)>0} + + + + + {foreach from=$DATA key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.netto key=key item=item} + {assign var=sumanetto value=$sumanetto+$item} + + {/foreach} + + + + + + {foreach from=$ROWS.kupno key=key item=item} + {assign var=sumakupno value=$sumakupno+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marza key=key item=item} + {assign var=sumamarza value=$sumamarza+$item} + + {/foreach} + + + + + {foreach from=$ROWS.ilosc key=key item=item} + {assign var=sumamarzaprocent value=$sumamarzaprocent+$item} + + {/foreach} + + + + + {foreach from=$ROWS.srednia key=key item=item} + {assign var=sumamt value=$sumamt+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marzaprocent key=key item=item} + {assign var=sumamarzaprocent value=$sumamarzaprocent+$item} + + {/foreach} + + + + + +
    {$MOD.LBL_NAME}{$key}Suma
    {$MOD.LBL_NETTO}{$item|number_format:2:",":"."}{$sumanetto|number_format:2:",":"."}
    {$MOD.LBL_PURCHASE}{$item|number_format:2:",":"."}{$sumakupno|number_format:2:",":"."}
    {$MOD.LBL_INCOME}{$item|number_format:2:",":"."}{$sumamarza|number_format:2:",":"."}
    Ilość razem{$item|number_format:2:",":"."} {$sumamarzaprocent|number_format:2:",":"."}
    Średnia cena{$item|number_format:2:",":"."} {$sumanetto/$sumamarzaprocent|number_format:2:",":"."}
    {$MOD.LBL_OVERHEAD} %{$item|number_format:2:",":"."} %{$sumamarzaprocent/12|number_format:2:",":"."} %
    +{/if} +
    +
    + + + + + diff --git a/modules/EcmReports/tpls/Kartoteka.tpl b/modules/EcmReports/tpls/Kartoteka.tpl new file mode 100755 index 00000000..d2d6289c --- /dev/null +++ b/modules/EcmReports/tpls/Kartoteka.tpl @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + +
    + EcmProducts + +

    Kartoteka ruchu towarów - Podsumowanie

    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + +
    Data od + + Enter Date + + Data do + + Enter Date + +
    + + + + + +
    +
    + + + + + + + + + + {assign var="number" value=1} + {foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + {if $key==0} + {assign var=nowa_suma value=$nowa_suma+$item2} + {else} + {assign var=nowa_suma value=$nowa_suma-$item2} + {/if} + {/foreach} + {/foreach} + + + + + +
    Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." } zł
    {$doc_name.$key2} {if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."} zł
    Stan końcowy:{$nowa_suma+$TOTAL_VALUE_OLD|number_format:2:",":"." } zł
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/Kartoteka.tpl b/modules/EcmReports/tpls/PDF/Kartoteka.tpl new file mode 100755 index 00000000..f579f277 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/Kartoteka.tpl @@ -0,0 +1,289 @@ + + + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + + + + + {if $key==0} + {assign var=nowa_suma value=$nowa_suma+$item2} + {else} + {assign var=nowa_suma value=$nowa_suma-$item2} + {/if} + {/foreach} +{/foreach} + + + + + + + +
    Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." } zł
    {$doc_name.$key2} { if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."} zł
    Stan końcowy:{$nowa_suma+$TOTAL_VALUE_OLD|number_format:2:",":"." } zł
    diff --git a/modules/EcmReports/tpls/PDF/ListDailySales.tpl b/modules/EcmReports/tpls/PDF/ListDailySales.tpl new file mode 100755 index 00000000..b0ae82d1 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ListDailySales.tpl @@ -0,0 +1,343 @@ +{literal} + + + + + + +{/literal} +
    + + + + + + + + + + + + + +
    Raport wartościowy
    SAAS-SYSTEMS
    Data wygenerowania: {$current_date_formatted}
    Rejestr od {$date_from_formatted} do {$date_to_formatted}
    +
    +{literal} +
    + + + + + + + +
    {DATE j.m.Y}{PAGENO}/{nbpg}Raport wartościowy
    +
    + + + + + + +
    SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
    +
    +{/literal} +
    + + +

    {$MOD.LBL_SUBPANEL_TITLE}

    + +{* Table headers *} + + + + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$DATA item=ROW name=loop} + + + + + + + + + + + + + {/foreach} + + + +
    {$MOD.LBL_CONTRACTOR}{$MOD.LBL_INVOICE_NUMBER}{$MOD.LBL_TYPE}{$MOD.LBL_DOCUMENT_DATE}{$MOD.LBL_PDF_TYPE}{$MOD.LBL_NET_VALUE}{$MOD.LBL_GROSS_VALUE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
    {$SUM.netto|number_format:2:",":"." }{$SUM.brutto|number_format:2:",":"." }{$SUM.cost|number_format:2:",":"." }{$SUM.margin|number_format:2:",":"." }
    {$ROW.account.name}{$ROW.document_no}{$ROW.showType}{$ROW.register_date|date_format:"%d.%m.%Y"}{if $ROW.pdf_type == 'U'} + {$MOD.LBL_PDF_TYPE_U} + {/if} + {if $ROW.pdf_type == 'K'} + {$MOD.LBL_PDF_TYPE_K} + {/if} + {if $ROW.pdf_type == 'E'} + {$MOD.LBL_PDF_TYPE_E} + {/if} + {$ROW.total_netto|number_format:2:",":"." }{$ROW.total_brutto|number_format:2:",":"." }{$ROW.purchase_price|number_format:2:",":"." }{$ROW.margin|number_format:2:",":"." } ({$ROW.marginInPercent|number_format:2:",":"."}%)
    + diff --git a/modules/EcmReports/tpls/PDF/ProductOptionHistory.tpl b/modules/EcmReports/tpls/PDF/ProductOptionHistory.tpl new file mode 100755 index 00000000..ff71cf65 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ProductOptionHistory.tpl @@ -0,0 +1,370 @@ + +
    + + + + + + + + + + + + + + + + + +
    + Wybrany produkt: + + {$product_name} +
    + Indeks: + + {$product_indeks} +
    + Stan początkowy (ilość): + + {$start_quantity} {$product_unit} +
    + Stan początkowy (wartość): + + {$start_value|number_format:2:",":"."} zł +
    + + + + + + + + + + + + + + +{foreach from=$DATA key="key" item="item" name=loop} + + + + + + + + + + + + + +{/foreach} + + + + + + + + + + + + + + +
    L.p.DataDokumentKontrahentPrzychódRozchódStan po obr.
    {$item.lp}{$item.date_entered|date_format:"%d.%m.%Y"} {$item.doc_code} {$item.doc_name}{$item.doc_parent_name} + {if $item.type==0} + {if $item.correct=='correct'} + 0 {$product_unit}
    0,00 zł + {else} + {$item.quantity|number_format:$item.unit_precision:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {/if} + + {else} + 0 {$product_unit}
    0,00 zł + {/if}
    + {if $item.type==1} + {$item.quantity|number_format:$item.unit_precision:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {else} + {if $item.correct=='correct'} + {$item.quantity|number_format:$item.unit_precision:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {else} + 0 {$product_unit}
    0,00 zł + {/if} + {/if} +
    {$item.after_quantity|number_format:2:",":"."} {$product_unit}
    {$item.after_value|number_format:2:",":"."} zł
    + + + + + + + Razem: + + + {$sumTable.in_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.in_value|number_format:2:",":"."} zł + +
    + + {$sumTable.out_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.out_value|number_format:2:",":"."} zł + +
    + {$sumTable.after_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.after_value|number_format:2:",":"."} zł +
    + +
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportBuyesByVat.tpl b/modules/EcmReports/tpls/PDF/ReportBuyesByVat.tpl new file mode 100755 index 00000000..a7b15f1f --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportBuyesByVat.tpl @@ -0,0 +1,408 @@ +{literal} + + + + + + + + {/literal} +
    + + + + + + + + + + + + + +
    {$MOD.LBL_REPORT_RECEIVE_REGISTER}
    {$EcmSysInfo->getName()}
    Data wygenerowania: {$current_date_formatted}
    Rejestr od: {$date_from} do: {$date_to}
    +
    + {literal} +
    + + + + + + + +
    {DATE j.m.Y}{PAGENO}/{nbpg}Rejestr zakupu
    +
    + + + + + + +
    SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
    +
    + {/literal} +
    + + {foreach from=$dataPart key=klucz item=data name=data} + + + + + + + + + + + {foreach from= $vat_value key= t item= w} + + {if $w.sumavat != NULL} + + {/if} + {/foreach} + + + + + + {foreach from= $data key= k item= i} + + + + + + + + + + + + {foreach from=$vat_value key=o item=j} + {assign var=prawdafalsz value=false} + {foreach from=$i.vaty item = e} + {if $o == $e.vat_value} + {assign var=prawdafalsz value=true} + {assign var=prawdafalszvat value=$e.vat} + {assign var=prawdafalsznetto value=$e.netto} + {/if} + {/foreach} + {if $prawdafalsz == true } + + {if $j.sumavat != NULL} + + {/if} + {else} + + {if $j.sumavat != NULL} + + {/if} + {/if} + {/foreach} + + + {/foreach} + + + + + + {foreach from=$pageVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + + + + + + {if $klucz>0} + {assign var='dupa' value=$klucz-1} + {foreach from=$partialVatSum[$dupa] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + {else} + + {foreach from=$partialVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + {/if} + + + + + + + + + {foreach from=$partialVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + + + + +
    Lp{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_SALES_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_BUYER_VALUE_BRUTTO}{$MOD.LBL_BUYER_VALUE_NETTO} {$t}{$MOD.LBL_VAT} {$t}{$MOD.LBL_SUM_VAT}
    {$k} {$i.document_number}{$i.document_date|date_format:"%d.%m.%Y"}{$i.register_date|date_format:"%d.%m.%Y"}{$i.to_vatid}{$i.name}{$i.value|number_format:2:",":"."}{$prawdafalsznetto|number_format:2:",":"."}{$prawdafalszvat|number_format:2:",":"."}0,000,00{$i.vatsumapozycja|number_format:2:",":"."}
    {$MOD.LBL_PAGE_SUM}{$pageBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}{$pageBruttoVat[$klucz].vat|number_format:2:",":"."}
    {$MOD.LBL_TRANSFER_SUM}{$partialBruttoVat[$klucz].brutto-$pageBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}0,000,00{$partialBruttoVat[$klucz].vat-$pageBruttoVat[$klucz].vat|number_format:2:",":"."}
    {$MOD.LBL_VALUE}{$partialBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}{$partialBruttoVat[$klucz].vat|number_format:2:",":"."}
    + {if !$smarty.foreach.data.last} + + {/if} + {/foreach} + +
    + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportEcmWorkCards.tpl b/modules/EcmReports/tpls/PDF/ReportEcmWorkCards.tpl new file mode 100755 index 00000000..3140c1fa --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportEcmWorkCards.tpl @@ -0,0 +1,46 @@ + +

    {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_ECMWORKCARDS}

    + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + {foreach from=$rekord.actions item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + + + + + + + + + +
    {$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRODUCT_CODE}{$MOD.LBL_PRODUCTS}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
    {$rekord.work_name}{$rekord.netto}{$rekord.brutto}
    {$czynnosc.actioncode}{$czynnosc.actionname}{$czynnosc.quantity}{$czynnosc.productcode}{$czynnosc.productname}{$czynnosc.netto}{$czynnosc.brutto}
    {$MOD.LBL_SUM}{$suma.netto}{$suma.brutto}
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl b/modules/EcmReports/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl new file mode 100755 index 00000000..dec739b1 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl @@ -0,0 +1,49 @@ + +

    {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_ECMWORKCARDS_PRODUCTS}

    + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + + {foreach from=$rekord.actions key=klucz item=pracownik} + {foreach from=$pracownik item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + {/foreach} + + + + + + + + + +
    {$MOD.LBL_PRODUCTS}{$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PW_QUANTITY}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
    {$rekord.code} {$rekord.name}{$rekord.pw}{$rekord.netto|number_format:2:",":"."}{$rekord.brutto|number_format:2:",":"."}
    {$klucz}{$czynnosc.actioncode}{$czynnosc.actionname}{$czynnosc.quantity}{$rekord.pw}{$czynnosc.netto|number_format:2:",":"."}{$czynnosc.brutto|number_format:2:",":"."}
    {$MOD.LBL_SUM}{$suma.netto|number_format:2:",":"."}{$suma.brutto|number_format:2:",":"."}
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportSales.tpl b/modules/EcmReports/tpls/PDF/ReportSales.tpl new file mode 100644 index 00000000..c908174c --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportSales.tpl @@ -0,0 +1,357 @@ + + + + + + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + {if $searchBy=="none"} + + + {/if} + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {* Table headers *} + + + {if $CATNAME != ""} + + {/if} + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + {if $searchBy=="none"} + + + {/if} + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + + + + + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/foreach} + + + + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + +
    {$MOD.LBL_PRODUCTS}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}Wartość sprzedaży bez korekt{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}{$MOD.LBL_STOCK_STATES}{$MOD.LBL_STOCK_VALUE}
    {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SoldSumNormal|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%{$DATA.$CATNAME.StanSum|number_format:0:",":"." }{$DATA.$CATNAME.WartoscSum|number_format:2:",":"." }
    {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum2|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.SoldSumNormal2|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum2|number_format:2:",":"." }%
    + {$ROW.name} + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.nettoNormal|number_format:2:",":"." }{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
    {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SoldSumSumNormal|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
    + + +
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportSalesByContractor.tpl b/modules/EcmReports/tpls/PDF/ReportSalesByContractor.tpl new file mode 100644 index 00000000..2c0b332f --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportSalesByContractor.tpl @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + {foreach from=$ContractorData item=DATA key=CONNAME name=loop} + {if $CONNAME!=""} + + + + + + + + + + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {if $CATNAME!="IloscSum" && $CATNAME!="SoldSum" && $CATNAME!="SredniaSum" && $CATNAME!="KosztSum" && $CATNAME!="MarzaSum" && $CATNAME!="StanSum" && $CATNAME!="WartoscSum"} + + + + + + + + + + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + + + + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/if} + {/foreach} + + {/if} + {/foreach} + + + + + + + + + + + +
    {$MOD.LBL_CONTRACTOR}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
    {$CONNAME}{$ContractorData.$CONNAME.IloscSum|number_format:0:",":"." }{$ContractorData.$CONNAME.SoldSum|number_format:2:",":"." }{$ContractorData.$CONNAME.SredniaSum|number_format:2:",":"." }{$ContractorData.$CONNAME.KosztSum|number_format:2:",":"." }{$ContractorData.$CONNAME.MarzaSum|number_format:2:",":"." }%
    {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%
    {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum|number_format:2:",":"." }%
    + {$ROW.name} + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
    {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
    + + +
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportStockDocMoves.tpl b/modules/EcmReports/tpls/PDF/ReportStockDocMoves.tpl new file mode 100755 index 00000000..c49344ad --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportStockDocMoves.tpl @@ -0,0 +1,113 @@ + +{if $viewSelected eq 'documents'} + + + + + + + + + + + + + + {foreach from=$DATA.doc key="key" item="item" name=loop} + + + + + + + + + + + {/foreach} + + + + + + + + +
    Lp.Numer dokumentuData + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + Kartoteka materiałowa + {elseif $documentSelected eq 'EcmStockDocMoves'} + Magazyn docelowy + {elseif $documentSelected eq 'EcmStockDocIns'} + Dostawca + {elseif $documentSelected eq 'EcmStockDocOuts'} + Odbiorca + {elseif $documentSelected eq 'EcmInvoiceOuts'} + Kontrahent + {/if} + Opis dokumentuWartośćMagazyn
    {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.typ} {$item.numer} + + {$item.data} + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + {$item.kartoteka} + {elseif $documentSelected eq 'EcmStockDocMoves'} + {$item.magazynIn} + {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } + {$item.accountNazwa} + {/if} + + {$item.nazwa} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} + + {$item.magazyn} +
    Suma:{$suma|number_format:2:",":"." }
    +{elseif $viewSelected eq 'positions'} + + + + + + + + + + + + + {foreach from=$DATA.prod key="key" item="item" name=loop} + + + + + + + + + {/foreach} + + + + + + + + +
    Lp.IndeksNazwaJmIlośćWartość
    {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.kod} + + {$item.nazwa} + + {$item.jm} + + {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} + {$item.ilosc|number_format:2:",":"."} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} +
    Suma:{$sumaIlosci|number_format:2:",":"." }{$suma|number_format:2:",":"." }
    +{/if} diff --git a/modules/EcmReports/tpls/PDF/ReportStockNewDoc.tpl b/modules/EcmReports/tpls/PDF/ReportStockNewDoc.tpl new file mode 100755 index 00000000..235583e0 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportStockNewDoc.tpl @@ -0,0 +1,293 @@ + + + + + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + + + + + + + + + +{/foreach} + + + + + + + + + + + + + + + + + +
    L.p.{$MOD.LBL_INDEX}/{$MOD.LBL_NAME}Stan {$date_from}PrzychódRozchódStan {$date_to}
    {$number}{assign var="number" value=$number+1}{$item.product_code}
    {$item.product_name}
    {$item.total_quantity_old|number_format:$item.unit_precision:",":"."} {$item.unit_id}
    {$item.total_price_old|number_format:2:",":"." }
    {$item.przychod_q|number_format:$item.unit_precision:",":"."} {$item.unit_id}
    {$item.przychod_w|number_format:2:",":"." }
    {$item.rozchod_q|number_format:$item.unit_precision:",":"."} {$item.unit_id}
    {$item.rozchod_w|number_format:2:",":"." }
    {$item.total_quantity_now|number_format:$item.unit_precision:",":"."} {$item.unit_id}
    {$item.total_price_now|number_format:2:",":"." }
    Razem ilość:{$TOTAL_QUANTITY_OLD|number_format:2:",":"." }{$przychod_q|number_format:2:",":"." }{$rozchod_q|number_format:2:",":"." }{$TOTAL_QUANTITY_NOW|number_format:2:",":"." }
    Razem wartość:{$TOTAL_VALUE_OLD|number_format:2:",":"." }{$przychod_w|number_format:2:",":"." }{$rozchod_w|number_format:2:",":"." }{$TOTAL_VALUE_NOW|number_format:2:",":"." }
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/ReportStocksDoc.tpl b/modules/EcmReports/tpls/PDF/ReportStocksDoc.tpl new file mode 100755 index 00000000..be1e7092 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/ReportStocksDoc.tpl @@ -0,0 +1,315 @@ + + + + + + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + + {assign var="counter" value=1} + {assign var="amount" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + + + {if $item.add|@count>1} + {assign var="rowspan" value=$item.add|@count} + {assign var="rowspanadd" value=1} + {assign var="currow" value=$rowspan+$rowspanadd} + {else} + {assign var="currow" value=1} + {/if} + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + {assign var="counter" value=$counter+$amount} + {if $item.add|@count>1} + {foreach from=$item.add key="kis" item="position" name=loop} + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + {/foreach} + + {/if} +{/foreach} + + + + +
    L.p.{$MOD.LBL_INDEX}{$MOD.LBL_NAME}Dokument{$MOD.LBL_CONSIGNMENTS}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRICE}Wartość
    {$counter}{$item.product_code}{$item.product_name}{$item.parent_type} {$item.parent_name}{$item.part_no}{$item.total_quantity|number_format:$item.unit_precision:",":"."}
    {$item.unit_id}
    {$item.price|number_format:2:",":"." }{$item.total_price|number_format:2:",":"." }
    {$position.parent_type} {$position.parent_name}{$position.part_no}{$position.quantity|number_format:2:",":"." }{$position.price|number_format:2:",":"." }{$position.position_value|number_format:2:",":"." }
    Razem:{$TOTAL_QUANTITY|number_format:2:",":"." }{$TOTAL_VALUE|number_format:2:",":"." }
    + +
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/PDF/VatSalesRegister.tpl b/modules/EcmReports/tpls/PDF/VatSalesRegister.tpl new file mode 100755 index 00000000..ddf8961b --- /dev/null +++ b/modules/EcmReports/tpls/PDF/VatSalesRegister.tpl @@ -0,0 +1,411 @@ +{literal} + + + + + + +{/literal} +
    + + + + + + + + + + + + + + + + +
    Rejestr sprzedaży VAT
    SAAS-SYSTEMS
    Data wygenerowania: {$current_date_formatted}
    Rejestr od {$date_from_formatted} do {$date_to_formatted}
    Typ dokumentu: {$searchByType|upper}
    +
    +{literal} +
    + + + + + + + +
    {DATE j.m.Y}{PAGENO}/{nbpg}Rejestr sprzedaży VAT
    +
    + + + + + + +
    SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
    +
    +{/literal} +
    +{assign var=position value=1} +{foreach from=$DATA item=PART name=part"} +{assign var=dataCount value=$DATA|@count} + + + + + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 } {/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 } {/if} + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + {if $smarty.foreach.part.index == $dataCount-1 } + + + + {/if} + + + {foreach from=$PART key=key item=ROW name=loop} + {assign var=partCount value=$PART|@count} + {if $smarty.foreach.loop.index != $partCount-1 and $smarty.foreach.loop.index != $partCount-2 } + + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + {assign var=position value=$position+1} + {/if} + {/foreach} + +
    Lp.{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_CONTRACTOR_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_ADDRESS}{$MOD.LBL_GROSS_SALES}{$MOD.LBL_NET_SALES} 7%{$MOD.LBL_VAT} 7%{$MOD.LBL_NET_SALES} 8%{$MOD.LBL_VAT} 8%{$MOD.LBL_NET_SALES} 22%{$MOD.LBL_VAT} 22%{$MOD.LBL_NET_SALES} 23%{$MOD.LBL_VAT} 23%{$MOD.LBL_NET_SALES} 0%{$MOD.LBL_SUM_VAT}
    Suma strony{ $PART.partSum.brutto|number_format:2:",":"." }{ $PART.partSum.netto7|number_format:2:",":"." }{ $PART.partSum.vat7|number_format:2:",":"." }{ $PART.partSum.netto8|number_format:2:",":"." }{ $PART.partSum.vat8|number_format:2:",":"." }{ $PART.partSum.netto22|number_format:2:",":"." }{ $PART.partSum.vat22|number_format:2:",":"." }{ $PART.partSum.netto23|number_format:2:",":"." }{ $PART.partSum.vat23|number_format:2:",":"." }{ $PART.partSum.netto0|number_format:2:",":"." }{ $PART.partSum.vat|number_format:2:",":"." }
    Suma z przeniesienia:{ $PART.transferSum.brutto|number_format:2:",":"." }{ $PART.transferSum.netto7|number_format:2:",":"." }{ $PART.transferSum.vat7|number_format:2:",":"." }{ $PART.transferSum.netto8|number_format:2:",":"." }{ $PART.transferSum.vat8|number_format:2:",":"." }{ $PART.transferSum.netto22|number_format:2:",":"." }{ $PART.transferSum.vat22|number_format:2:",":"." }{ $PART.transferSum.netto23|number_format:2:",":"." }{ $PART.transferSum.vat23|number_format:2:",":"." }{ $PART.transferSum.netto0|number_format:2:",":"." }{ $PART.transferSum.vat|number_format:2:",":"." }
    Suma razem:{ $PART.partSum.brutto+$PART.transferSum.brutto|number_format:2:",":"." }{ $PART.partSum.netto7+$PART.transferSum.netto7|number_format:2:",":"." }{ $PART.partSum.vat7+$PART.transferSum.vat7|number_format:2:",":"." }{ $PART.partSum.netto8+$PART.transferSum.netto8|number_format:2:",":"." }{ $PART.partSum.vat8+$PART.transferSum.vat8|number_format:2:",":"." }{ $PART.partSum.netto22+$PART.transferSum.netto22|number_format:2:",":"." }{ $PART.partSum.vat22+$PART.transferSum.vat22|number_format:2:",":"." }{ $PART.partSum.netto23+$PART.transferSum.netto23|number_format:2:",":"." }{ $PART.partSum.vat23+$PART.transferSum.vat23|number_format:2:",":"." }{ $PART.partSum.netto0+$PART.transferSum.netto0|number_format:2:",":"." }{ $PART.partSum.vat+$PART.transferSum.vat|number_format:2:",":"." }
    Koniec wydruku
    {$position}{$ROW.document_no }{$ROW.register_date}{$ROW.sell_date }{$ROW.account.to_vatid}{$ROW.account.name}{$ROW.account.register_address_postalcode} {$ROW.account.register_address_city}{$ROW.total_brutto|number_format:2:",":"."}{$ROW.netto7|number_format:2:",":"."}{$ROW.vat7|number_format:2:",":"."}{$ROW.netto8|number_format:2:",":"."}{$ROW.vat8|number_format:2:",":"."}{$ROW.netto22|number_format:2:",":"."}{$ROW.vat22|number_format:2:",":"."}{$ROW.netto23|number_format:2:",":"."}{$ROW.vat23|number_format:2:",":"."}{$ROW.netto0|number_format:2:",":"."}{$ROW.netto23*0.23|number_format:2:",":"."}
    + {if $smarty.foreach.part.index != $dataCount-1 } + + {/if} + +{/foreach} +
    + + + + + + + diff --git a/modules/EcmReports/tpls/PDF/kpkwReport.tpl b/modules/EcmReports/tpls/PDF/kpkwReport.tpl new file mode 100755 index 00000000..45170a32 --- /dev/null +++ b/modules/EcmReports/tpls/PDF/kpkwReport.tpl @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + {foreach from=$DATA item=poz key=CATNAME name=loop} + {if $poz.type_id!=''} + + + + + + + + + {assign var="i" value=$poz.number} + {/if} + {/foreach} + {assign var="currow" value=$poz.number+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + +
    {$MOD.LBL_NUMBER_LP}{$MOD.LBL_DOCUMENT_NO}
    {$MOD.LBL_CREATE_LAB}
    {$MOD.LBL_TITLE}{$MOD.LBL_PARENT_NAME}{$MOD.LBL_AMOUNT_PLUS}{$MOD.LBL_AMOUNT_MINUS}
    {$poz.number} + + + + + + + +
    {$poz.document_no}
    {$poz.date_entered|date_format:"%d.%m.%Y"}
    +
    {$poz.description}{$poz.parent_name}{if $poz.type_id==0} {$poz.amount|number_format:2:",":"."} {else}  {/if}{if $poz.type_id==1} {$poz.amount|number_format:2:",":"."} {else}  {/if} +
     {$MOD.LBL_VALUE}{$DATA.in|number_format:2:",":"."}{$DATA.out|number_format:2:",":"."}
     {$MOD.LBL_VALUE_BEFORE}:{$CASH_BEFORE|number_format:2:",":"."}
     {$MOD.LBL_VALUE_TOTAL}:{$CASH_NOW|number_format:2:",":"."}
    \ No newline at end of file diff --git a/modules/EcmReports/tpls/ProductOperationHistory.tpl b/modules/EcmReports/tpls/ProductOperationHistory.tpl new file mode 100755 index 00000000..624fdbe5 --- /dev/null +++ b/modules/EcmReports/tpls/ProductOperationHistory.tpl @@ -0,0 +1,367 @@ + + + + + + + + + + + + + + + + + + + + + +
    + EcmProducts + +

    Raport operacji magazynowych produktu za okres

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$MOD.LBL_STOCK} + + Produkt + + + + +
    Data od + + Enter Date + + Data do + + Enter Date + +
    + + + + + + + +
    +
    +{if $SHOW_RESULT==true} + + + + + + + + + + + + + + + + + +
    + Wybrany produkt: + + {$product_name} +
    + Indeks: + + {$product_indeks} +
    + Stan początkowy (ilość): + + {$start_quantity} {$product_unit} +
    + Stan początkowy (wartość): + + {$start_value|number_format:2:",":"."} zł +
    + +
    + + + + + + + + + + + + + + + {foreach from=$DATA key="key" item="item" name=loop} + + + + + + + + + + + + + + {/foreach} + + + + + + + + + + + + + +
    + L.p. + +
    + Data +
    +
    +
    + Dokument +
    +
    +
    + Kontrahent +
    +
    +
    + Przychód +
    +
    +
    + Rozchód +
    +
    +
    + Stan po obr. +
    +
    + {$item.lp} + + {$item.date_entered|date_format:"%d.%m.%Y"} + + {$item.doc_code} {$item.doc_name} + + {$item.doc_parent_name} + + {if $item.type==0} + {if $item.correct=='correct'} + 0 {$product_unit}
    0,00 zł + {else} + {$item.quantity|number_format:2:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {/if} + + {else} + 0 {$product_unit}
    0,00 zł + {/if} +
    + {if $item.type==1} + {$item.quantity|number_format:2:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {else} + {if $item.correct=='correct'} + {$item.quantity|number_format:2:",":"."} {$product_unit}
    {$item.value|number_format:2:",":"."} zł + {else} + 0 {$product_unit}
    0,00 zł + {/if} + {/if} +
    + {$item.after_quantity|number_format:2:",":"."} {$product_unit}
    {$item.after_value|number_format:2:",":"."} zł +
    + + + + + + + Razem: + + + {$sumTable.in_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.in_value|number_format:2:",":"."} zł
    + +
    + + {$sumTable.out_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.out_value|number_format:2:",":"."} zł
    + +
    + {$sumTable.after_quantity|number_format:2:",":"."} {$product_unit}
    {$sumTable.after_value|number_format:2:",":"."} zł
    +
    +
    +{/if} \ No newline at end of file diff --git a/modules/EcmReports/tpls/RaportAktywnosci.tpl b/modules/EcmReports/tpls/RaportAktywnosci.tpl new file mode 100644 index 00000000..f1da9048 --- /dev/null +++ b/modules/EcmReports/tpls/RaportAktywnosci.tpl @@ -0,0 +1,273 @@ + +

    Raport aktywności użytkowników

    +
      + + + + + + + + + + + + + + +
      Data od: + + Enter Date + +
      Data do: + + Enter Date + +
      + + + +{if isset($lists)} + + + + + + + + + + + {foreach from=$moduleLabels item=label key=labelkey name=loop} + + + {/foreach} + + + + {foreach from=$lists item=list key=listkey name=loop} + {* Table headers *} + + + + + + + + + + + + + + + + + + + + {foreach from=$OrderByDateList[$listkey] item=data name=loop2} + {if $smarty.foreach.loop2.index % 2 == 1} + + {else} + + {/if} + + + + + + + + {/foreach} + + + + {/foreach} + +
      Użytkownik{$label}
      [+] {$users[$listkey].first_name} {$users[$listkey].last_name}{$list.accounts|@count}{$list.ecmproducts|@count}{$list.ecmquotes|@count}{$list.ecmsales|@count}{$list.ecminvoiceouts|@count}{$list.ecmprepaymentinvoices|@count}{$list.ecmreceipts|@count}{$list.notes|@count}{$list.tasks|@count}{$list.documents|@count}
      + {$smarty.foreach.loop2.index+1} + + {$data.date_entered|date_format:"%d.%m.%Y %H:%M:%S"} + + {if $data.module=='accounts'} + Dodano nowego kontrahenta + {/if} + {if $data.module=='ecmproducts'} + Dodano nowy produkt + {/if} + {if $data.module=='ecmquotes'} + Dodano nową ofertę + {/if} + {if $data.module=='ecmsales'} + Dodano nowe zamówienie + {/if} + {if $data.module=='ecminvoiceouts'} + Dodano nową fakturę + {/if} + {if $data.module=='ecmprepaymentinvoices'} + Dodano nową fakturę zaliczkową + {/if} + {if $data.module=='ecmreceipts'} + Dodano nowy paragon + {/if} + {if $data.module=='notes'} + Dodano nową notatkę + {/if} + {if $data.module=='tasks'} + Dodano nowe zadanie + {/if} + {if $data.module=='documents'} + Dodano nowy dokument + {/if} +
      +{/if} \ No newline at end of file diff --git a/modules/EcmReports/tpls/RaportSMS.tpl b/modules/EcmReports/tpls/RaportSMS.tpl new file mode 100644 index 00000000..713e724b --- /dev/null +++ b/modules/EcmReports/tpls/RaportSMS.tpl @@ -0,0 +1,140 @@ + + + + + +

      Raport wysłanych SMS'ów

      + +
      + + + + + + + + + + + + + + +
      + Data od: + + + +

      + Numer telefonu: + +


      +

      + {$MOD.LBL_CONTRACTOR}: + + + + +

      +
      + Ukryj puste: + +
      Data do + + +
      + + + {if $executed==1} + {if $data!=null} + + + {/if} + {/if} + +
      + +{if $executed==1} + + + + + + + + + + + + + + {if $data!=null} + + {foreach from=$data item=item key=item_name} + + + + + + + + + {if $item.records|@count>0} + + + + + {/if} + {/foreach} + + {else} + + + + {/if} + +
      L.pKontrahentNumerTreśćKwotaData
      {$item.no} {$item.parent_name}{if $item.number!=''}{$item.number}{else} {/if}{$item.description}{$item.total|number_format:2:",":"."}{$item.send_date|date_format:"%d.%m.%Y %H:%M:%S"}
      Brak danych do wyświetlenia
      +{/if} \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportAcceptance.tpl b/modules/EcmReports/tpls/ReportAcceptance.tpl new file mode 100755 index 00000000..167dc77b --- /dev/null +++ b/modules/EcmReports/tpls/ReportAcceptance.tpl @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + +
      + EcmProducts + +

      {$MOD.LBL_REPORT_ACCEPTANCE}

      +
      + +
      + + +
      + + + + + + {* Search by date_from *} + + + + + + + + + {* Search by date_to *} + + + + + +
      Data od + + Enter Date + + Nazwa Dokumentu: + + Status: + {html_options name=status options=$statusy selected=$status} +
      Data do + + Enter Date + + Kategoria: + +
      +
      + + + + +
      + + + + + + + + + + + + + + + + {foreach from=$DATA item=i} + + + + + + + + + + + {/foreach} + + + + + + + + + + + + + + +
      Opis{$MOD.LBL_REPORT_ACCEPTANCE_DOCNAME}{$MOD.LBL_DATE_CREATED}{$MOD.LBL_REPORT_ACCEPTANCE_DOCDATE}{$MOD.LBL_REPORT_ACCEPTANCE_CATEGORY}{$MOD.LBL_REPORT_ACCEPTANCE_DES}{$MOD.LBL_VALUE}
      + {if $i.docreport == 1} + + {else} + brak + {/if} + {$i.docname}{$i.docdateentered}{$i.docdate}{$i.doccategory}{$i.docdes}{$i.docwartosc}
      Suma:{$SUMA}
      + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportBuyesByVat.tpl b/modules/EcmReports/tpls/ReportBuyesByVat.tpl new file mode 100644 index 00000000..8abc82b8 --- /dev/null +++ b/modules/EcmReports/tpls/ReportBuyesByVat.tpl @@ -0,0 +1,198 @@ + + + + + + + +{**} + + + + + + + + + +
      + EcmProducts + +

      {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_RECEIVE_REGISTER}

      +
      + +
      + + + +
      + + + + + + + + + + +
      {$MOD.LBL_DATE_FROM} + + Enter Date + + {$MOD.LBL_DATE_TO} + + Enter Date + + Kategoria dokumentu + +
      +
      + + + + + + + + + + + + + + + + + {foreach from= $vat_value key= t item= w} + + {if $w.sumavat != NULL} + + {/if} + {/foreach} + + + + + + {foreach from= $data key= k item= i} + + + + + + + + + + + + {foreach from=$vat_value key=o item=j} + {assign var=prawdafalsz value=false} + {foreach from=$i.vaty item = e} + {if $o == $e.vat_value} + {assign var=prawdafalsz value=true} + {assign var=prawdafalszvat value=$e.vat} + {assign var=prawdafalsznetto value=$e.netto} + {/if} + {/foreach} + {if $prawdafalsz == true } + + {if $j.sumavat != NULL} + + {/if} + {else} + + {if $j.sumavat != NULL} + + {/if} + {/if} + {/foreach} + + + {/foreach} + + + + + + + + + + {foreach from=$vat_value key =o item=j} + + {if $j.sumavat != NULL} + + {/if} + {/foreach} + + + + +
      {$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_SALES_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_ADDRESS}{$MOD.LBL_BUYER_VALUE_BRUTTO}{$MOD.LBL_BUYER_VALUE_NETTO} {$t}{$MOD.LBL_VAT} {$t}{$MOD.LBL_SUM_VAT}
      {$i.document_number}{$i.document_date|date_format:"%d.%m.%Y"}{$i.register_date|date_format:"%d.%m.%Y"}{$i.to_vatid}{$i.name}{$i.register_address_postalcode} {$i.register_address_city}{$i.value|number_format:2:",":"."}{$prawdafalsznetto|number_format:2:",":"."}{$prawdafalszvat|number_format:2:",":"."}0,000,00{$i.vatsumapozycja|number_format:2:",":"."}
      {$MOD.LBL_SUM}{$SumaBrutto|number_format:2:",":"."}{$j.sumanetto|number_format:2:",":"."}{$j.sumavat|number_format:2:",":"."}{$SumaVat|number_format:2:",":"."}
      diff --git a/modules/EcmReports/tpls/ReportSales.tpl b/modules/EcmReports/tpls/ReportSales.tpl new file mode 100644 index 00000000..f904725e --- /dev/null +++ b/modules/EcmReports/tpls/ReportSales.tpl @@ -0,0 +1,367 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
      + EcmProducts + +

      + {if $reportSales ==1} + Raport sprzedaży - cena produkcyjna + {else} + {$MOD.LBL_RAPORT_SALES} + {/if} +

      +
      + +
      + + +
      + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + + + + {* Open popup window to select contractor *} + + + + + + + + + + + + + + + + +
      Data od + + Enter Date + + Data do + + Enter Date + + {$MOD.LBL_GORUP_BY} + + Typ dokumentu + + Handlowiec + + Grupa księgowa + +
      Typ sprzedaży + +
      + + + + + + + +
      +
      + + + + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + {if $searchBy=="none"} + + + {/if} + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {* Table headers *} + + + {if $CATNAME != ""} + + {/if} + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + {if $searchBy=="none"} + + + {/if} + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + {if $searchBy=="contractor"} + + + {else} + + {/if} + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/foreach} + + + + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + +
      {$MOD.LBL_PRODUCTS}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}Wartość sprzedaży bez korekt{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}{$MOD.LBL_STOCK_STATES}{$MOD.LBL_STOCK_VALUE}
      [+] {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SoldSumNormal|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%{$DATA.$CATNAME.StanSum|number_format:0:",":"." }{$DATA.$CATNAME.WartoscSum|number_format:2:",":"." }
      [+] {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum2|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.SoldSumNormal2|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum2|number_format:2:",":"." }%
      + {if $CAT2NAME!="Reszta"} + + {/if} + {$ROW.name} + + + + {$ROW.name} + + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.nettoNormal|number_format:2:",":"." }{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
      {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SoldSumSumNormal|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
      + + +
      \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByContractor.tpl b/modules/EcmReports/tpls/ReportSalesByContractor.tpl new file mode 100644 index 00000000..d4b0f899 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByContractor.tpl @@ -0,0 +1,180 @@ + + + + + + + + + + + +
      + + +

      {$MOD.LBL_REPORT_SALES_BY_CONTRACTOR}

      +
      + + + + + + + + + + + + + + + + +
      + {$MOD.LBL_DATE_FROM}: + + + + {$MOD.LBL_DATE_TO}: + + + + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + +
      +
      + {$MOD.LBL_TRADER}: + {html_options id=trader name=trader options=$TRADERS_LIST selected=$TRADER_SELECTED} + + +
      + + + + +
      + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + + + + + + + {/foreach} + + + + + + + + + +
      + {$MOD.LBL_NAME} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.total_netto*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$summary_netto|number_format:2:",":"."} + + {$summary_purchase|number_format:2:",":"."} + + {$summary_netto-$summary_purchase|number_format:2:",":"."} + {assign var=tmp value=$summary_netto-$summary_purchase} + ({$tmp/$summary_netto*100|number_format:2:",":"."} %) +
      diff --git a/modules/EcmReports/tpls/ReportSalesByContractor2.tpl b/modules/EcmReports/tpls/ReportSalesByContractor2.tpl new file mode 100644 index 00000000..fc7b38f1 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByContractor2.tpl @@ -0,0 +1,323 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
      + EcmProducts + +

      + {if $reportSales ==1} + {$MOD.LBL_RAPORT_SALES_BY_CONTRACTOR} - cena produkcyjna + {else} + {$MOD.LBL_RAPORT_SALES_BY_CONTRACTOR} + {/if} +

      +
      + +
      + + +
      + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + + + + + + + + + + + + +
      Data od + + Enter Date + + Data do + + Enter Date + + Typ dokumentu + + Handlowiec + + + Grupuj "Media Saturn Holding" + Typ sprzedaży + + Źródło + +
      + + + + + + + +
      +
      + + + + + + + + + + + + + + + {foreach from=$ContractorData item=DATA key=CONNAME name=loop} + {if $CONNAME!=""} + + + + + + + + + + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {if $CATNAME!="IloscSum" && $CATNAME!="SoldSum" && $CATNAME!="SredniaSum" && $CATNAME!="KosztSum" && $CATNAME!="MarzaSum" && $CATNAME!="StanSum" && $CATNAME!="WartoscSum"} + + + + + + + + + + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + + + + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/if} + {/foreach} + + {/if} + {/foreach} + + + + + + + + + + + +
      {$MOD.LBL_CONTRACTOR}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
      [+] {$CONNAME}{$ContractorData.$CONNAME.IloscSum|number_format:0:",":"." }{$ContractorData.$CONNAME.SoldSum|number_format:2:",":"." }{$ContractorData.$CONNAME.SredniaSum|number_format:2:",":"." }{$ContractorData.$CONNAME.KosztSum|number_format:2:",":"." }{$ContractorData.$CONNAME.MarzaSum|number_format:2:",":"." }%
      [+] {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%
      [+] {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum|number_format:2:",":"." }%
      + {$ROW.name} + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
      {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
      + + +
      \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByContractorPDF.tpl b/modules/EcmReports/tpls/ReportSalesByContractorPDF.tpl new file mode 100755 index 00000000..3ddc2c1e --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByContractorPDF.tpl @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + +
      +

      {$MOD.LBL_REPORT_SALES_BY_CONTRACTOR}

      +
      + Data wygenerowania raportu:
      + {$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"} +
      + {$MOD.LBL_DATE_FROM}: {$date_from_value}
      + {$MOD.LBL_DATE_TO}: {$date_to_value} +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + {if @count($DOCUMENT_SALES_SELECTED) == 0} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {if @in_array($key, $DOCUMENT_SALES_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + {if @count($PRODUCT_GROUP_SELECTED) == 0} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {if @in_array($key, $PRODUCT_GROUP_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + {if @count($STOCK_SELECTED) == 0} + {foreach from=$STOCK_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$STOCK_LIST key="key" item="item"} + {if @in_array($key, $STOCK_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + {$MOD.LBL_TRADER}: + {if $TRADER_SELECTED ==''} + Wszyscy + {else} + {foreach from=$TRADERS_LIST key="key" item="item"} + {if $key==$TRADER_SELECTED }{$item}{/if} + {/foreach} + {/if} +
      + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + + + + + + + {/foreach} + + + + + + + + + +
      + {$MOD.LBL_NAME} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.total_netto*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$summary_netto|number_format:2:",":"."} + + {$summary_purchase|number_format:2:",":"."} + + {$summary_netto-$summary_purchase|number_format:2:",":"."} + {assign var=tmp value=$summary_netto-$summary_purchase} + ({$tmp/$summary_netto*100|number_format:2:",":"."} %) +
      + + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByDocument.tpl b/modules/EcmReports/tpls/ReportSalesByDocument.tpl new file mode 100644 index 00000000..794c0eb2 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByDocument.tpl @@ -0,0 +1,239 @@ + + + + + + + + + + + +
      + + +

      {$MOD.LBL_REPORT_SALES_BY_DOCUMENT}

      +
      + + + + + + + + + + + + + + + + +
      + + + + + + + +
      + {$MOD.LBL_DATE_FROM}: + + +
      + {$MOD.LBL_DATE_TO}: + + +
      +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_TYPE}: + + +
      +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + +
      +
      + + + + + + + +
      + {$MOD.LBL_STOCK}: + + +
      +
      +

      + {$MOD.LBL_TRADER}: + {html_options id=trader name=trader[] multiple=true options=$TRADERS_LIST selected=$TRADER_SELECTED} + +


      +

      + {$MOD.LBL_CONTRACTOR}: + + + + +

      +
      + + + + +
      + + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + + + + + + + + + + {/foreach} + + + + + + + + + + +
      + {$MOD.LBL_DOCUMENT} + + {$MOD.LBL_DOCUMENT_DATE} + + {$MOD.LBL_CONTRACTOR} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_SALES_BRUTTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.name} + + {$item.register_date} + + {$item.parent_name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.total_brutto|number_format:2:",":"."} + {assign var=summary_brutto value=$summary_brutto+$item.total_brutto} + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.total_netto*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$summary_netto|number_format:2:",":"."} + + {$summary_brutto|number_format:2:",":"."} + + {$summary_purchase|number_format:2:",":"."} + + {$summary_netto-$summary_purchase|number_format:2:",":"."} + {assign var=tmp value=$summary_netto-$summary_purchase} + ({$tmp/$summary_netto*100|number_format:2:",":"."} %) +
      diff --git a/modules/EcmReports/tpls/ReportSalesByDocumentPDF.tpl b/modules/EcmReports/tpls/ReportSalesByDocumentPDF.tpl new file mode 100755 index 00000000..3c10ff8a --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByDocumentPDF.tpl @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + +
      +

      {$MOD.LBL_REPORT_SALES_BY_DOCUMENT}

      +
      + Data wygenerowania raportu:
      + {$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"} +
      + {$MOD.LBL_DATE_FROM}: {$date_from_value}
      + {$MOD.LBL_DATE_TO}: {$date_to_value} +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + {if @count($DOCUMENT_SALES_SELECTED) == 0} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {if @in_array($key, $DOCUMENT_SALES_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + {if @count($PRODUCT_GROUP_SELECTED) == 0} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {if @in_array($key, $PRODUCT_GROUP_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + {if @count($STOCK_SELECTED) == 0} + {foreach from=$STOCK_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$STOCK_LIST key="key" item="item"} + {if @in_array($key, $STOCK_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + {$MOD.LBL_TRADER}: + {if $TRADER_SELECTED ==''} + Wszyscy + {else} + {foreach from=$TRADERS_LIST key="key" item="item"} + {if @in_array($key, $TRADER_SELECTED) } {$item}
      {/if} + + {/foreach} + {/if} +
      + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + + + + + + + + + + {/foreach} + + + + + + + + + + +
      + {$MOD.LBL_DOCUMENT} + + {$MOD.LBL_DOCUMENT_DATE} + + {$MOD.LBL_CONTRACTOR} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_SALES_BRUTTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.name} + + {$item.register_date} + + {$item.parent_name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.total_brutto|number_format:2:",":"."} + {assign var=summary_brutto value=$summary_brutto+$item.total_brutto} + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.total_netto*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$summary_netto|number_format:2:",":"."} + + {$summary_brutto|number_format:2:",":"."} + + {$summary_purchase|number_format:2:",":"."} + + {$summary_netto-$summary_purchase|number_format:2:",":"."} + {assign var=tmp value=$summary_netto-$summary_purchase} + ({$tmp/$summary_netto*100|number_format:2:",":"."} %) +
      + + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByGroup.tpl b/modules/EcmReports/tpls/ReportSalesByGroup.tpl new file mode 100644 index 00000000..3a7a6d96 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByGroup.tpl @@ -0,0 +1,340 @@ + + + + + + + + + + +
      + + +

      {$MOD.LBL_REPORT_SALES_BY_GROUP}

      +
      + +
      + + + + + + + {if !empty($list_years)} + + {/if} + {if !empty($list_months)} + + {/if} + {if !empty($MOD.DOCUMENT_SALES_LIST)} + + {/if} + {if !empty($list_types) } + + {/if} + {if !empty($stock_array)} + + {/if} + {if !empty($list_group_ks_without_filter)} + + {/if} + + + + +
      + + + + + +
      + Rok: + + +
      +
      + + + + + +
      + Miesiąc: + + +
      +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + +
      +
      + + + + + +
      + Typ: + + +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + +
      +
      + + + + + + + + + + +
      + +{if isset($smarty.request.submit) } + {if !empty($table_array)} + + + + + + + + + + + {foreach from=$list_group_ks key=groups_key item=group_ks} + + {/foreach} + + + + + + + {foreach from=$table_array key=year_key item=year name=year_name} + {assign var=count_month value=0} + + {* Generate sum all types for years column *} + {assign var=sum_type value=0} + {foreach from=$year key=month_key item=month name=month_name} + {math assign=sum_type equation="x + y" x=$sum_type y=$month|@count} + {/foreach} + + {foreach from=$year key=month_key item=month name=month_name} + {assign var=count_type value=0} + + {foreach from=$month key=type_key item=type name=type_name} + + + + {if $count_type == 0} + {if $count_month == 0} + + {/if} + + + {/if} + + {if in_array($type_key,$types_group_req)} + + {if !empty($list_types.$type_key) } + + {else} + + {/if} + + + + + + {foreach from=$list_group_ks key=groups_key item=groups} + {assign var=found value=0} + + {foreach from=$type.accounts_type key=group_key item=group name=group_name} + + {if in_array($group_key,$types_prod_req)} + + {if $groups_key == $group_key} + {assign var=found value=1} + + + {/if} + {/if} + {/foreach} + + {if $found==0 } + + {/if} + + + + {/foreach} + + + + {/if} + + + {assign var=count_type value=$count_type+1} + {/foreach} + + {assign var=count_month value=$count_month+1} + {/foreach} + + {/foreach} + + +
      ROKMIESIĄCPROFIL GŁÓWNY + ILU ODBIORCÓW W LICZBACH + + + ILE DOKUMENTÓW + + + {if in_array($groups_key,$types_prod_req)} + {$group_ks} + + {/if} + + Pozostałe + +
      {$year_key}{$months[$month_key]}{$list_types.$type_key}Pozostałe{$type.accounts_count}{$type.documents_count} {$group|number_format:2:".":","}-{$type.accounts_type.total|number_format:2:".":","}
      + +
      + {/if} +{/if} + + + + + + +{**} + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByGroupChart.tpl b/modules/EcmReports/tpls/ReportSalesByGroupChart.tpl new file mode 100644 index 00000000..d8388237 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByGroupChart.tpl @@ -0,0 +1,5 @@ + + + + +
      \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByGroupPDF.tpl b/modules/EcmReports/tpls/ReportSalesByGroupPDF.tpl new file mode 100644 index 00000000..56b1bc98 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByGroupPDF.tpl @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + +
      +

      Raport sprzedaż w grupach

      +
      + Data wygenerowania raportu:
      + {$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"} +
      + + + + + +
      + Rok: + + +
      +
      + + + + + +
      + Miesiąc: + + +
      +
      + + + + + + + + + + + + {foreach from=$list_group_ks key=groups_key item=group_ks} + {if in_array($groups_key,$types_prod_req)} + + {else} + + {/if} + {/foreach} + + + + + + {foreach from=$table_array key=year_key item=year name=year_name} + {assign var=count_month value=0} + + {* Generate sum all types for years column *} + {assign var=sum_type value=0} + {foreach from=$year key=month_key item=month name=month_name} + {math assign=sum_type equation="x + y" x=$sum_type y=$month|@count} + {/foreach} + + {foreach from=$year key=month_key item=month name=month_name} + {assign var=count_type value=0} + + {foreach from=$month key=type_key item=type name=type_name} + + + {if $count_type == 0} + {if $count_month == 0} + + {/if} + + + {/if} + +{if in_array($type_key,$types_group_req)} + {if !empty($list_types.$type_key)} + + {else} + + {/if} + + + + + + + {foreach from=$list_group_ks key=groups_key item=groups} + {assign var=found value=0} + + {foreach from=$type.accounts_type key=group_key item=group name=group_name} +{if in_array($group_key,$types_prod_req)} + {if $groups_key == $group_key} + {assign var=found value=1} + + + + + {/if} + {/if} + {/foreach} + + {if $found==0} + + {/if} + + {/foreach} + + {/if} + + + {assign var=count_type value=$count_type+1} + + {/foreach} + + {assign var=count_month value=$count_month+1} + {/foreach} + + {/foreach} + + +
      ROKMIESIĄCPROFIL GŁÓWNYILU ODBIORCÓW W LICZBACHILE DOKUMENTÓW{$group_ks} + Pozostałe + +
      {$year_key}{$months[$month_key]}{$list_types.$type_key}Pozostałe{$type.accounts_count}{$type.documents_count} {$group|number_format:2:",":"."}-{$type.accounts_type.total|number_format:2:".":","}
      + + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesByProduct.tpl b/modules/EcmReports/tpls/ReportSalesByProduct.tpl new file mode 100644 index 00000000..16dac656 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByProduct.tpl @@ -0,0 +1,259 @@ + + + + + + + + + + + +
      + + +

      {$MOD.LBL_REPORT_SALES_BY_PRODUCT}

      +
      + +
      + + + + + + + + + + + + + + + + + + + +
      + {$MOD.LBL_DATE_FROM}: + + + + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP} 2: + + +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + +
      +
      + + + + + +
      + Typ: + + +
      +
      +

      + {$MOD.LBL_TRADER}: + {html_options id=trader name=trader[] multiple=true options=$TRADERS_LIST selected=$TRADER_SELECTED} + +


      +

      + {$MOD.LBL_CONTRACTOR}: + + + + +

      +
      {$MOD.LBL_DATE_TO}: + + +
      + + + + +
      + + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + {if $item.quantity eq 0} + {else} + + + + + + + + + + + {/if} + {/foreach} + + + + + + + + + + + +
      + Indeks + + {$MOD.LBL_NAME} + + {$MOD.LBL_QUANTITY} + + {$MOD.LBL_JM} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.code} + + {$item.name} + + {$item.quantity|number_format:$item.jm_precision:",":"."} + + {$item.jm_name} + + {$item.total_netto|number_format:2:",":"."} + + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.price_purchase*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$TOTAL3|number_format:2:",":"."} + + + + {$TOTAL|number_format:2:",":"."} + + {$TOTAL2|number_format:2:",":"."} + + {assign var=tmp value=$TOTAL-$TOTAL2} + + {$TOTAL-$TOTAL2|number_format:2:",":"."} ({$tmp/$TOTAL2*100|number_format:2:",":"."} %) +
      diff --git a/modules/EcmReports/tpls/ReportSalesByProductPDF.tpl b/modules/EcmReports/tpls/ReportSalesByProductPDF.tpl new file mode 100755 index 00000000..081f2997 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesByProductPDF.tpl @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
      +

      {$MOD.LBL_REPORT_SALES_BY_PRODUCT}

      + {$EcmSysInfo->getName()} +
      + Data wygenerowania raportu:
      + {$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"} +
      + {$MOD.LBL_DATE_FROM}: {$date_from_value}
      + {$MOD.LBL_DATE_TO}: {$date_to_value} +
      + + + + + +
      + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + {if @count($DOCUMENT_SALES_SELECTED) == 0} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {if @in_array($key, $DOCUMENT_SALES_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_PRODUCT_GROUP}: + + {if @count($PRODUCT_GROUP_SELECTED) == 0} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {if @in_array($key, $PRODUCT_GROUP_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + + + + + +
      + {$MOD.LBL_STOCK}: + + {if @count($STOCK_SELECTED) == 0} + {foreach from=$STOCK_LIST key="key" item="item"} + {$item}
      + {/foreach} + {else} + {foreach from=$STOCK_LIST key="key" item="item"} + {if @in_array($key, $STOCK_SELECTED) } {$item}
      {/if} + {/foreach} + {/if} +
      +
      + {$MOD.LBL_TRADER}: + {if $TRADER_SELECTED ==''} + Wszyscy + {else} + {foreach from=$TRADERS_LIST key="key" item="item"} + {if @in_array($key, $TRADER_SELECTED) } {$item}
      {/if} + + {/foreach} + {/if} +
      + + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + {if $item.quantity eq 0} + {else} + + + + + + + + + + {/if} + {/foreach} + + + + + + + + + + + +
      + Indeks + + {$MOD.LBL_NAME} + + {$MOD.LBL_QUANTITY} + + {$MOD.LBL_JM} + + {$MOD.LBL_SALES_NETTO} + + {$MOD.LBL_COST_PURCHASE} + + {$MOD.LBL_INCOME_OVERHEAD} +
      + {$item.code} + + {$item.name} + + {$item.quantity|number_format:$item.jm_precision:",":"."} + + {$item.jm_name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.price_purchase|number_format:2:",":"."} + {assign var=summary_purchase value=$summary_purchase+$item.price_purchase} + + {$item.total_netto-$item.price_purchase|number_format:2:",":"."} + {assign var=tmp value=$item.total_netto-$item.price_purchase} + ({$tmp/$item.total_netto*100|number_format:2:",":"."} %) +
      + {$MOD.LBL_SUMMARY} + + {$TOTAL3|number_format:2:",":"."} + + + + {$summary_netto|number_format:2:",":"."} + + {$summary_purchase|number_format:2:",":"."} + + {$summary_netto-$summary_purchase|number_format:2:",":"."} +
      + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesVatSales.tpl b/modules/EcmReports/tpls/ReportSalesVatSales.tpl new file mode 100755 index 00000000..2d6869a3 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesVatSales.tpl @@ -0,0 +1,85 @@ + + + + + + +
      + + +

      {$MOD.LBL_REPORT_SALES_VAT_SALES}

      +
      + +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Magazyn: + {$STOCKS} + Typ dokumentu: + {$TYPES} + Rodzaj: + {$KINDS} + Kategoria: + {$CATEGORIES} +
        Grupuj kontrahentów: + +
        Data od: + + Enter Date + +
        Data do: + + Enter Date + +
        + + + +
        \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportSalesVatSalesPDF.tpl b/modules/EcmReports/tpls/ReportSalesVatSalesPDF.tpl new file mode 100755 index 00000000..418f88a3 --- /dev/null +++ b/modules/EcmReports/tpls/ReportSalesVatSalesPDF.tpl @@ -0,0 +1,196 @@ + + + + + + + +
        + + +
        + + + + + + + + + + + + + +
        {$COMPANY_NAME}
        Data wydruku: {$CUR_DATE}
        Rejestr sprzedaży VAT za okres od {$DATE_FROM} do {$DATE_TO}
        Strona {literal}{PAGENO} z {nbpg}{/literal}
        +
        +Ustawienia raportu:
        +Magazyn: {$S_STOCK}
        +Rodzaj: {$S_KIND}
        +Kategoria: {$S_CATEGORY}
        +Typ: {$S_TYPE} +
        +
        +
        +
        +{foreach from=$PAGES item=PAGE name=page"} +{assign var=pagesCount value=$PAGES|@count} + +{assign var=vatColSize value=0} +{math + assign="vatColSize" + equation="round(57/($vatsCount))" + } + + + + + + + + + + + + {foreach from=$VATS key=vat_name item=i} + + {if $i=='2'} + + {/if} + {/foreach} + + + + + + {foreach from=$PAGE.rows item=row} + {if $row.is_summary!=1} + + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + {else} + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + {/if} + {/foreach} + + + + + + + + {foreach from=$PAGE.site_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.moved_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.total_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + +
        Lp.Nr dok.Data wyst.Odbiorca - NIP,Konto KS, Nazwa, Adres
        Sprz. bruttoSprz. nettoNetto {$vat_name}VAT {$vat_name}VAT RazemKoszt
        {$row.lp}{$row.document_no}{$row.register_date}{$row.parent_info}
        {$row.brutto|number_format:2:",":"."}{$row.netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.vat|number_format:2:",":"."}{$row.purchase|number_format:2:",":"."}
        Razem - {$row.index}
         {$row.total_brutto|number_format:2:",":"."}{$row.total_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.total_vat|number_format:2:",":"."}{$row.total_purchase|number_format:2:",":"."}
        Suma strony:
         {$PAGE.site_brutto|number_format:2:",":"."}{$PAGE.site_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.site_vat|number_format:2:",":"."}{$PAGE.site_purchase|number_format:2:",":"."}
        Suma z przeniesienia:
         {$PAGE.moved_brutto|number_format:2:",":"."}{$PAGE.moved_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.moved_vat|number_format:2:",":"."}{$PAGE.moved_purchase|number_format:2:",":"."}
        Suma razem:
         {$PAGE.total_brutto|number_format:2:",":"."}{$PAGE.total_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.total_vat|number_format:2:",":"."}{$PAGE.total_purchase|number_format:2:",":"."}
        +{if $smarty.foreach.page.index != $pagesCount-1 } + +{/if} +{/foreach} +

        +KONIEC WYDRUKU +

        +
        + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportStockDocMoves.tpl b/modules/EcmReports/tpls/ReportStockDocMoves.tpl new file mode 100644 index 00000000..cf0b9e30 --- /dev/null +++ b/modules/EcmReports/tpls/ReportStockDocMoves.tpl @@ -0,0 +1,261 @@ + + + + + + + + + + + + + +
        + EcmProducts + +

        Obroty wg dokumentów

        +
        +
        + +
        + + + + + + + + + + + + + + + +
        + {$MOD.LBL_STOCK} + + + + Dokument + {html_options name=documentsSelected options=$documentList selected=$documentSelected} + + Widok: + {html_options name=viewSelected options=$viewList selected=$viewSelected} + + + Kartoteka materiałowa + + + + Do magazynu + + + + {$MOD.LBL_CONTRACTOR} + + + + + + + Kategoria + {html_options name=wz_category options=$kategorie_wz selected=$wz_category_selected} + +
        + Data od + + Enter Date + + + Data do + + Enter Date + +
        + + + + +
        +
        +
        + {if $viewSelected eq 'documents'} + + + + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + + + {foreach from=$DATA.doc key="key" item="item" name=loop} + + + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + {/foreach} + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + +
        Numer dokumentuData + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + Kartoteka materiałowa + {elseif $documentSelected eq 'EcmStockDocMoves'} + Magazyn docelowy + {elseif $documentSelected eq 'EcmStockDocIns'} + Dostawca + {elseif $documentSelected eq 'EcmStockDocOuts'} + Odbiorca + {elseif $documentSelected eq 'EcmInvoiceOuts'} + Kontrahent + {/if} + Opis dokumentuWartośćMagazynKategoria
        + {$item.typ} {$item.numer} + + {$item.data} + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + {$item.kartoteka} + {elseif $documentSelected eq 'EcmStockDocMoves'} + {$item.magazynIn} + {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } + {$item.accountNazwa} + {/if} + + + {if $item.typ=='KS'} + {if $item.otyp==0} + Przychód + {/if} + {if $item.otyp==1} + Rozchód + {/if} + {else} + {$item.nazwa} + {/if} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} + + {$item.magazyn} + {$item.doccategory}
        Suma:{$suma|number_format:2:",":"." }
        + {elseif $viewSelected eq 'positions'} + + + + + + + + + + + + {foreach from=$DATA.prod key="key" item="item" name=loop} + + + + + + + + {/foreach} + + + + + + + + +
        IndeksNazwaJmIlośćWartość
        + {$item.kod} + + {$item.nazwa} + + {$item.jm} + + {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} + {$item.ilosc|number_format:2:",":"."} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} +
        Suma:{$sumaIlosci|number_format:2:",":"." }{$suma|number_format:2:",":"." }
        + {/if} + Strona w budowie :) +
        diff --git a/modules/EcmReports/tpls/ReportStockDocMovesPDF.tpl b/modules/EcmReports/tpls/ReportStockDocMovesPDF.tpl new file mode 100755 index 00000000..9c35682b --- /dev/null +++ b/modules/EcmReports/tpls/ReportStockDocMovesPDF.tpl @@ -0,0 +1,133 @@ + +{if $viewSelected eq 'documents'} + + + + + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + + + {foreach from=$DATA.doc key="key" item="item" name=loop} + + + + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + {/foreach} + + + + + + + {if $documentSelected eq 'EcmStockDocOuts'} + + {/if} + + +
        Lp.Numer dokumentuData + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + Kartoteka materiałowa + {elseif $documentSelected eq 'EcmStockDocMoves'} + Magazyn docelowy + {elseif $documentSelected eq 'EcmStockDocIns'} + Dostawca + {elseif $documentSelected eq 'EcmStockDocOuts'} + Odbiorca + {elseif $documentSelected eq 'EcmInvoiceOuts'} + Kontrahent + {/if} + Opis dokumentuWartośćMagazynKategoria
        {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.typ} {$item.numer} + + {$item.data} + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + {$item.kartoteka} + {elseif $documentSelected eq 'EcmStockDocMoves'} + {$item.magazynIn} + {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } + {$item.accountNazwa} + {/if} + + {if $item.typ=='KS'} + {if $item.otyp==0} + Przychód + {/if} + {if $item.otyp==1} + Rozchód + {/if} + {else} + {$item.nazwa} + {/if} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} + + {$item.magazyn} + + {$item.doccategory} +
        Suma:{$suma|number_format:2:",":"." }
        +{elseif $viewSelected eq 'positions'} + + + + + + + + + + + + + {foreach from=$DATA.prod key="key" item="item" name=loop} + + + + + + + + + {/foreach} + + + + + + + + +
        Lp.IndeksNazwaJmIlośćWartość
        {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.kod} + + {$item.nazwa} + + {$item.jm} + + {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} + {$item.ilosc|number_format:2:",":"."} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} +
        Suma:{$sumaIlosci|number_format:2:",":"." }{$suma|number_format:2:",":"." }
        +{/if} diff --git a/modules/EcmReports/tpls/ReportStockNewDoc.tpl b/modules/EcmReports/tpls/ReportStockNewDoc.tpl new file mode 100755 index 00000000..c781e8bf --- /dev/null +++ b/modules/EcmReports/tpls/ReportStockNewDoc.tpl @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
        + EcmProducts + +

        Raport magazynowy - Stany magazynowe za okres

        +
        + +
        + + +
        + + + + + + + + + + + + + + + + + + + + + + +
        {$MOD.LBL_STOCK} + + Ukryj stany zerowe + +
        Data od + + Enter Date + + Data do + + Enter Date + +
        + + + + + + + +
        +
        + + + + + + + + + + + + + + + {assign var="max_precision" value=0} + {assign var="number" value=$number+1} +{foreach from=$DATA key="key" item="item" name=loop} + {if $max_precision < $item.unit_precision } + {assign var="max_precision" value=$item.unit_precision} + {/if} + + + + + + + + + + + {assign var="number" value=$number+1} + + + + + + + + + + + + + + +{/foreach} + + + +
        L.p.{$MOD.LBL_INDEX}/{$MOD.LBL_NAME}Stan {$date_from}PrzychódRozchódStan {$date_to}
        {$number}{$item.product_code}
        {$item.product_name}
        {$item.total_quantity_old|number_format:$item.unit_precision:",":"."} {$item.unit_id}
        {$item.total_price_old|number_format:2:",":"." }
        {$item.przychod_q|number_format:$item.unit_precision:",":"."} {$item.unit_id}
        {$item.przychod_w|number_format:2:",":"." }
        {$item.rozchod_q|number_format:$item.unit_precision:",":"."} {$item.unit_id}
        {$item.rozchod_w|number_format:2:",":"." }
        {$item.total_quantity_now|number_format:$item.unit_precision:",":"."} {$item.unit_id}
        {$item.total_price_now|number_format:2:",":"." }
        Razem ilość:{$TOTAL_QUANTITY_OLD|number_format:2:",":"." }{$przychod_q|number_format:2:",":"." } + {$rozchod_q|number_format:2:",":"." }{$TOTAL_QUANTITY_NOW|number_format:2:",":"." }
        Razem wartość:{$TOTAL_VALUE_OLD|number_format:2:",":"." }{$przychod_w|number_format:2:",":"." } + {$rozchod_w|number_format:2:",":"." }{$TOTAL_VALUE_NOW|number_format:2:",":"." }
        + +
        \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportStocksDoc.tpl b/modules/EcmReports/tpls/ReportStocksDoc.tpl new file mode 100644 index 00000000..f7b12df5 --- /dev/null +++ b/modules/EcmReports/tpls/ReportStocksDoc.tpl @@ -0,0 +1,175 @@ + + + + + + + + + + + +
        + EcmProducts + +

        {$MOD.LBL_REPORT_STOCKS_STOCK_STATE}

        +
        + +
        + + + + + + + + + + + + + + +
        + {$MOD.LBL_STOCK}: + + + {$MOD.LBL_PRODUCT_ACTIVE}: + +
        Data wydruku: Kod produktu:
        + + + + +
        +
        + + + + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + + {foreach from=$DATA key="key" item="item" name=loop} + + {if $item.add|@count>1} + {assign var="rowspan" value=$item.add|@count} + {assign var="rowspanadd" value=1} + {assign var="currow" value=$rowspan*2+$rowspanadd} + {else} + {assign var="currow" value=1} + {/if} + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + {if $item.add|@count>1} + {foreach from=$item.add key="kis" item="position" name=loop} + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + {if $CONSIGNMENTS==TRUE} + + {else} + + {/if} + + {/foreach} + {/if} + + {if $CONSIGNMENTS==TRUE} + + {else} + + {/if} + + {/foreach} + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + +
        + {$MOD.LBL_INDEX} + + {$MOD.LBL_NAME} + + {$MOD.LBL_DOCUMENT} + + {$MOD.LBL_CONSIGNMENTS} + + {$MOD.LBL_QUANTITY} + + {$MOD.LBL_PRICE} + + {$MOD.LBL_SUMMARY} +
        + {$item.product_code} + + {$item.product_name} + + {$item.parent_type} {$item.parent_name} {$item.date_entered|date_format:"%d.%m.%Y"} + + {$item.part_no} + + {$item.total_quantity|number_format:$item.unit_precision:",":"."} {$item.unit_id} + + {$item.price|number_format:2:",":"." } + + {$item.total_price|number_format:2:",":"." } +
        + {$position.parent_type} {$position.parent_name} {$position.date_entered|date_format:"%d.%m.%Y"} + + {$position.part_no} + + {$position.quantity|number_format:$item.unit_precision:",":"."} + + {$position.price|number_format:2:",":"." } + + {$position.position_value|number_format:2:",":"." } +
        + {$MOD.LBL_SUMMARY}: + + + {*{$TOTAL_QUANTITY|number_format:2:",":"." }*} + + {$TOTAL_VALUE|number_format:2:",":"." } +
        \ No newline at end of file diff --git a/modules/EcmReports/tpls/ReportValue.tpl b/modules/EcmReports/tpls/ReportValue.tpl new file mode 100755 index 00000000..3f0ee310 --- /dev/null +++ b/modules/EcmReports/tpls/ReportValue.tpl @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + +
        + EcmProducts + +

        {$MOD.LBL_REPORT_VALUE_NAME}

        +
        + +
        + + + +
        + + + + + + + + + + +
        Data od: + + Enter Date + + Data do: + + Enter Date + + +
        + {$MOD.LBL_COLUMNS_SHOW} + {foreach from=$category key=k item=v} + {if in_array($k,$selectedColumns)} + {$v} + {else} + {$v} + {/if} + {/foreach} + +
        +
        + + + + + + + + + + + {foreach from=$category key=k item=v} + {if in_array($k,$selectedColumns)} + + {/if} + {/foreach} + + + + + {foreach from=$data key=rok item=miesiac} + {foreach from=$miesiac key=nazwa item=rekord} + + + {foreach from=$rekord key=kategoria item=wartosc} + + {/foreach} + + {/foreach} + {/foreach} + + + + + {foreach from=$suma item=summa} + + {/foreach} + + +
        {$MOD.LBL_YEAR_MONTH}{$v}{$MOD.LBL_SUM}
        {$rok} {$nazwa}{$wartosc}
        {$MOD.LBL_SUM}{$summa}
        + +
        + +
        \ No newline at end of file diff --git a/modules/EcmReports/tpls/VatPurchasesPDF.tpl b/modules/EcmReports/tpls/VatPurchasesPDF.tpl new file mode 100755 index 00000000..2a26e5e6 --- /dev/null +++ b/modules/EcmReports/tpls/VatPurchasesPDF.tpl @@ -0,0 +1,201 @@ + + + + + + + +
        + + +
        + + + + + + + + + + + + + +
        {$COMPANY_NAME}
        Data wydruku: {$CUR_DATE}
        Rejestr zakupu za okres od {$DATE_FROM} do {$DATE_TO}
        Strona {literal}{PAGENO} z {nbpg}{/literal}
        +
        +Ustawienia raportu:
        +Magazyn: {$S_STOCK}
        +Rodzaj: {$S_KIND}
        +Kategoria: {$S_CATEGORY}
        +
        +
        +
        +
        +{foreach from=$PAGES item=PAGE name=page"} +{assign var=pagesCount value=$PAGES|@count} + +{assign var=vatColSize value=0} +{math + assign="vatColSize" + equation="round(37/($vatsCount))" + } + + + + + + + + + + + + + + + + {foreach from=$VATS key=vat_name item=i} + + {if $i=='2'} + + {/if} + {/foreach} + + + + + {foreach from=$PAGE.rows item=row} + {if $row.is_summary!=1} + + + + + + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + {else} + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + {/if} + {/foreach} + + + + + + + + + {foreach from=$PAGE.site_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.moved_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.total_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + +
        Lp.Nr dok.Data wpływ.Data rejest.Nr PZOdbiorca - NIP, Nazwa, Adres
        RodzajZak. bruttoZak. nettoWartość PZNetto {$vat_name}VAT {$vat_name}VAT Razem
        {$row.lp}{$row.document_no}  {$row.publish_date}{$row.register_date}{$row.rel_doc}{$row.parent_info}
        {$row.parent_type}{$row.brutto|number_format:2:",":"."}{$row.netto|number_format:2:",":"."}{$row.rel_doc_total|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.vat|number_format:2:",":"."}
        Razem - {$row.index}
         {$row.total_brutto|number_format:2:",":"."}{$row.total_netto|number_format:2:",":"."}{$row.total_rel|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.total_vat|number_format:2:",":"."}
        Suma strony:
         {$PAGE.site_brutto|number_format:2:",":"."}{$PAGE.site_netto|number_format:2:",":"."}{$PAGE.site_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.site_vat|number_format:2:",":"."}
        Suma z przeniesienia:
         {$PAGE.moved_brutto|number_format:2:",":"."}{$PAGE.moved_netto|number_format:2:",":"."}{$PAGE.moved_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.moved_vat|number_format:2:",":"."}
        Suma razem:
         {$PAGE.total_brutto|number_format:2:",":"."}{$PAGE.total_netto|number_format:2:",":"."}{$PAGE.total_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.total_vat|number_format:2:",":"."}
        +{if $smarty.foreach.page.index != $pagesCount-1 } + +{/if} +{/foreach} +

        +KONIEC WYDRUKU +

        +
        + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/VatPurchasesSearch.tpl b/modules/EcmReports/tpls/VatPurchasesSearch.tpl new file mode 100644 index 00000000..fbd188e4 --- /dev/null +++ b/modules/EcmReports/tpls/VatPurchasesSearch.tpl @@ -0,0 +1,69 @@ +
          +
          + + + + + + + + + + + + + + + + + + + + + + + + + + +
          Magazyn: + {$STOCKS} + Rodzaj: + {$KINDS} + Kategoria: + {$CATEGORIES} +
          Grupuj kontrahentów: + +
          Data od: + + Enter Date + +
          Data do: + + Enter Date + +
          + + + +
          \ No newline at end of file diff --git a/modules/EcmReports/tpls/kpkwReport.tpl b/modules/EcmReports/tpls/kpkwReport.tpl new file mode 100644 index 00000000..ee735246 --- /dev/null +++ b/modules/EcmReports/tpls/kpkwReport.tpl @@ -0,0 +1,215 @@ + + + + + + +
          +

          {$MOD.LBL_RAPORT_TITLE}

          +
          + +
          + + + +
          + + + + + + + + + + + + + + + + + +
          + {$MOD.LBL_DATE_START} + + + Enter Date + + + {$MOD.LBL_DATE_END} + + + Enter Date + + + {$MOD.LBL_CASH2} + + + + + + + {$MOD.LBL_CASH_USER2} + + +
          + + + + +
          + + +

          {$MOD.LBL_RAPORT_LABEL}
          {$MOD.LBL_TIME} {$currentFrom} - {$currentTo}
          + {if $PARAMS.cash_name!=''} {$MOD.LBL_CASH}: {$PARAMS.cash_name}, {$MOD.LBL_CURRENCY_PDF}: {$PARAMS.id_currency}{/if} + {if $PARAMS.kasjer!=''} +
          {$MOD.LBL_CASH_USER} {$USER_NAME} + {/if} +


          + + + + + + + + + + + + + {foreach from=$DATA item=poz key=CATNAME name=loop} + {if $poz.type_id!=''} + + + + + + + + + {assign var="i" value=$poz.number} + {/if} + {/foreach} + {assign var="currow" value=$poz.number+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + +
          {$MOD.LBL_NUMBER_LP}{$MOD.LBL_DOCUMENT_NO}
          {$MOD.LBL_CREATE_LAB}
          {$MOD.LBL_TITLE}{$MOD.LBL_PARENT_NAME}{$MOD.LBL_AMOUNT_PLUS}{$MOD.LBL_AMOUNT_MINUS}
          {$poz.number} + + + + + + + +
          {$poz.document_no}
          {$poz.date_entered|date_format:"%d.%m.%Y"}
          +
          {$poz.description}{$poz.parent_name}{if $poz.type_id==0} {$poz.amount|number_format:2:",":"."} {else}  {/if}{if $poz.type_id==1} {$poz.amount|number_format:2:",":"."} {else}  {/if} +
           {$MOD.LBL_VALUE}{$DATA.in|number_format:2:",":"."}{$DATA.out|number_format:2:",":"."}  +
           {$MOD.LBL_VALUE_BEFORE}:{$CASH_BEFORE|number_format:2:",":"."}  +
           {$MOD.LBL_VALUE_TOTAL}:{$CASH_NOW|number_format:2:",":"."}  +
          \ No newline at end of file diff --git a/modules/EcmReports/tpls/mzVatPurchaesPDF.tpl b/modules/EcmReports/tpls/mzVatPurchaesPDF.tpl new file mode 100644 index 00000000..35cf42ff --- /dev/null +++ b/modules/EcmReports/tpls/mzVatPurchaesPDF.tpl @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
          +

          Raport ilościowy zakupu

          + {$EcmSysInfo->getName()} +
          + Data wygenerowania raportu:
          + {$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"} +
          + {$MOD.LBL_DATE_FROM}: {$date_from_value}
          + {$MOD.LBL_DATE_TO}: {$date_to_value} +
          + + + + + +
          + {$MOD.LBL_DOCUMENT_SALES_TYPE}: + + {if @count($DOCUMENT_SALES_SELECTED) == 0} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {$item}
          + {/foreach} + {else} + {foreach from=$MOD.DOCUMENT_SALES_LIST key="key" item="item"} + {if @in_array($key, $DOCUMENT_SALES_SELECTED) } {$item}
          {/if} + {/foreach} + {/if} +
          +
          + + + + + +
          + {$MOD.LBL_PRODUCT_GROUP}: + + {if @count($PRODUCT_GROUP_SELECTED) == 0} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {$item}
          + {/foreach} + {else} + {foreach from=$APP_LIST_STRINGS.ecmproducts_group_ks_dom key="key" item="item"} + {if @in_array($key, $PRODUCT_GROUP_SELECTED) } {$item}
          {/if} + {/foreach} + {/if} +
          +
          + + + + + +
          + {$MOD.LBL_STOCK}: + + {if @count($STOCK_SELECTED) == 0} + {foreach from=$STOCK_LIST key="key" item="item"} + {$item}
          + {/foreach} + {else} + {foreach from=$STOCK_LIST key="key" item="item"} + {if @in_array($key, $STOCK_SELECTED) } {$item}
          {/if} + {/foreach} + {/if} +
          +
          + {$MOD.LBL_TRADER}: + {if $TRADER_SELECTED ==''} + Wszyscy + {else} + {foreach from=$TRADERS_LIST key="key" item="item"} + {if @in_array($key, $TRADER_SELECTED) } {$item}
          {/if} + + {/foreach} + {/if} +
          + + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + {if $item.quantity eq 0} + {else} + + + + + + + + + + {/if} + {/foreach} + + + + + + + + + + + +
          + Indeks + + {$MOD.LBL_NAME} + + {$MOD.LBL_QUANTITY} + + {$MOD.LBL_JM} + + Zakup Netto + + Waga jedn. netto + + Waga ogółem netto +
          + {$item.code} + + {$item.name} + + {$item.quantity|number_format:$item.jm_precision:",":""} + + {$item.jm_name} + + {$item.total_netto|number_format:2:",":"."} + {assign var=summary_netto value=$summary_netto+$item.total_netto} + + {$item.position_weight|number_format:6:",":""} + + {$item.position_total_weight|number_format:6:",":""} +
          + {$MOD.LBL_SUMMARY} + + {$TOTAL3|number_format:2:",":""} + + + + {$summary_netto|number_format:2:",":"."} + + + + {$TOTAL4|number_format:6:",":""} +
          + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/mzVatPurchases.tpl b/modules/EcmReports/tpls/mzVatPurchases.tpl new file mode 100644 index 00000000..1d6f23fd --- /dev/null +++ b/modules/EcmReports/tpls/mzVatPurchases.tpl @@ -0,0 +1,273 @@ + + + + + + + + + + + +
          + + +

          Raport ilościowy zakupu

          +
          +
          + + + + + + + + + + + + + + + + + + + +
          + {$MOD.LBL_DATE_FROM}: + + + + + + + + +
          + {$MOD.LBL_PRODUCT_GROUP}: + + +
          +
          + + + + + +
          + {$MOD.LBL_PRODUCT_GROUP} 2: + + +
          +
          + + + + + +
          + {$MOD.LBL_STOCK}: + + +
          +
          + + + + + +
          + Typ: + + +
          +
          +

          + Kategoria produktu: + + + + +

          +
          +

          + {$MOD.LBL_TRADER}: + {html_options id=trader name=trader[] multiple=true options=$TRADERS_LIST selected=$TRADER_SELECTED} + +


          +

          + {$MOD.LBL_CONTRACTOR}: + + + + +

          +
          {$MOD.LBL_DATE_TO}: + + +
          + + + + +
          + + + + + + + + + + + + + + + {foreach from=$DATA item=item key=item_name} + {if $item.quantity eq 0} + {else} + + + + + + + + + + + {/if} + {/foreach} + + + + + + + + + + + +
          + Indeks + + {$MOD.LBL_NAME} + + {$MOD.LBL_QUANTITY} + + {$MOD.LBL_JM} + + Zakup Netto + + Waga jedn. netto + + Waga ogółem netto +
          + {$item.code} + + {$item.name} + + {$item.quantity|number_format:$item.jm_precision:",":""} + + {$item.jm_name} + + {$item.total_netto|number_format:2:",":"."} + + + {$item.position_weight|number_format:6:",":""} + + {$item.position_total_weight|number_format:6:",":""} +
          + {$MOD.LBL_SUMMARY} + + {$TOTAL3|number_format:2:",":""} + + + + {$TOTAL|number_format:2:",":"."} + + + + {$TOTAL4|number_format:6:",":""} +
          diff --git a/modules/EcmReports/tpls/pdf_content_footer.tpl b/modules/EcmReports/tpls/pdf_content_footer.tpl new file mode 100755 index 00000000..4d4a7e52 --- /dev/null +++ b/modules/EcmReports/tpls/pdf_content_footer.tpl @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/pdf_content_header.tpl b/modules/EcmReports/tpls/pdf_content_header.tpl new file mode 100755 index 00000000..2e51ac5c --- /dev/null +++ b/modules/EcmReports/tpls/pdf_content_header.tpl @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/modules/EcmReports/tpls/pkwiu.tpl b/modules/EcmReports/tpls/pkwiu.tpl new file mode 100644 index 00000000..a22aec9d --- /dev/null +++ b/modules/EcmReports/tpls/pkwiu.tpl @@ -0,0 +1,103 @@ + + + + + +

          Raport PKWiU

          +
            +
            + + + + + + + + + + + + + +
            Data od: + + Enter Date + +
            Data do: + + Enter Date + +
            + + +
            +{if $fired==true} + + + + + + + + + +{if $data|@count>0} + + {foreach from=$data item=item key=item_name} + + + + + + {assign var=total value=$total+$item.sum} + {/foreach} + + + + + + + + +{else} + + + + + + +{/if} +
            + KOD PKWiU + + Kontrahent + + Ilość +
            {$item.pkwiu}{$item.parent_name}{$item.sum|number_format:2:",":"."} kg
            + Razem: + + + + {$total|number_format:2:",":"."} kg +
            BRAK DANYCH DO WYŚWIETLENIA
            +{/if} \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheck.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheck.tpl new file mode 100755 index 00000000..b8f5ce38 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheck.tpl @@ -0,0 +1,130 @@ + + + + + + + + + + +
            +{assign var=docCount value=$DOCUMENTS|@count} +Pierwsza linia - ilość, druga - wartość. + + + + + {if $SHOW_DETAILS=='checked'} + + {/if} + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$DOCUMENTS item=i key=k } + {assign var=tmp value="_"|explode:$k} + {assign var=key value=$tmp[0]} + + {/foreach} + {/if} + + + + + {foreach from=$DATA item=row} + + + {if $SHOW_DETAILS=='checked'} + + {/if} + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$row.op item=i key=k} + + {/foreach} + {/if} + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$row.doc_details item=doc_row} + + + + + {foreach from=$DOCUMENTS item=i key=k } + {assign var=key value=$k} + + {/foreach} + + + + + {/foreach} + {/if} + {/foreach} + + + {if $SHOW_DETAILS=='checked'} + + {/if} + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$DOCUMENTS item=i key=k } + {assign var=key value=$k} + + {/foreach} + {/if} + + + +
            Indeks Stan początkowyRozchodyPrzychody{$MOD_NAMES.$key}{if $tmp[1]=='0'}+{else}-{/if}Stan końcowy
            {$row.code}
            {$row.name}
            + {if $row.doc_details|@count > 0} + + {/if} + {$row.start_state|number_format:2:",":""}
            {$row.start_value|number_format:2:",":"."}
            {$row.in_state|number_format:2:",":""}
            {$row.in_value|number_format:2:",":"."}
            {$row.out_state|number_format:2:",":""}
            {$row.out_value|number_format:2:",":"."}
            {$i.qty|number_format:2:",":""}
            {$i.value|number_format:2:",":"."}
            {$row.end_state|number_format:2:",":""}
            {$row.end_value|number_format:2:",":"."}
            Suma {$sum.sp_qty|number_format:2:",":""}
            {$sum.sp_val|number_format:2:",":"."}
            {$sum.in_qty|number_format:2:",":""}
            {$sum.in_val|number_format:2:",":"."}
            {$sum.out_qty|number_format:2:",":""}
            {$sum.out_val|number_format:2:",":"."}
            {$doc_sum.$key.qty|number_format:2:",":""}
            {$doc_sum.$key.val|number_format:2:",":"."}
            {$sum.sk_qty|number_format:2:",":""}
            {$sum.sk_val|number_format:2:",":"."}
            +
            + + + + + + + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckPDF.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckPDF.tpl new file mode 100755 index 00000000..1a14d6a9 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckPDF.tpl @@ -0,0 +1,131 @@ + + + + + + + +
            + + +
            + + + + + + + + + + +
            {$COMPANY_NAME}
            Data wydruku: {$CUR_DATE}
            Ruch magazynowy w okresie od {$DATE_FROM} do {$DATE_TO}
            +
            +Ustawienia raportu:
            +Magazyn: {$S_STOCK}
            +
            +
            +
            +
            +{assign var=docCount value=$DOCUMENTS|@count} +Pierwsza linia - ilość, druga - wartość. + + + + + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$DOCUMENTS item=i key=k } + {assign var=tmp value="_"|explode:$k} + {assign var=key value=$tmp[0]} + + {/foreach} + {/if} + + + + + {foreach from=$DATA item=row} + + + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$row.op item=i key=k} + + {/foreach} + {/if} + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$row.doc_details item=doc_row} + + + + + {foreach from=$DOCUMENTS item=i key=k } + {assign var=key value=$k} + + {/foreach} + + + + + {/foreach} + {/if} + {/foreach} + + + + + + {if $SHOW_DETAILS=='checked'} + {foreach from=$DOCUMENTS item=i key=k } + {assign var=key value=$k} + + {/foreach} + {/if} + + + +
            IndeksStan początkowyRozchodyPrzychody{$MOD_NAMES.$key}{if $tmp[1]=='0'}+{else}-{/if}Stan końcowy
            {$row.code}
            {$row.name}
            {$row.start_state|number_format:2:",":""}
            {$row.start_value|number_format:2:",":"."}
            {$row.in_state|number_format:2:",":""}
            {$row.in_value|number_format:2:",":"."}
            {$row.out_state|number_format:2:",":""}
            {$row.out_value|number_format:2:",":"."}
            {$i.qty|number_format:2:",":""}
            {$i.value|number_format:2:",":"."}
            {$row.end_state|number_format:2:",":""}
            {$row.end_value|number_format:2:",":"."}
            Suma{$sum.sp_qty|number_format:2:",":""}
            {$sum.sp_val|number_format:2:",":"."}
            {$sum.in_qty|number_format:2:",":""}
            {$sum.in_val|number_format:2:",":"."}
            {$sum.out_qty|number_format:2:",":""}
            {$sum.out_val|number_format:2:",":"."}
            {$doc_sum.$key.qty|number_format:2:",":""}
            {$doc_sum.$key.val|number_format:2:",":"."}
            {$sum.sk_qty|number_format:2:",":""}
            {$sum.sk_val|number_format:2:",":"."}
            +
            + + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckSearch.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckSearch.tpl new file mode 100755 index 00000000..821f13da --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/StockOperationsCheck/StockOperationsCheckSearch.tpl @@ -0,0 +1,60 @@ +
              +
              + + + + + + + + + + + + + + + + + + + + + +
              Magazyn: + {$STOCKS}
              Lista nie zawiera magazynów usługowych +
              Data od: + + Enter Date + +
              Data do: + + Enter Date + +
              Pokaż szczegóły: + +
              + + + +
              \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesPDF.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesPDF.tpl new file mode 100755 index 00000000..77b59eef --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesPDF.tpl @@ -0,0 +1,201 @@ + + + + + + + +
              + + +
              + + + + + + + + + + + + + +
              {$COMPANY_NAME}
              Data wydruku: {$CUR_DATE}
              Rejestr zakupu za okres od {$DATE_FROM} do {$DATE_TO}
              Strona {literal}{PAGENO} z {nbpg}{/literal}
              +
              +Ustawienia raportu:
              +Magazyn: {$S_STOCK}
              +Rodzaj: {$S_KIND}
              +Kategoria: {$S_CATEGORY}
              +
              +
              +
              +
              +{foreach from=$PAGES item=PAGE name=page"} +{assign var=pagesCount value=$PAGES|@count} + +{assign var=vatColSize value=0} +{math + assign="vatColSize" + equation="round(37/($vatsCount))" + } + + + + + + + + + + + + + + + + {foreach from=$VATS key=vat_name item=i} + + {if $i=='2'} + + {/if} + {/foreach} + + + + + {foreach from=$PAGE.rows item=row} + {if $row.is_summary!=1} + + + + + + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + {else} + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + {/if} + {/foreach} + + + + + + + + + {foreach from=$PAGE.site_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.moved_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.total_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + +
              Lp.Nr dok.Data wpływ.Data rejest.Nr PZOdbiorca - NIP, Nazwa, Adres
              RodzajZak. bruttoZak. nettoWartość PZNetto {$vat_name}VAT {$vat_name}VAT Razem
              {$row.lp}{$row.document_no}  {$row.publish_date}{$row.register_date}{$row.rel_doc}{$row.parent_info}
              {$row.parent_type}{$row.brutto|number_format:2:",":"."}{$row.netto|number_format:2:",":"."}{$row.rel_doc_total|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.vat|number_format:2:",":"."}
              Razem - {$row.index}
               {$row.total_brutto|number_format:2:",":"."}{$row.total_netto|number_format:2:",":"."}{$row.total_rel|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.total_vat|number_format:2:",":"."}
              Suma strony:
               {$PAGE.site_brutto|number_format:2:",":"."}{$PAGE.site_netto|number_format:2:",":"."}{$PAGE.site_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.site_vat|number_format:2:",":"."}
              Suma z przeniesienia:
               {$PAGE.moved_brutto|number_format:2:",":"."}{$PAGE.moved_netto|number_format:2:",":"."}{$PAGE.moved_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.moved_vat|number_format:2:",":"."}
              Suma razem:
               {$PAGE.total_brutto|number_format:2:",":"."}{$PAGE.total_netto|number_format:2:",":"."}{$PAGE.total_pz|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.total_vat|number_format:2:",":"."}
              +{if $smarty.foreach.page.index != $pagesCount-1 } + +{/if} +{/foreach} +

              +KONIEC WYDRUKU +

              +
              + + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesSearch.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesSearch.tpl new file mode 100755 index 00000000..cc9de69d --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/VatPurchases/VatPurchasesSearch.tpl @@ -0,0 +1,67 @@ +
                +
                + + + + + + + + + + + + + + + + + + + + + + + + + +
                Magazyn: + {$STOCKS} + Rodzaj: + {$KINDS} + Kategoria: + {$CATEGORIES} +
                Grupuj kontrahentów: + +
                Data od: + + Enter Date + +
                Data do: + + Enter Date + +
                + + +
                \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesPDF.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesPDF.tpl new file mode 100755 index 00000000..ef14d8e1 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesPDF.tpl @@ -0,0 +1,196 @@ + + + + + + + +
                + + +
                + + + + + + + + + + + + + +
                {$COMPANY_NAME}
                Data wydruku: {$CUR_DATE}
                Rejestr sprzedaży za okres od {$DATE_FROM} do {$DATE_TO}
                Strona {literal}{PAGENO} z {nbpg}{/literal}
                +
                +Ustawienia raportu:
                +Magazyn: {$S_STOCK}
                +Rodzaj: {$S_KIND}
                +Kategoria: {$S_CATEGORY}
                +Typ: {$S_TYPE} +
                +
                +
                +
                +{foreach from=$PAGES item=PAGE name=page"} +{assign var=pagesCount value=$PAGES|@count} + +{assign var=vatColSize value=0} +{math + assign="vatColSize" + equation="round(57/($vatsCount))" + } + + + + + + + + + + + + {foreach from=$VATS key=vat_name item=i} + + {if $i=='2'} + + {/if} + {/foreach} + + + + + + {foreach from=$PAGE.rows item=row} + {if $row.is_summary!=1} + + + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + {else} + + + + + + + + {foreach from=$row.vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + {/if} + {/foreach} + + + + + + + + {foreach from=$PAGE.site_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.moved_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + + + + + + + + {foreach from=$PAGE.total_vats item=v key=k} + + {if $VATS.$k == '2'} + + {/if} + {/foreach} + + + + +
                Lp.Nr dok.Data wyst.Odbiorca - NIP, Nazwa, Adres
                Sprz. bruttoSprz. nettoNetto {$vat_name}VAT {$vat_name}VAT RazemKoszt
                {$row.lp}{$row.document_no}{$row.register_date}{$row.parent_info}
                {$row.brutto|number_format:2:",":"."}{$row.netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.vat|number_format:2:",":"."}{$row.purchase|number_format:2:",":"."}
                Razem - {$row.index}
                 {$row.total_brutto|number_format:2:",":"."}{$row.total_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$row.total_vat|number_format:2:",":"."}{$row.total_purchase|number_format:2:",":"."}
                Suma strony:
                 {$PAGE.site_brutto|number_format:2:",":"."}{$PAGE.site_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.site_vat|number_format:2:",":"."}{$PAGE.site_purchase|number_format:2:",":"."}
                Suma z przeniesienia:
                 {$PAGE.moved_brutto|number_format:2:",":"."}{$PAGE.moved_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.moved_vat|number_format:2:",":"."}{$PAGE.moved_purchase|number_format:2:",":"."}
                Suma razem:
                 {$PAGE.total_brutto|number_format:2:",":"."}{$PAGE.total_netto|number_format:2:",":"."}{$v[0]|number_format:2:",":"."}{$v[1]|number_format:2:",":"."}{$PAGE.total_vat|number_format:2:",":"."}{$PAGE.total_purchase|number_format:2:",":"."}
                +{if $smarty.foreach.page.index != $pagesCount-1 } + +{/if} +{/foreach} +

                +KONIEC WYDRUKU +

                +
                + + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesSearch.tpl b/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesSearch.tpl new file mode 100755 index 00000000..cff8e7da --- /dev/null +++ b/modules/EcmReportsBackUp20151106/mz_tpl/VatSales/VatSalesSearch.tpl @@ -0,0 +1,71 @@ +
                  +
                  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  Magazyn: + {$STOCKS} + Typ dokumentu: + {$TYPES} + Rodzaj: + {$KINDS} + Kategoria: + {$CATEGORIES} +
                  Grupuj kontrahentów: + +
                  Data od: + + Enter Date + +
                  Data do: + + Enter Date + +
                  + + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/AgreementRaport.tpl b/modules/EcmReportsBackUp20151106/tpls/AgreementRaport.tpl new file mode 100755 index 00000000..4e41e8e2 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/AgreementRaport.tpl @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_AGREEMENT}

                  +
                  + +
                  + + +
                  + + + + + + + + +
                  + {$MOD.LBL_DATE_START} + + + Enter Date + +
                  + + + + + + + + + + + + + + + + +{foreach from=$TABLE key="key" item="item" name=loop} + + + + + + + + + + {/foreach} + + + + + + + +
                  OdsetkiProwizjaRata kapitałowaRazem
                  {$item.payment_date}{$item.rate|number_format:2:",":"."}{$item.rate2|number_format:2:",":"."}{$item.rate3|number_format:2:",":"." }{$item.total|number_format:2:",":"." }
                  Razem:{$total_o|number_format:2:",":"."}{$total_p|number_format:2:",":"."}{$total_r|number_format:2:",":"." }{$total|number_format:2:",":"." }
                  +
                  +
                  + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/AnalysisEcmQuote.tpl b/modules/EcmReportsBackUp20151106/tpls/AnalysisEcmQuote.tpl new file mode 100755 index 00000000..8306a577 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/AnalysisEcmQuote.tpl @@ -0,0 +1,92 @@ + + + + + + + +
                  + EcmProducts + +

                  Analiza Ofert

                  +
                  +
                  + + + + + + + + + + +
                  + {$MOD.LBL_CONTRACTOR}: + + + + +
                  + + + +
                  + + + + + + {foreach from=$DATA key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.created key=key item=item} + {assign var=sumacreated value=$sumacreated+$item} + + {/foreach} + + + + + + {foreach from=$ROWS.accepted key=key item=item} + {assign var=sumaaccepted value=$sumaaccepted+$item} + + {/foreach} + + + + + {foreach from=$ROWS.not_accepted key=key item=item} + {assign var=sumanot_accepted value=$sumanot_accepted+$item} + + {/foreach} + + + +
                  Nazwa{$key}Suma
                  Utworzona/Wysłana{$item|number_format:0:",":"."}{$sumacreated|number_format:0:",":"."}
                  Przyjęta{$item|number_format:0:",":"."}{$sumaaccepted|number_format:0:",":"."}
                  Odrzucona{$item|number_format:0:",":"."}{$sumanot_accepted|number_format:0:",":"."}
                  + +
                  + + + + + diff --git a/modules/EcmReportsBackUp20151106/tpls/AnalysisProductSale.tpl b/modules/EcmReportsBackUp20151106/tpls/AnalysisProductSale.tpl new file mode 100755 index 00000000..acc972b0 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/AnalysisProductSale.tpl @@ -0,0 +1,128 @@ + + + + + + + +
                  + EcmProducts + +

                  Rejestr wartościowy

                  +
                  +
                  + +
                  + + + + + + + + + + +
                  + {$MOD.LBL_PRODUCTS_CATEGORY} + + + {$MOD.LBL_PRODUCT}: + + + + + + {$MOD.LBL_CONTRACTOR}: + + + + +
                  + + + +
                  + + + + + + {foreach from=$DATA key=key item=item} + + {/foreach} + + + + + + + {foreach from=$ROWS.netto key=key item=item} + {assign var=sumanetto value=$sumanetto+$item} + + {/foreach} + + + + + + {foreach from=$ROWS.kupno key=key item=item} + {assign var=sumakupno value=$sumakupno+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marza key=key item=item} + {assign var=sumamarza value=$sumamarza+$item} + + {/foreach} + + + + + {foreach from=$ROWS.marzaprocent key=key item=item} + {assign var=sumamarzaprocent value=$sumamarzaprocent+$item} + + {/foreach} + + + + +
                  Nazwa{$key}Suma
                  netto{$item|number_format:2:",":"."}{$sumanetto|number_format:2:",":"."}
                  kupno{$item|number_format:2:",":"."}{$sumakupno|number_format:2:",":"."}
                  dochód{$item|number_format:2:",":"."}{$sumamarza|number_format:2:",":"."}
                  marża %{$item|number_format:2:",":"."} %{$sumamarzaprocent/12|number_format:2:",":"."} %
                  + +
                  + + + + + diff --git a/modules/EcmReportsBackUp20151106/tpls/Kartoteka.tpl b/modules/EcmReportsBackUp20151106/tpls/Kartoteka.tpl new file mode 100755 index 00000000..b9e4ba59 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/Kartoteka.tpl @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  Kartoteka ruchu towarów - Podsumowanie

                  +
                  + +
                  + +
                  + + + + + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + +
                  Data od + + Enter Date + + Data do + + Enter Date + +
                  + + + + + +
                  +
                  + + + + + + + + + + {assign var="number" value=1} + {foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + {if $key==0} + {assign var=nowa_suma value=$nowa_suma+$item2} + {else} + {assign var=nowa_suma value=$nowa_suma-$item2} + {/if} + {/foreach} + {/foreach} + + + + + +
                  Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." }
                  {$doc_name.$key2} {if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."}
                  Stan końcowy:{$nowa_suma+$TOTAL_VALUE_OLD|number_format:2:",":"." }
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ListDailySales.tpl b/modules/EcmReportsBackUp20151106/tpls/ListDailySales.tpl new file mode 100755 index 00000000..7fc9b4f9 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ListDailySales.tpl @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  Rejestr wartościowy

                  +
                  + +
                  +
                    +
                  + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + {* Search by contractor *} + + + {if $submit eq "Wykonaj"} + + + + + + + + + + {else} + + + + + + + + + {/if} + + +
                  Data od + + Enter Date + + Data do + + Enter Date + + {$MOD.LBL_CONTRACTOR} + + + + + {* Open popup window to select contractor *} + + Kategoria dokumentu + + Typ dokumentu + + Rodzaj dokumentu: + + Kategoria dokumentu + + Typ dokumentu + + Rodzaj dokumentu: + +
                  +
                  + + + + + + +
                  +
                  + +{* Table headers *} + + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$DATA item=ROW name=loop} + + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + {/foreach} + + + +
                  {$MOD.LBL_CONTRACTOR}{$MOD.LBL_INVOICE_NUMBER}{$MOD.LBL_TYPE}{$MOD.LBL_DOCUMENT_DATE}{$MOD.LBL_PDF_TYPE}{$MOD.LBL_NET_VALUE}{$MOD.LBL_GROSS_VALUE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
                  {$SUM.netto|number_format:2:",":"." }{$SUM.brutto|number_format:2:",":"." }{$SUM.cost|number_format:2:",":"." }{$SUM.margin|number_format:2:",":"." }
                  + + {$ROW.account.name} + + + + {$ROW.document_no} + + {$ROW.showType}{$ROW.register_date}{if $ROW.pdf_type == 'U'} + {$MOD.LBL_PDF_TYPE_U} + {/if} + {if $ROW.pdf_type == 'K'} + {$MOD.LBL_PDF_TYPE_K} + {/if} + {if $ROW.pdf_type == 'E'} + {$MOD.LBL_PDF_TYPE_E} + {/if} + {$ROW.total_netto|number_format:2:",":"." }{$ROW.total_brutto|number_format:2:",":"." }{$ROW.purchase_price|number_format:2:",":"." }{$ROW.margin|number_format:2:",":"." } ({$ROW.marginInPercent|number_format:2:",":"."}%)
                  + diff --git a/modules/EcmReportsBackUp20151106/tpls/ListDailySalesCopy.tpl b/modules/EcmReportsBackUp20151106/tpls/ListDailySalesCopy.tpl new file mode 100755 index 00000000..f6f8e52e --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ListDailySalesCopy.tpl @@ -0,0 +1,286 @@ + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_SUBPANEL_TITLE}

                  +
                  + +
                  + +
                    +
                  +
                  + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + {* Search by contractor *} + + + + + + + + + + +
                  Data od + + Enter Date + + Data do + + Enter Date + + {$MOD.LBL_CONTRACTOR} + + + + + {* Open popup window to select contractor *} + + Typ dokumentu + + Rodzaj faktury: + +
                  + + + + + + +
                  +
                  + +{* Table headers *} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$DATA item=ROW name=loop} + + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + + + + + + + + + + {/foreach} + + + +
                  {$MOD.LBL_CONTRACTOR}{$MOD.LBL_INVOICE_NUMBER}{$MOD.LBL_TYPE}{$MOD.LBL_REGISTER_DATE}{$MOD.LBL_PDF_TYPE}{$MOD.LBL_NET_VALUE}TH1WG1PP1TR1{$MOD.LBL_GROSS_VALUE}{$MOD.LBL_COST}TH2WG2PP2TR2{$MOD.LBL_MARGIN}
                  {$SUM.subtotalSum|number_format:2:",":"." }{$SUM.subPriceGroupKS1Sum|number_format:2:",":"." }{$SUM.subPriceGroupKS2Sum|number_format:2:",":"." }{$SUM.subPriceGroupKS3Sum|number_format:2:",":"." }{$SUM.subPriceGroupKS4Sum|number_format:2:",":"." }{$SUM.totalSum|number_format:2:",":"." }{$SUM.costSum|number_format:2:",":"." }{$SUM.purchasePriceGroupKS1Sum|number_format:2:",":"." }{$SUM.purchasePriceGroupKS2Sum|number_format:2:",":"." }{$SUM.purchasePriceGroupKS3Sum|number_format:2:",":"." }{$SUM.purchasePriceGroupKS4Sum|number_format:2:",":"." }{$SUM.marginSum|number_format:2:",":"." }%
                  + + {$ROW.contractorName} + + + + {$ROW.document_no} + + {if $ROW.type == 'normal'} + {$MOD.LBL_PDF_TYPE_NORMAL} + {else if $ROW.type == 'correct'} + {$MOD.LBL_PDF_TYPE_CORRECT} + {/if} + + {$ROW.register_date}{if $ROW.pdf_type == 'U'} + {$MOD.LBL_PDF_TYPE_U} + {/if} + {if $ROW.pdf_type == 'K'} + {$MOD.LBL_PDF_TYPE_K} + {/if} + {if $ROW.pdf_type == 'E'} + {$MOD.LBL_PDF_TYPE_E} + {/if} + {$ROW.subtotal|number_format:2:",":"." }{$ROW.subPriceGroupKS1|number_format:2:",":"." }{$ROW.subPriceGroupKS2|number_format:2:",":"." }{$ROW.subPriceGroupKS3|number_format:2:",":"." }{$ROW.subPriceGroupKS4|number_format:2:",":"." }{$ROW.total|number_format:2:",":"." }{$ROW.cost|number_format:2:",":"." }{$ROW.purchasePriceGroupKS1|number_format:2:",":"." }{$ROW.purchasePriceGroupKS2|number_format:2:",":"." }{$ROW.purchasePriceGroupKS3|number_format:2:",":"." }{$ROW.purchasePriceGroupKS4|number_format:2:",":"." }{$ROW.margin|number_format:2:",":"." }%
                  + diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/Kartoteka.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/Kartoteka.tpl new file mode 100755 index 00000000..79cafe69 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/Kartoteka.tpl @@ -0,0 +1,289 @@ + + + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + + + + + {if $key==0} + {assign var=nowa_suma value=$nowa_suma+$item2} + {else} + {assign var=nowa_suma value=$nowa_suma-$item2} + {/if} + {/foreach} +{/foreach} + + + + + + + +
                  Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." }
                  {$doc_name.$key2} { if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."}
                  Stan końcowy:{$nowa_suma+$TOTAL_VALUE_OLD|number_format:2:",":"." }
                  diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ListDailySales.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ListDailySales.tpl new file mode 100755 index 00000000..b0ae82d1 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ListDailySales.tpl @@ -0,0 +1,343 @@ +{literal} + + + + + + +{/literal} +
                  + + + + + + + + + + + + + +
                  Raport wartościowy
                  SAAS-SYSTEMS
                  Data wygenerowania: {$current_date_formatted}
                  Rejestr od {$date_from_formatted} do {$date_to_formatted}
                  +
                  +{literal} +
                  + + + + + + + +
                  {DATE j.m.Y}{PAGENO}/{nbpg}Raport wartościowy
                  +
                  + + + + + + +
                  SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
                  +
                  +{/literal} +
                  + + +

                  {$MOD.LBL_SUBPANEL_TITLE}

                  + +{* Table headers *} + + + + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$DATA item=ROW name=loop} + + + + + + + + + + + + + {/foreach} + + + +
                  {$MOD.LBL_CONTRACTOR}{$MOD.LBL_INVOICE_NUMBER}{$MOD.LBL_TYPE}{$MOD.LBL_DOCUMENT_DATE}{$MOD.LBL_PDF_TYPE}{$MOD.LBL_NET_VALUE}{$MOD.LBL_GROSS_VALUE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
                  {$SUM.netto|number_format:2:",":"." }{$SUM.brutto|number_format:2:",":"." }{$SUM.cost|number_format:2:",":"." }{$SUM.margin|number_format:2:",":"." }
                  {$ROW.account.name}{$ROW.document_no}{$ROW.showType}{$ROW.register_date|date_format:"%d.%m.%Y"}{if $ROW.pdf_type == 'U'} + {$MOD.LBL_PDF_TYPE_U} + {/if} + {if $ROW.pdf_type == 'K'} + {$MOD.LBL_PDF_TYPE_K} + {/if} + {if $ROW.pdf_type == 'E'} + {$MOD.LBL_PDF_TYPE_E} + {/if} + {$ROW.total_netto|number_format:2:",":"." }{$ROW.total_brutto|number_format:2:",":"." }{$ROW.purchase_price|number_format:2:",":"." }{$ROW.margin|number_format:2:",":"." } ({$ROW.marginInPercent|number_format:2:",":"."}%)
                  + diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportBuyesByVat.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportBuyesByVat.tpl new file mode 100755 index 00000000..6c31bf00 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportBuyesByVat.tpl @@ -0,0 +1,408 @@ +{literal} + + + + + + + + {/literal} +
                  + + + + + + + + + + + + + +
                  {$MOD.LBL_REPORT_RECEIVE_REGISTER}
                  SAAS-SYSTEMS
                  Data wygenerowania: {$current_date_formatted}
                  Rejestr od: {$date_from} do: {$date_to}
                  +
                  + {literal} +
                  + + + + + + + +
                  {DATE j.m.Y}{PAGENO}/{nbpg}Rejestr zakupu
                  +
                  + + + + + + +
                  SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
                  +
                  + {/literal} +
                  + + {foreach from=$dataPart key=klucz item=data name=data} + + + + + + + + + + + {foreach from= $vat_value key= t item= w} + + {if $w.sumavat != NULL} + + {/if} + {/foreach} + + + + + + {foreach from= $data key= k item= i} + + + + + + + + + + + + {foreach from=$vat_value key=o item=j} + {assign var=prawdafalsz value=false} + {foreach from=$i.vaty item = e} + {if $o == $e.vat_value} + {assign var=prawdafalsz value=true} + {assign var=prawdafalszvat value=$e.vat} + {assign var=prawdafalsznetto value=$e.netto} + {/if} + {/foreach} + {if $prawdafalsz == true } + + {if $j.sumavat != NULL} + + {/if} + {else} + + {if $j.sumavat != NULL} + + {/if} + {/if} + {/foreach} + + + {/foreach} + + + + + + {foreach from=$pageVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + + + + + + {if $klucz>0} + {assign var='dupa' value=$klucz-1} + {foreach from=$partialVatSum[$dupa] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + {else} + + {foreach from=$partialVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + {/if} + + + + + + + + + {foreach from=$partialVatSum[$klucz] key =vatName item=vatValue} + + {if $vatValue.vat != 'null' || $vatValue.vat=='0'} + + {/if} + {/foreach} + + + + +
                  Lp{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_SALES_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_BUYER_VALUE_BRUTTO}{$MOD.LBL_BUYER_VALUE_NETTO} {$t}{$MOD.LBL_VAT} {$t}{$MOD.LBL_SUM_VAT}
                  {$k} {$i.document_number}{$i.document_date|date_format:"%d.%m.%Y"}{$i.register_date|date_format:"%d.%m.%Y"}{$i.to_vatid}{$i.name}{$i.value|number_format:2:",":"."}{$prawdafalsznetto|number_format:2:",":"."}{$prawdafalszvat|number_format:2:",":"."}0,000,00{$i.vatsumapozycja|number_format:2:",":"."}
                  {$MOD.LBL_PAGE_SUM}{$pageBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}{$pageBruttoVat[$klucz].vat|number_format:2:",":"."}
                  {$MOD.LBL_TRANSFER_SUM}{$partialBruttoVat[$klucz].brutto-$pageBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}0,000,00{$partialBruttoVat[$klucz].vat-$pageBruttoVat[$klucz].vat|number_format:2:",":"."}
                  {$MOD.LBL_VALUE}{$partialBruttoVat[$klucz].brutto|number_format:2:",":"."}{$vatValue.netto|number_format:2:",":"."}{$vatValue.vat|number_format:2:",":"."}{$partialBruttoVat[$klucz].vat|number_format:2:",":"."}
                  + {if !$smarty.foreach.data.last} + + {/if} + {/foreach} + +
                  + + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCards.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCards.tpl new file mode 100755 index 00000000..3140c1fa --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCards.tpl @@ -0,0 +1,46 @@ + +

                  {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_ECMWORKCARDS}

                  + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + {foreach from=$rekord.actions item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + + + + + + + + + +
                  {$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRODUCT_CODE}{$MOD.LBL_PRODUCTS}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
                  {$rekord.work_name}{$rekord.netto}{$rekord.brutto}
                  {$czynnosc.actioncode}{$czynnosc.actionname}{$czynnosc.quantity}{$czynnosc.productcode}{$czynnosc.productname}{$czynnosc.netto}{$czynnosc.brutto}
                  {$MOD.LBL_SUM}{$suma.netto}{$suma.brutto}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl new file mode 100755 index 00000000..dec739b1 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportEcmWorkCardsEcmProduct.tpl @@ -0,0 +1,49 @@ + +

                  {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_ECMWORKCARDS_PRODUCTS}

                  + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + + {foreach from=$rekord.actions key=klucz item=pracownik} + {foreach from=$pracownik item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + {/foreach} + + + + + + + + + +
                  {$MOD.LBL_PRODUCTS}{$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PW_QUANTITY}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
                  {$rekord.code} {$rekord.name}{$rekord.pw}{$rekord.netto|number_format:2:",":"."}{$rekord.brutto|number_format:2:",":"."}
                  {$klucz}{$czynnosc.actioncode}{$czynnosc.actionname}{$czynnosc.quantity}{$rekord.pw}{$czynnosc.netto|number_format:2:",":"."}{$czynnosc.brutto|number_format:2:",":"."}
                  {$MOD.LBL_SUM}{$suma.netto|number_format:2:",":"."}{$suma.brutto|number_format:2:",":"."}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockDocMoves.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockDocMoves.tpl new file mode 100755 index 00000000..c49344ad --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockDocMoves.tpl @@ -0,0 +1,113 @@ + +{if $viewSelected eq 'documents'} + + + + + + + + + + + + + + {foreach from=$DATA.doc key="key" item="item" name=loop} + + + + + + + + + + + {/foreach} + + + + + + + + +
                  Lp.Numer dokumentuData + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + Kartoteka materiałowa + {elseif $documentSelected eq 'EcmStockDocMoves'} + Magazyn docelowy + {elseif $documentSelected eq 'EcmStockDocIns'} + Dostawca + {elseif $documentSelected eq 'EcmStockDocOuts'} + Odbiorca + {elseif $documentSelected eq 'EcmInvoiceOuts'} + Kontrahent + {/if} + Opis dokumentuWartośćMagazyn
                  {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.typ} {$item.numer} + + {$item.data} + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + {$item.kartoteka} + {elseif $documentSelected eq 'EcmStockDocMoves'} + {$item.magazynIn} + {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } + {$item.accountNazwa} + {/if} + + {$item.nazwa} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} + + {$item.magazyn} +
                  Suma:{$suma|number_format:2:",":"." }
                  +{elseif $viewSelected eq 'positions'} + + + + + + + + + + + + + {foreach from=$DATA.prod key="key" item="item" name=loop} + + + + + + + + + {/foreach} + + + + + + + + +
                  Lp.IndeksNazwaJmIlośćWartość
                  {assign var=pozycja value=$pozycja+1}{$pozycja} + {$item.kod} + + {$item.nazwa} + + {$item.jm} + + {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} + {$item.ilosc|number_format:2:",":"."} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} +
                  Suma:{$sumaIlosci|number_format:2:",":"." }{$suma|number_format:2:",":"." }
                  +{/if} diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockNewDoc.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockNewDoc.tpl new file mode 100755 index 00000000..94e83bf7 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStockNewDoc.tpl @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + + + + + + + + + + + + {assign var="number" value=$number+1} + + + + + + + + + + + + + + +{/foreach} + + + +
                  L.p.{$MOD.LBL_INDEX}/{$MOD.LBL_NAME}Stan {$date_from}PrzychdRozchdStan {$date_to}
                  {$number}{$item.product_code}
                  {$item.product_name}
                  {$item.total_quantity_old|number_format:2:",":"." } {$item.unit_id}
                  {$item.total_price_old|number_format:2:",":"." }
                  {$item.przychod_q|number_format:2:",":"." } {$item.unit_id}
                  {$item.przychod_w|number_format:2:",":"." }
                  {$item.rozchod_q|number_format:2:",":"." } {$item.unit_id}
                  {$item.rozchod_w|number_format:2:",":"." }
                  {$item.total_quantity_now|number_format:2:",":"." } {$item.unit_id}
                  {$item.total_price_now|number_format:2:",":"." }
                  Razem ilo:{$TOTAL_QUANTITY_OLD|number_format:2:",":"." }{$przychod_q|number_format:2:",":"." } + {$rozchod_q|number_format:2:",":"." }{$TOTAL_QUANTITY_NOW|number_format:2:",":"." }
                  Razem warto:{$TOTAL_VALUE_OLD|number_format:2:",":"." }{$przychod_w|number_format:2:",":"." } + {$rozchod_w|number_format:2:",":"." }{$TOTAL_VALUE_NOW|number_format:2:",":"." }
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStocksDoc.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStocksDoc.tpl new file mode 100755 index 00000000..280a0fbb --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/ReportStocksDoc.tpl @@ -0,0 +1,308 @@ + + + + + + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + +{foreach from=$DATA key="key" item="item" name=loop} + + + {if $item.add|@count>1} + {assign var="rowspan" value=$item.add|@count} + {assign var="rowspanadd" value=1} + {assign var="currow" value=$rowspan+$rowspanadd} + {else} + {assign var="currow" value=1} + {/if} + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + {if $item.add|@count>1} + {foreach from=$item.add key="kis" item="position" name=loop} + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + {/foreach} + + {/if} +{/foreach} + + +
                  {$MOD.LBL_INDEX}{$MOD.LBL_NAME}{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CONSIGNMENTS}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRICE}{$MOD.LBL_VALUE}
                  {$item.product_code}{$item.product_name}{$item.parent_type} {$item.parent_name}{$item.part_no}{$item.total_quantity|number_format:2:",":"." } {$item.unit_id}{$item.price|number_format:2:",":"." }{$item.total_price|number_format:2:",":"." }
                  {$position.parent_type} {$position.parent_name}{$position.part_no}{$position.quantity|number_format:2:",":"." }{$position.price|number_format:2:",":"." }{$position.position_value|number_format:2:",":"." }
                  Razem:{$TOTAL_QUANTITY|number_format:2:",":"." }{$TOTAL_VALUE|number_format:2:",":"." }
                  + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/VatSalesRegister.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/VatSalesRegister.tpl new file mode 100755 index 00000000..ddf8961b --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/VatSalesRegister.tpl @@ -0,0 +1,411 @@ +{literal} + + + + + + +{/literal} +
                  + + + + + + + + + + + + + + + + +
                  Rejestr sprzedaży VAT
                  SAAS-SYSTEMS
                  Data wygenerowania: {$current_date_formatted}
                  Rejestr od {$date_from_formatted} do {$date_to_formatted}
                  Typ dokumentu: {$searchByType|upper}
                  +
                  +{literal} +
                  + + + + + + + +
                  {DATE j.m.Y}{PAGENO}/{nbpg}Rejestr sprzedaży VAT
                  +
                  + + + + + + +
                  SAAS-SYSTEMS{PAGENO}/{nbpg}{DATE j-m-Y}
                  +
                  +{/literal} +
                  +{assign var=position value=1} +{foreach from=$DATA item=PART name=part"} +{assign var=dataCount value=$DATA|@count} + + + + + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 } {/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 } {/if} + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + {if $smarty.foreach.part.index == $dataCount-1 } + + + + {/if} + + + {foreach from=$PART key=key item=ROW name=loop} + {assign var=partCount value=$PART|@count} + {if $smarty.foreach.loop.index != $partCount-1 and $smarty.foreach.loop.index != $partCount-2 } + + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + {assign var=position value=$position+1} + {/if} + {/foreach} + +
                  Lp.{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_CONTRACTOR_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_ADDRESS}{$MOD.LBL_GROSS_SALES}{$MOD.LBL_NET_SALES} 7%{$MOD.LBL_VAT} 7%{$MOD.LBL_NET_SALES} 8%{$MOD.LBL_VAT} 8%{$MOD.LBL_NET_SALES} 22%{$MOD.LBL_VAT} 22%{$MOD.LBL_NET_SALES} 23%{$MOD.LBL_VAT} 23%{$MOD.LBL_NET_SALES} 0%{$MOD.LBL_SUM_VAT}
                  Suma strony{ $PART.partSum.brutto|number_format:2:",":"." }{ $PART.partSum.netto7|number_format:2:",":"." }{ $PART.partSum.vat7|number_format:2:",":"." }{ $PART.partSum.netto8|number_format:2:",":"." }{ $PART.partSum.vat8|number_format:2:",":"." }{ $PART.partSum.netto22|number_format:2:",":"." }{ $PART.partSum.vat22|number_format:2:",":"." }{ $PART.partSum.netto23|number_format:2:",":"." }{ $PART.partSum.vat23|number_format:2:",":"." }{ $PART.partSum.netto0|number_format:2:",":"." }{ $PART.partSum.vat|number_format:2:",":"." }
                  Suma z przeniesienia:{ $PART.transferSum.brutto|number_format:2:",":"." }{ $PART.transferSum.netto7|number_format:2:",":"." }{ $PART.transferSum.vat7|number_format:2:",":"." }{ $PART.transferSum.netto8|number_format:2:",":"." }{ $PART.transferSum.vat8|number_format:2:",":"." }{ $PART.transferSum.netto22|number_format:2:",":"." }{ $PART.transferSum.vat22|number_format:2:",":"." }{ $PART.transferSum.netto23|number_format:2:",":"." }{ $PART.transferSum.vat23|number_format:2:",":"." }{ $PART.transferSum.netto0|number_format:2:",":"." }{ $PART.transferSum.vat|number_format:2:",":"." }
                  Suma razem:{ $PART.partSum.brutto+$PART.transferSum.brutto|number_format:2:",":"." }{ $PART.partSum.netto7+$PART.transferSum.netto7|number_format:2:",":"." }{ $PART.partSum.vat7+$PART.transferSum.vat7|number_format:2:",":"." }{ $PART.partSum.netto8+$PART.transferSum.netto8|number_format:2:",":"." }{ $PART.partSum.vat8+$PART.transferSum.vat8|number_format:2:",":"." }{ $PART.partSum.netto22+$PART.transferSum.netto22|number_format:2:",":"." }{ $PART.partSum.vat22+$PART.transferSum.vat22|number_format:2:",":"." }{ $PART.partSum.netto23+$PART.transferSum.netto23|number_format:2:",":"." }{ $PART.partSum.vat23+$PART.transferSum.vat23|number_format:2:",":"." }{ $PART.partSum.netto0+$PART.transferSum.netto0|number_format:2:",":"." }{ $PART.partSum.vat+$PART.transferSum.vat|number_format:2:",":"." }
                  Koniec wydruku
                  {$position}{$ROW.document_no }{$ROW.register_date}{$ROW.sell_date }{$ROW.account.to_vatid}{$ROW.account.name}{$ROW.account.register_address_postalcode} {$ROW.account.register_address_city}{$ROW.total_brutto|number_format:2:",":"."}{$ROW.netto7|number_format:2:",":"."}{$ROW.vat7|number_format:2:",":"."}{$ROW.netto8|number_format:2:",":"."}{$ROW.vat8|number_format:2:",":"."}{$ROW.netto22|number_format:2:",":"."}{$ROW.vat22|number_format:2:",":"."}{$ROW.netto23|number_format:2:",":"."}{$ROW.vat23|number_format:2:",":"."}{$ROW.netto0|number_format:2:",":"."}{$ROW.netto23*0.23|number_format:2:",":"."}
                  + {if $smarty.foreach.part.index != $dataCount-1 } + + {/if} + +{/foreach} +
                  + + + + + + + diff --git a/modules/EcmReportsBackUp20151106/tpls/PDF/kpkwReport.tpl b/modules/EcmReportsBackUp20151106/tpls/PDF/kpkwReport.tpl new file mode 100755 index 00000000..45170a32 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/PDF/kpkwReport.tpl @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + {foreach from=$DATA item=poz key=CATNAME name=loop} + {if $poz.type_id!=''} + + + + + + + + + {assign var="i" value=$poz.number} + {/if} + {/foreach} + {assign var="currow" value=$poz.number+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + +
                  {$MOD.LBL_NUMBER_LP}{$MOD.LBL_DOCUMENT_NO}
                  {$MOD.LBL_CREATE_LAB}
                  {$MOD.LBL_TITLE}{$MOD.LBL_PARENT_NAME}{$MOD.LBL_AMOUNT_PLUS}{$MOD.LBL_AMOUNT_MINUS}
                  {$poz.number} + + + + + + + +
                  {$poz.document_no}
                  {$poz.date_entered|date_format:"%d.%m.%Y"}
                  +
                  {$poz.description}{$poz.parent_name}{if $poz.type_id==0} {$poz.amount|number_format:2:",":"."} {else}  {/if}{if $poz.type_id==1} {$poz.amount|number_format:2:",":"."} {else}  {/if} +
                   {$MOD.LBL_VALUE}{$DATA.in|number_format:2:",":"."}{$DATA.out|number_format:2:",":"."}
                   {$MOD.LBL_VALUE_BEFORE}:{$CASH_BEFORE|number_format:2:",":"."}
                   {$MOD.LBL_VALUE_TOTAL}:{$CASH_NOW|number_format:2:",":"."}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/QuickCreate.tpl b/modules/EcmReportsBackUp20151106/tpls/QuickCreate.tpl new file mode 100755 index 00000000..627ef405 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
                  + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                  + + +
                  + + + + + + + + + + + + + + + + + + + + +

                  {$MOD.LBL_ECMREPORT_INFORMATION}

                  {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                  {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                  {$MOD.LBL_STATUS}
                  + + diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportAcceptance.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportAcceptance.tpl new file mode 100755 index 00000000..167dc77b --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportAcceptance.tpl @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_ACCEPTANCE}

                  +
                  + +
                  + + +
                  + + + + + + {* Search by date_from *} + + + + + + + + + {* Search by date_to *} + + + + + +
                  Data od + + Enter Date + + Nazwa Dokumentu: + + Status: + {html_options name=status options=$statusy selected=$status} +
                  Data do + + Enter Date + + Kategoria: + +
                  +
                  + + + + +
                  + + + + + + + + + + + + + + + + {foreach from=$DATA item=i} + + + + + + + + + + + {/foreach} + + + + + + + + + + + + + + +
                  Opis{$MOD.LBL_REPORT_ACCEPTANCE_DOCNAME}{$MOD.LBL_DATE_CREATED}{$MOD.LBL_REPORT_ACCEPTANCE_DOCDATE}{$MOD.LBL_REPORT_ACCEPTANCE_CATEGORY}{$MOD.LBL_REPORT_ACCEPTANCE_DES}{$MOD.LBL_VALUE}
                  + {if $i.docreport == 1} + + {else} + brak + {/if} + {$i.docname}{$i.docdateentered}{$i.docdate}{$i.doccategory}{$i.docdes}{$i.docwartosc}
                  Suma:{$SUMA}
                  + \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportBuyesByVat.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportBuyesByVat.tpl new file mode 100755 index 00000000..6c976261 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportBuyesByVat.tpl @@ -0,0 +1,198 @@ + + + + + + + +{**} + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT} {$MOD.LBL_REPORT_RECEIVE_REGISTER}

                  +
                  + +
                  + + + +
                  + + + + + + + + + + +
                  {$MOD.LBL_DATE_FROM} + + Enter Date + + {$MOD.LBL_DATE_TO} + + Enter Date + + Kategoria dokumentu + +
                  +
                  + + + + + + + + + + + + + + + + + {foreach from= $vat_value key= t item= w} + + {if $w.sumavat != NULL} + + {/if} + {/foreach} + + + + + + {foreach from= $data key= k item= i} + + + + + + + + + + + + {foreach from=$vat_value key=o item=j} + {assign var=prawdafalsz value=false} + {foreach from=$i.vaty item = e} + {if $o == $e.vat_value} + {assign var=prawdafalsz value=true} + {assign var=prawdafalszvat value=$e.vat} + {assign var=prawdafalsznetto value=$e.netto} + {/if} + {/foreach} + {if $prawdafalsz == true } + + {if $j.sumavat != NULL} + + {/if} + {else} + + {if $j.sumavat != NULL} + + {/if} + {/if} + {/foreach} + + + {/foreach} + + + + + + + + + + {foreach from=$vat_value key =o item=j} + + {if $j.sumavat != NULL} + + {/if} + {/foreach} + + + + +
                  {$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_SALES_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_ADDRESS}{$MOD.LBL_BUYER_VALUE_BRUTTO}{$MOD.LBL_BUYER_VALUE_NETTO} {$t}{$MOD.LBL_VAT} {$t}{$MOD.LBL_SUM_VAT}
                  {$i.document_number}{$i.document_date|date_format:"%d.%m.%Y"}{$i.register_date|date_format:"%d.%m.%Y"}{$i.to_vatid}{$i.name}{$i.register_address_postalcode} {$i.register_address_city}{$i.value|number_format:2:",":"."}{$prawdafalsznetto|number_format:2:",":"."}{$prawdafalszvat|number_format:2:",":"."}0,000,00{$i.vatsumapozycja|number_format:2:",":"."}
                  {$MOD.LBL_SUM}{$SumaBrutto|number_format:2:",":"."}{$j.sumanetto|number_format:2:",":"."}{$j.sumavat|number_format:2:",":"."}{$SumaVat|number_format:2:",":"."}
                  diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportEcmProduct_EcmActions.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportEcmProduct_EcmActions.tpl new file mode 100755 index 00000000..3d5a39ee --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportEcmProduct_EcmActions.tpl @@ -0,0 +1,162 @@ + + + + + + + +{**} + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_ECMWORKCARDS}

                  +
                  + +
                  + + + +
                  + + + + + + + + +
                  {$MOD.LBL_DATE_FROM} + + Enter Date + + {$MOD.LBL_DATE_TO} + + Enter Date + +
                  +
                  + + + + + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + + + + + {foreach from=$rekord.actions item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + + + + + + + + + + + + + +
                  {$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRODUCT_CODE}{$MOD.LBL_PRODUCTS}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
                  [+] {$rekord.work_name}{$rekord.netto} {$rekord.brutto}
                  {$MOD.LBL_SUM}{$suma.netto}{$suma.brutto}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCards.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCards.tpl new file mode 100755 index 00000000..ae1138ee --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCards.tpl @@ -0,0 +1,163 @@ + + + + + + + +{**} + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_ECMWORKCARDS}

                  +
                  + +
                  + + + +
                  + + + + + + + + +
                  {$MOD.LBL_DATE_FROM} + + Enter Date + + {$MOD.LBL_DATE_TO} + + Enter Date + +
                  +
                  + + + + + + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + + + + + {foreach from=$rekord.actions item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + + + + + + + + + + + + + +
                  {$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRODUCT_CODE}{$MOD.LBL_PRODUCTS}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
                  [+] {$rekord.work_name}{$rekord.netto} {$rekord.brutto}
                  {$MOD.LBL_SUM}{$suma.netto}{$suma.brutto}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCardsEcmProduct.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCardsEcmProduct.tpl new file mode 100755 index 00000000..7c0a8e3c --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportEcmWorkCardsEcmProduct.tpl @@ -0,0 +1,158 @@ + + + + + + + +{**} + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_ECMWORKCARDS_PRODUCTS}

                  +
                  + +
                  + + + +
                  + + + + + + + + +
                  {$MOD.LBL_DATE_FROM} + + Enter Date + + {$MOD.LBL_DATE_TO} + + Enter Date + +
                  +
                  + + + + + + + + + + + + + + + + + + + + {foreach from=$data item=rekord key=kl} + + + + + + + + {foreach from=$rekord.actions key=klucz item=pracownik} + {foreach from=$pracownik item=czynnosc} + + + + + + + + + + + {/foreach} + {/foreach} + {/foreach} + + + + + + + + + +
                  {$MOD.LBL_PRODUCTS}{$MOD.LBL_WORKER_NAME}{$MOD.LBL_ACTION_CODE}{$MOD.LBL_ACTION}{$MOD.LBL_QUANTITY}{$MOD.LBL_PW_QUANTITY}{$MOD.LBL_SUM_NETTO}{$MOD.LBL_SUM_BRUTTO}
                  [+] {$rekord.code} {$rekord.name}{$rekord.pw}{$rekord.netto|number_format:2:",":"."}{$rekord.brutto|number_format:2:",":"."}
                  {$klucz}{$czynnosc.actioncode}{$czynnosc.actionname}{$czynnosc.quantity}{$rekord.pw}{$czynnosc.netto|number_format:2:",":"."}{$czynnosc.brutto|number_format:2:",":"."}
                  {$MOD.LBL_SUM}{$suma.netto|number_format:2:",":"."}{$suma.brutto|number_format:2:",":"."}
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportSales.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportSales.tpl new file mode 100755 index 00000000..2236df42 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportSales.tpl @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_RAPORT_SALES}

                  +
                  + +
                  + + +
                  + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + + + + {* Open popup window to select contractor *} + + + + + + + + + + + + + +
                  Data od + + Enter Date + + Data do + + Enter Date + + {$MOD.LBL_GORUP_BY} + + Typ dokumentu + + Handlowiec + + Grupa księgowa + +
                  + + + + + + +
                  +
                  + + + + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + {if $searchBy=="none"} + + + {/if} + + +{foreach from=$DATA item=CAT key=CATNAME name=loop} + {* Table headers *} + + + {if $CATNAME != ""} + + {/if} + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + {if $searchBy=="none"} + + + {/if} + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + {if $searchBy=="product"} + + {/if} + + + {**} + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + {if $searchBy=="contractor"} + + + {else} + + {/if} + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + +{/foreach} + + + + {if $searchBy=="product"} + + {/if} + + + {* *} + + + + + +
                  {$MOD.LBL_PRODUCTS}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}Wartość sprzedaży bez korekt{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}{$MOD.LBL_STOCK_STATES}{$MOD.LBL_STOCK_VALUE}
                  [+] {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SoldSumNormal|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%{$DATA.$CATNAME.StanSum|number_format:0:",":"." }{$DATA.$CATNAME.WartoscSum|number_format:2:",":"." }
                  [+] {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum2|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.SoldSumNormal2|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum2|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum2|number_format:2:",":"." }%
                  + {if $CAT2NAME!="Reszta"} + + {/if} + {$ROW.name} + + + + {$ROW.name} + + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.nettoNormal|number_format:2:",":"." }{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
                  {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SoldSumSumNormal|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
                  + + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractor.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractor.tpl new file mode 100755 index 00000000..42157875 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractor.tpl @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_SALES_BY_CONTRACTORS}

                  +
                  + +
                  + +
                    +
                  + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + {* Search by contractor *} + + + {if $submit eq "Wykonaj"} + + + + + + + + + + {else} + + + + + + + + + {/if} + + +
                  Data od + + Enter Date + + Data do + + Enter Date + + {$MOD.LBL_CONTRACTOR} + + + + + {* Open popup window to select contractor *} + + Kategoria dokumentu + + Typ dokumentu + + Rodzaj dokumentu: + + Kategoria dokumentu + + Typ dokumentu + + Rodzaj dokumentu: + +
                  + + + + + + + + + + + + + + + + + + +{foreach from=$ContractorData item=DATA key=CONNAME name=loop} + {if $CONNAME!=""} + + + + + + + + + + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {if $CATNAME!="IloscSum" && $CATNAME!="SoldSum" && $CATNAME!="SredniaSum" && $CATNAME!="KosztSum" && $CATNAME!="MarzaSum" && $CATNAME!="StanSum" && $CATNAME!="WartoscSum"} + + + + + + + + + + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + + + + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/if} + {/foreach} + + {/if} +{/foreach} + + + + + + + + + + + +
                  {$MOD.LBL_CONTRACTOR}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
                  [+] {$CONNAME}{$ContractorData.$CONNAME.IloscSum|number_format:0:",":"." }{$ContractorData.$CONNAME.SoldSum|number_format:2:",":"." }{$ContractorData.$CONNAME.SredniaSum|number_format:2:",":"." }{$ContractorData.$CONNAME.KosztSum|number_format:2:",":"." }{$ContractorData.$CONNAME.MarzaSum|number_format:2:",":"." }%
                  [+] {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%
                  [+] {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum|number_format:2:",":"." }%
                  + {$ROW.name} + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
                  {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
                  diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractorCopy.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractorCopy.tpl new file mode 100755 index 00000000..37e8c1ad --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportSalesByContractorCopy.tpl @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_RAPORT_SALES_BY_CONTRACTOR}

                  +
                  + +
                  + + + + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + + + + + + +
                  Data od + + Enter Date + + Data do + + Enter Date + + Typ dokumentu + + Handlowiec + + + Grupuj "Media Saturn Holding" +
                  + + + + + +
                  +
                  + + + + + + + + + + + + + + +{foreach from=$ContractorData item=DATA key=CONNAME name=loop} + {if $CONNAME!=""} + + + + + + + + + + + + {foreach from=$DATA item=CAT key=CATNAME name=loop} + {if $CATNAME!="IloscSum" && $CATNAME!="SoldSum" && $CATNAME!="SredniaSum" && $CATNAME!="KosztSum" && $CATNAME!="MarzaSum" && $CATNAME!="StanSum" && $CATNAME!="WartoscSum"} + + + + + + + + + + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="IloscSum" && $CAT2NAME!="SoldSum" && $CAT2NAME!="SoldSumNormal" && $CAT2NAME!="IloscNormal" && $CAT2NAME!="SredniaSum" && $CAT2NAME!="KosztSum" && $CAT2NAME!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum"} + + + + + + + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $ROW.name!="IloscSum" && $ROW.name!="SoldSum" && $ROW.name!="SredniaSum" && $ROW.name!="KosztSum" && $ROW.name!="MarzaSum" && $CAT2NAME!="StanSum" && $CAT2NAME!="WartoscSum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + + {/if} + {/foreach} + + {/if} +{/foreach} + + + + + + + + + + + +
                  {$MOD.LBL_CONTRACTOR}Indeks{$MOD.LBL_SOLD_AMOUNT}{$MOD.LBL_VALUE_SALES}{$MOD.LBL_AVERAGE_PRICE}{$MOD.LBL_COST}{$MOD.LBL_MARGIN}
                  [+] {$CONNAME}{$ContractorData.$CONNAME.IloscSum|number_format:0:",":"." }{$ContractorData.$CONNAME.SoldSum|number_format:2:",":"." }{$ContractorData.$CONNAME.SredniaSum|number_format:2:",":"." }{$ContractorData.$CONNAME.KosztSum|number_format:2:",":"." }{$ContractorData.$CONNAME.MarzaSum|number_format:2:",":"." }%
                  [+] {$CATNAME}{$DATA.$CATNAME.IloscSum|number_format:0:",":"." }{$DATA.$CATNAME.SoldSum|number_format:2:",":"." }{$DATA.$CATNAME.SredniaSum|number_format:2:",":"." }{$DATA.$CATNAME.KosztSum|number_format:2:",":"." }{$DATA.$CATNAME.MarzaSum|number_format:2:",":"." }%
                  [+] {$CAT2NAME}{$CAT.$CAT2NAME.IloscSum|number_format:0:",":"." }{$CAT.$CAT2NAME.SoldSum|number_format:2:",":"." }{$CAT.$CAT2NAME.SredniaSum|number_format:2:",":"." }{$CAT.$CAT2NAME.KosztSum|number_format:2:",":"." }{$CAT.$CAT2NAME.MarzaSum|number_format:2:",":"." }%
                  + {$ROW.name} + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
                  {$MOD.LBL_SUM}:{$SUM.IloscSumSum|number_format:0:",":"." }{$SUM.SoldSumSum|number_format:2:",":"." }{$SUM.SredniaSumSum|number_format:2:",":"." }{$SUM.KosztSumSum|number_format:2:",":"." }{$SUM.MarzaSumSum|number_format:2:",":"." }%
                  + + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportStockByStockIndexes.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportStockByStockIndexes.tpl new file mode 100755 index 00000000..3eecb930 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportStockByStockIndexes.tpl @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  Ruch magazynowy z podziałem na kartoteki materiałowe

                  +
                  + +
                  + + + + + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_STOCK} + + Rodzaj dokumentu + +
                  Data od + + Enter Date + + Data do + + Enter Date + +
                  + + + + + + + +
                  +
                  + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + {foreach from=$item key="key2" item="item2" name=loop} + + + + + + + + + {/foreach} +{/foreach} + + + + + + + +
                  Stan początkowy:{$TOTAL_VALUE_OLD|number_format:2:",":"." }
                  {$doc_name.$key2} { if $key==0}(+){else}(-){/if}{$item2|number_format:2:",":"."}
                  Stan końcowy:{$TOTAL_VALUE_NOW|number_format:2:",":"." }
                  + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportStockDocMoves.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportStockDocMoves.tpl new file mode 100755 index 00000000..30daa868 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportStockDocMoves.tpl @@ -0,0 +1,333 @@ + + + + + + + +{* *} + + + + + + + + + + + + +
                  + EcmProducts + +

                  Obroty wg dokumentów

                  +
                  +
                  + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_STOCK} + + + + Dokument + {html_options name=documentsSelected options=$documentList selected=$documentSelected} + + Widok: + {html_options name=viewSelected options=$viewList selected=$viewSelected} + + + Kartoteka materiałowa + + + + Do magazynu + + + + {$MOD.LBL_CONTRACTOR} + + + + + +
                  + Data od + + Enter Date + + + Data do + + Enter Date + +
                  + + + +
                  +
                  +
                  + {if $viewSelected eq 'documents'} + + + + + + + + + + + + + {foreach from=$DATA.doc key="key" item="item" name=loop} + + + + + + + + + + {/foreach} + + + + + + + + +
                  Numer dokumentuData + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + Kartoteka materiałowa + {elseif $documentSelected eq 'EcmStockDocMoves'} + Magazyn docelowy + {elseif $documentSelected eq 'EcmStockDocIns'} + Dostawca + {elseif $documentSelected eq 'EcmStockDocOuts'} + Odbiorca + {elseif $documentSelected eq 'EcmInvoiceOuts'} + Kontrahent + {/if} + Opis dokumentuWartośćMagazyn
                  + {$item.typ} {$item.numer} + + {$item.data} + + {if $documentSelected eq 'EcmStockDocInsideOuts' or $documentSelected eq 'EcmStockDocInsideIns' or $documentSelected eq 'EcmStockDocCorrects'} + {$item.kartoteka} + {elseif $documentSelected eq 'EcmStockDocMoves'} + {$item.magazynIn} + {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } + {$item.accountNazwa} + {/if} + + + {$item.nazwa} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} + + {$item.magazyn} +
                  Suma:{$suma|number_format:2:",":"." }
                  + {elseif $viewSelected eq 'positions'} + + + + + + + + + + + + {foreach from=$DATA.prod key="key" item="item" name=loop} + + + + + + + + {/foreach} + + + + + + + + +
                  IndeksNazwaJmIlośćWartość
                  + {$item.kod} + + {$item.nazwa} + + {$item.jm} + + {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} + {$item.ilosc|number_format:2:",":"."} + + {assign var=suma value=$suma+$item.wartosc} + {$item.wartosc|number_format:2:",":"."} +
                  Suma:{$sumaIlosci|number_format:2:",":"." }{$suma|number_format:2:",":"." }
                  + {/if} + Strona w budowie :) +
                  diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportStockNewDoc.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportStockNewDoc.tpl new file mode 100755 index 00000000..1cdcb901 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportStockNewDoc.tpl @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_STOCKS} za okres

                  +
                  + +
                  + + +
                  + + + + + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + +
                  Data od + + Enter Date + + Data do + + Enter Date + +
                  + + + + + + + +
                  +
                  + + + + + + + + + + + + + + + {assign var="number" value=1} +{foreach from=$DATA key="key" item="item" name=loop} + + + + + + + + + + + + {assign var="number" value=$number+1} + + + + + + + + + + + + + + +{/foreach} + + + +
                  L.p.{$MOD.LBL_INDEX}/{$MOD.LBL_NAME}Stan {$date_from}PrzychódRozchódStan {$date_to}
                  {$number}{$item.product_code}
                  {$item.product_name}
                  {$item.total_quantity_old|number_format:2:",":"." } {$item.unit_id}
                  {$item.total_price_old|number_format:2:",":"." }
                  {$item.przychod_q|number_format:2:",":"." } {$item.unit_id}
                  {$item.przychod_w|number_format:2:",":"." }
                  {$item.rozchod_q|number_format:2:",":"." } {$item.unit_id}
                  {$item.rozchod_w|number_format:2:",":"." }
                  {$item.total_quantity_now|number_format:2:",":"." } {$item.unit_id}
                  {$item.total_price_now|number_format:2:",":"." }
                  Razem ilość:{$TOTAL_QUANTITY_OLD|number_format:2:",":"." }{$przychod_q|number_format:2:",":"." } + {$rozchod_q|number_format:2:",":"." }{$TOTAL_QUANTITY_NOW|number_format:2:",":"." }
                  Razem wartość:{$TOTAL_VALUE_OLD|number_format:2:",":"." }{$przychod_w|number_format:2:",":"." } + {$rozchod_w|number_format:2:",":"." }{$TOTAL_VALUE_NOW|number_format:2:",":"." }
                  + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportStocks.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportStocks.tpl new file mode 100755 index 00000000..019a1a3f --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportStocks.tpl @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_STOCKS}

                  +
                  + +
                  + + + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + + End of line + +
                  + + + + + + +
                  +
                  + + + + + + + + + + + +{foreach from=$DATA item=CAT key=CATNAME name=loop} + {* Table headers *} + + + {if $CATNAME != ""} + + {/if} + + + + + + {foreach from=$CAT item=CAT2 key=CAT2NAME name=loop} + {if $CAT2NAME!="QuantitySum" && $CAT2NAME!="PriceSum"} + + + + + + + + + + + {foreach from=$CAT2 item=ROW name=loop} + {if $CAT2NAME!="AvgPriceSum" && $CAT2NAME!="QuantitySum" && $ROW.name!=""} + {if $smarty.foreach.loop.index % 2 == 1} + + {else} + + {/if} + + + + + + + {/if} + {/foreach} + + + {/if} + {/foreach} + +{/foreach} + + + + + + + + +
                  {$MOD.LBL_PRODUCTS}{$MOD.LBL_INDEX}{$MOD.LBL_QUANTITY}{$MOD.LBL_VALUE}
                  [+] {$CATNAME}{$DATA.$CATNAME.QuantitySum|number_format:4:",":"." }{$DATA.$CATNAME.PriceSum|number_format:2:",":"." }
                  [+] {$CAT2NAME}{$CAT.$CAT2NAME.QuantitySum2|number_format:4:",":"." }{$CAT.$CAT2NAME.PriceSum2|number_format:2:",":"." }
                  + + {$ROW.name} + + {$ROW.code}{$ROW.quantity|number_format:4:",":"."}{$ROW.price|number_format:2:",":"."}
                  {$MOD.LBL_SUM}:{$SUM.QuantitySumSum|number_format:4:",":"." }{$SUM.PriceSumSum|number_format:2:",":"." }
                  +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportStocksDoc.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportStocksDoc.tpl new file mode 100755 index 00000000..82902198 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportStocksDoc.tpl @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_STOCKS}

                  +
                  + +
                  + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_STOCK} + + {$MOD.LBL_PRODUCT_ACTIVE} + +
                  + + + + + + + + +
                  +
                  + + + + + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + +{foreach from=$DATA key="key" item="item" name=loop} + + + {if $item.add|@count>1} + {assign var="rowspan" value=$item.add|@count} + {assign var="rowspanadd" value=1} + {assign var="currow" value=$rowspan*2+$rowspanadd} + {else} + {assign var="currow" value=1} + {/if} + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + {if $item.add|@count>1} + {foreach from=$item.add key="kis" item="position" name=loop} + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + {/foreach} + + {/if} + + + + {if $CONSIGNMENTS==TRUE} + + {/if} + + + + + + + + + +{/foreach} + + {if $CONSIGNMENTS==TRUE}{/if} +
                  {$MOD.LBL_INDEX}{$MOD.LBL_NAME}{$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CONSIGNMENTS}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRICE}{$MOD.LBL_VALUE}
                  {$item.product_code}{$item.product_name}{$item.parent_type} {$item.parent_name} {$item.date_entered|date_format:"%d.%m.%Y"}{$item.part_no}{$item.total_quantity|number_format:2:",":"." } {$item.unit_id}{$item.price|number_format:2:",":"." }{$item.total_price|number_format:2:",":"." }
                  {$position.parent_type} {$position.parent_name} {$position.date_entered|date_format:"%d.%m.%Y"}{$position.part_no}{$position.quantity|number_format:2:",":"." }{$position.price|number_format:2:",":"." }{$position.position_value|number_format:2:",":"." }
                  Razem:{$TOTAL_QUANTITY|number_format:2:",":"." }{$TOTAL_VALUE|number_format:2:",":"." }
                  + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/ReportValue.tpl b/modules/EcmReportsBackUp20151106/tpls/ReportValue.tpl new file mode 100755 index 00000000..3f0ee310 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/ReportValue.tpl @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT_VALUE_NAME}

                  +
                  + +
                  + + + + + + + + + + + + + + +
                  Data od: + + Enter Date + + Data do: + + Enter Date + + +
                  + {$MOD.LBL_COLUMNS_SHOW} + {foreach from=$category key=k item=v} + {if in_array($k,$selectedColumns)} + {$v} + {else} + {$v} + {/if} + {/foreach} + +
                  +
                  + + + + + + + + + + + {foreach from=$category key=k item=v} + {if in_array($k,$selectedColumns)} + + {/if} + {/foreach} + + + + + {foreach from=$data key=rok item=miesiac} + {foreach from=$miesiac key=nazwa item=rekord} + + + {foreach from=$rekord key=kategoria item=wartosc} + + {/foreach} + + {/foreach} + {/foreach} + + + + + {foreach from=$suma item=summa} + + {/foreach} + + +
                  {$MOD.LBL_YEAR_MONTH}{$v}{$MOD.LBL_SUM}
                  {$rok} {$nazwa}{$wartosc}
                  {$MOD.LBL_SUM}{$summa}
                  + +
                  + +
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/VatSalesRegister/index.tpl b/modules/EcmReportsBackUp20151106/tpls/VatSalesRegister/index.tpl new file mode 100755 index 00000000..e0d5d8cd --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/VatSalesRegister/index.tpl @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + +
                  + EcmProducts + +

                  {$MOD.LBL_REPORT} {$MOD.LBL_VAT_SALES_REGISTER}

                  +
                  + +
                  + +
                    + +
                  +
                  + + + + + + + {* Search by date_from *} + + + + + {* Search by date_to *} + + + + + + + + + + + +
                  Data od: + + Enter Date + + Data do: + + Enter Date + + Kategoria dokumentu + + Typ: + + Rodzaj dokumentu: + +
                  + + + + + + +

                  + +{* Table headers *} + + + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 } {/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 } {/if} + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + + + {foreach from=$DATA item=ROW} + + + + + + + + + { if $showNetto7 }{/if} + { if $showNetto7 }{/if} + { if $showNetto8 }{/if} + { if $showNetto8 }{/if} + { if $showNetto22 }{/if} + { if $showNetto22 }{/if} + { if $showNetto23 }{/if} + { if $showNetto23 }{/if} + { if $showNetto0 }{/if} + + + + {/foreach} + +
                  {$MOD.LBL_DOC_NUMBER}{$MOD.LBL_CREATE_LAB}{$MOD.LBL_SALE_DATE}{$MOD.LBL_CONTRACTOR_NIP}{$MOD.LBL_LIST_SUBJECT}{$MOD.LBL_ADDRESS}{$MOD.LBL_GROSS_SALES}{$MOD.LBL_NET_SALES} 7%{$MOD.LBL_VAT} 7%{$MOD.LBL_NET_SALES} 8%{$MOD.LBL_VAT} 8%{$MOD.LBL_NET_SALES} 22%{$MOD.LBL_VAT} 22%{$MOD.LBL_NET_SALES} 23%{$MOD.LBL_VAT} 23%{$MOD.LBL_NET_SALES} 0%{$MOD.LBL_SUM_VAT}{$MOD.LBL_COST_OF}
                  { $totalBruttoSum|number_format:2:",":"." }{ $totalNetto7|number_format:2:",":"." }{ $totalVat7|number_format:2:",":"." }{ $totalNetto8|number_format:2:",":"." }{ $totalVat8|number_format:2:",":"." }{ $totalNetto22|number_format:2:",":"." }{ $totalVat22|number_format:2:",":"." }{ $totalNetto23|number_format:2:",":"." }{ $totalVat23|number_format:2:",":"." }{ $totalNetto0|number_format:2:",":"." }{ $totalVat|number_format:2:",":"." }{ $totalPurchasePrice|number_format:2:",":"."}
                  {$ROW.document_no }{$ROW.register_date}{$ROW.sell_date }{$ROW.account.to_vatid}{$ROW.account.name}{$ROW.account.register_address_postalcode} {$ROW.account.register_address_city}{$ROW.total_brutto|number_format:2:",":"."}{$ROW.netto7|number_format:2:",":"."}{$ROW.vat7|number_format:2:",":"."}{$ROW.netto8|number_format:2:",":"."}{$ROW.vat8|number_format:2:",":"."}{$ROW.netto22|number_format:2:",":"."}{$ROW.vat22|number_format:2:",":"."}{$ROW.netto23|number_format:2:",":"."}{$ROW.vat23|number_format:2:",":"."}{$ROW.netto0|number_format:2:",":"."}{$ROW.total_vat|number_format:2:",":"."}{$ROW.purchase_price|number_format:2:",":"."}
                  + diff --git a/modules/EcmReportsBackUp20151106/tpls/detailContractors.tpl b/modules/EcmReportsBackUp20151106/tpls/detailContractors.tpl new file mode 100755 index 00000000..d02b8e48 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/detailContractors.tpl @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + {foreach from=$data item=ROW name=loop} + + + + + + + + + {/foreach} + +
                  KontrahentSprzedana ilośćWartość sprzedażyŚrednia cenaKosztMarża
                  + + {$ROW.name} + + {$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/detailProducts.tpl b/modules/EcmReportsBackUp20151106/tpls/detailProducts.tpl new file mode 100755 index 00000000..0ce5e383 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/detailProducts.tpl @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + {foreach from=$data item=ROW name=loop} + + + + + + + + + + {/foreach} + +
                  ProduktyIndeksSprzedana ilośćWartość sprzedażyŚrednia cenaKosztMarża
                  + + {$ROW.name} + + {$ROW.code}{$ROW.ilosc|number_format:0:",":"."}{$ROW.netto|number_format:2:",":"."}{$ROW.srednia|number_format:2:",":"."}{$ROW.koszt|number_format:2:",":"."}{$ROW.marza|number_format:2:",":"."}%
                  \ No newline at end of file diff --git a/modules/EcmReportsBackUp20151106/tpls/kpkwReport.tpl b/modules/EcmReportsBackUp20151106/tpls/kpkwReport.tpl new file mode 100755 index 00000000..200c6e06 --- /dev/null +++ b/modules/EcmReportsBackUp20151106/tpls/kpkwReport.tpl @@ -0,0 +1,209 @@ + + + + + + +
                  +

                  {$MOD.LBL_RAPORT_TITLE}

                  +
                  + +
                  + + + + + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_DATE_START} + + + Enter Date + + + {$MOD.LBL_DATE_END} + + + Enter Date + + + {$MOD.LBL_CASH2} + + + + + + + {$MOD.LBL_CASH_USER2} + + +
                  + + + + +
                  + + +

                  {$MOD.LBL_RAPORT_LABEL}
                  {$MOD.LBL_TIME} {$currentFrom} - {$currentTo}
                  + {if $PARAMS.cash_name!=''} {$MOD.LBL_CASH}: {$PARAMS.cash_name}, {$MOD.LBL_CURRENCY_PDF}: {$PARAMS.id_currency}{/if} + {if $PARAMS.kasjer!=''} +
                  {$MOD.LBL_CASH_USER} {$USER_NAME} + {/if} +


                  + + + + + + + + + + + + + {foreach from=$DATA item=poz key=CATNAME name=loop} + {if $poz.type_id!=''} + + + + + + + + + {assign var="i" value=$poz.number} + {/if} + {/foreach} + {assign var="currow" value=$poz.number+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + {assign var="currow" value=$currow+1} + + + + + + + + + +
                  {$MOD.LBL_NUMBER_LP}{$MOD.LBL_DOCUMENT_NO}
                  {$MOD.LBL_CREATE_LAB}
                  {$MOD.LBL_TITLE}{$MOD.LBL_PARENT_NAME}{$MOD.LBL_AMOUNT_PLUS}{$MOD.LBL_AMOUNT_MINUS}
                  {$poz.number} + + + + + + + +
                  {$poz.document_no}
                  {$poz.date_entered|date_format:"%d.%m.%Y"}
                  +
                  {$poz.description}{$poz.parent_name}{if $poz.type_id==0} {$poz.amount|number_format:2:",":"."} {else}  {/if}{if $poz.type_id==1} {$poz.amount|number_format:2:",":"."} {else}  {/if} +
                   {$MOD.LBL_VALUE}{$DATA.in|number_format:2:",":"."}{$DATA.out|number_format:2:",":"."}  +
                   {$MOD.LBL_VALUE_BEFORE}:{$CASH_BEFORE|number_format:2:",":"."}  +
                   {$MOD.LBL_VALUE_TOTAL}:{$CASH_NOW|number_format:2:",":"."}  +
                  \ No newline at end of file diff --git a/modules/EcmResourcess/tpl/EditViewZusDateCharityWork.tpl b/modules/EcmResourcess/tpl/EditViewZusDateCharityWork.tpl new file mode 100755 index 00000000..14a82f90 --- /dev/null +++ b/modules/EcmResourcess/tpl/EditViewZusDateCharityWork.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmResourcess/tpl/EditViewZusDateDiscrepancies.tpl b/modules/EcmResourcess/tpl/EditViewZusDateDiscrepancies.tpl new file mode 100755 index 00000000..866beefd --- /dev/null +++ b/modules/EcmResourcess/tpl/EditViewZusDateDiscrepancies.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmResourcess/tpl/EditViewZusDateEmployment.tpl b/modules/EcmResourcess/tpl/EditViewZusDateEmployment.tpl new file mode 100755 index 00000000..da99c6f5 --- /dev/null +++ b/modules/EcmResourcess/tpl/EditViewZusDateEmployment.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmResourcess/tpl/EditViewZusDateMiningWork.tpl b/modules/EcmResourcess/tpl/EditViewZusDateMiningWork.tpl new file mode 100755 index 00000000..e22e694f --- /dev/null +++ b/modules/EcmResourcess/tpl/EditViewZusDateMiningWork.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmReturns/tpls/searchProductsToCorrect.tpl b/modules/EcmReturns/tpls/searchProductsToCorrect.tpl new file mode 100644 index 00000000..7f22ebe8 --- /dev/null +++ b/modules/EcmReturns/tpls/searchProductsToCorrect.tpl @@ -0,0 +1,33 @@ + +

                  {$FOCUS->parent_name}

                  +{if $ERRORS|@count != 0} +{$MOD.LBL_ERRORS}
                  +{/if} +{foreach from=$ERRORS key="key" item="item" name="components"} + {$item}
                  +{/foreach} + + + + + + + + + +{foreach from=$POSITION_LIST key="key" item="item" name="components"} + + + + + + + + +{/foreach} +
                  {$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}{$MOD.LBL_EDITTABLE_QUANTITY}{$MOD.LBL_EDITTABLE_PRICE}{$MOD.LBL_INVOICE}{$MOD.LBL_CORRECT}
                  {$item.code}{$item.name}{$item.quantity} / {$item.old_qty}{$item.price_netto}{if $item.inv_id!=''}{$item.inv_document_no}{else}-{/if}{if $item.cor_id!=''}{$item.cor_document_no}{else}-{/if}


                  + {if $ERRORS|@count == 0} + + {else} + + {/if} \ No newline at end of file diff --git a/modules/EcmReturns/views/DetailView/DetailView.tpl b/modules/EcmReturns/views/DetailView/DetailView.tpl new file mode 100644 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmReturns/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmReturns/views/DetailView/footer.tpl b/modules/EcmReturns/views/DetailView/footer.tpl new file mode 100644 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmReturns/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmReturns/views/DetailView/header.tpl b/modules/EcmReturns/views/DetailView/header.tpl new file mode 100644 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmReturns/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmReturns/views/EditView/EditView.tpl b/modules/EcmReturns/views/EditView/EditView.tpl new file mode 100644 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmReturns/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmReturns/views/EditView/footer.tpl b/modules/EcmReturns/views/EditView/footer.tpl new file mode 100644 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmReturns/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmReturns/views/EditView/header.tpl b/modules/EcmReturns/views/EditView/header.tpl new file mode 100644 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmReturns/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmSales/eCommerceZS/eCommerceZS.tpl b/modules/EcmSales/eCommerceZS/eCommerceZS.tpl new file mode 100644 index 00000000..acaadf0f --- /dev/null +++ b/modules/EcmSales/eCommerceZS/eCommerceZS.tpl @@ -0,0 +1,69 @@ + + + + + + + +
                  + + +

                  ZS E-Commerce

                  +
                  + + + + + + + + + + + + + + + + +
                  Zakres dat: + + + + + + + + +
                  + +
                  + +
                  +ZS zbiorcza dla FV:
                  {$invoicesNo} +

                  + \ No newline at end of file diff --git a/modules/EcmSales/tpls/ListNewSales.tpl b/modules/EcmSales/tpls/ListNewSales.tpl new file mode 100755 index 00000000..eae22c88 --- /dev/null +++ b/modules/EcmSales/tpls/ListNewSales.tpl @@ -0,0 +1,317 @@ + + + + + + +
                  EcmProducts

                  {$MOD.LBL_LISTNEWSALES_NAME}

                  +
                  +
                  + + + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
                  + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: + + Data wysyłki od + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + +
                  + +

                  {if $POST.date_send_from!='' && $POST.date_from!=''}Proszę wybrać date dostawy lub datę wysyłki{/if}

                  + + + + + + + +
                  {if $LINK!=''}{$LINK}{/if} + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + + + + + + + + + + + + {/if} + + {/foreach} + + + + + + + + + + + + + + + +
                  {$MOD.LBL_LISTNEWSALES_POS}{$MOD.LBL_LISTNEWSALES_NUMBER}{$MOD.LBL_LISTNEWSALES_DESCRIPTION}{$MOD.LBL_LISTNEWSALES_PARENT_NAME}{$MOD.LBL_LISTNEWSALES_DELIVERY_DATE}Termin wysyłki{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_TOTAL_NETTO}{$MOD.LBL_LISTNEWSALES_TOTAL_VAT}{$MOD.LBL_LISTNEWSALES_TOTAL_BRUTTO}{$MOD.LBL_LISTNEWSALES_TOTAL_INVOICE}{$MOD.LBL_LISTNEWSALES_PERCENT}{$MOD.LBL_LISTNEWSALES_CURRENCY}{$MOD.LBL_LISTNEWSALES_PRINTED} 
                  {$item.position}{$item.document_no}{$item.parent_name}{$item.delivery_date}{$item.send_date} {$item.quantity}{$item.total_netto|number_format:2:".":","}{$item.total_vat|number_format:2:".":","}{$item.total_brutto|number_format:2:".":","}{$item.total_invoice|number_format:2:".":","}{$item.percent} + + {$CURRENCIES[$item.currency]} + {if $item.type!='gratis'} + {if $item.fv_switch=='yes'}'{/if} + {if $item.fv_switch=='no'}{/if} + {if $item.wz_switch=='disabled'} {/if} + {if $item.wz_switch=='enabled'}{/if} + {else} + {if $item.rw_switch=='disabled'} {/if} + {if $item.rw_switch=='enabled'}{/if} + {/if} + +
                  {$MOD.LBL_LISTNEWSALES_SUMMARY}:{$POSITION_LIST.total_quantity}{$POSITION_LIST.total_netto|number_format:2:".":","}{$POSITION_LIST.total_vat|number_format:2:".":","}{$POSITION_LIST.total_brutto|number_format:2:".":","}{$POSITION_LIST.total_invoice|number_format:2:".":","}{$POSITION_LIST.total_percent|string_format:"%.2f"}% + + +
                  \ No newline at end of file diff --git a/modules/EcmSales/tpls/ProductSummary.tpl b/modules/EcmSales/tpls/ProductSummary.tpl new file mode 100755 index 00000000..e544544b --- /dev/null +++ b/modules/EcmSales/tpls/ProductSummary.tpl @@ -0,0 +1,190 @@ + + + + + +
                  EcmProducts

                  {$MOD.LBL_LISTNEWSALES_NAME}

                  +
                  + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
                  + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: +
                  + +
                  +
                  +{$MOD.LBL_LISTNEWSALES_GROUP_KS}: + + + + + + +
                  + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + {if $item.quantity>$item.stock} + + + {else} + + + {/if} + + {/if} + + {/foreach} + + + + + + +
                  {$MOD.LBL_LISTNEWSALES_PRODUCTCODE}{$MOD.LBL_LISTNEWSALES_PRODUCTNAME}{$MOD.LBL_LISTNEWSALES_CATEGORY}{$MOD.LBL_LISTNEWSALES_GROUP_KS}{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_STOCK}
                  {$item.code}{$item.name}{$item.product_category_name}{$item.group_ks_name}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}
                  {$MOD.LBL_LISTNEWSALES_SUMMARY}{$POSITION_LIST.quantity|number_format:2:".":","}{$POSITION_LIST.stock|number_format:2:".":","}
                  +7 \ No newline at end of file diff --git a/modules/EcmSales/tpls/bimit_importAllegroOrders.tpl b/modules/EcmSales/tpls/bimit_importAllegroOrders.tpl new file mode 100644 index 00000000..090b7f2c --- /dev/null +++ b/modules/EcmSales/tpls/bimit_importAllegroOrders.tpl @@ -0,0 +1,104 @@ + + + + + + + + + {foreach from=$orders item=order} + + + + + + {/foreach} +
                  KlientProduktyZamówienie sprzedaży
                  + {$order->id}
                  + {$order->buyer->email}
                  + {$order->buyer->firstName} {$order->buyer->lastName}

                  + {$order->buyer->address->street}
                  + {$order->buyer->address->postCode} {$order->buyer->address->city}
                  + {$order->buyer->address->countryCode}

                  + Klient istnieje w bazie: + {if $order->buyer->exists} + + {$order->buyer->e5Name} + + {else}NIE + {/if} +
                  + {foreach from=$order->lineItems item=product} + {$product->offer->external->id}, {$product->offer->name}
                  + Ilość: {$product->quantity} Cena {$product->price->amount} {$product->price->currency}

                  + {/foreach} +
                  + {if $order->exists} + + ZS {$order->e5Number} + + {if $order->e5InvoiceId}
                  + + FV {$order->e5InvoiceNumber} + + + {/if} + {else} + + {/if} +
                  + + + \ No newline at end of file diff --git a/modules/EcmSales/tpls/tmp.tpl b/modules/EcmSales/tpls/tmp.tpl new file mode 100755 index 00000000..0dcd7b40 --- /dev/null +++ b/modules/EcmSales/tpls/tmp.tpl @@ -0,0 +1,17 @@ + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + {/if} + {/foreach} + +
                  nameilosc
                  {$item.name}{$item.quantity}
                  \ No newline at end of file diff --git a/modules/EcmSales/tpls/wzCreator.html.tpl b/modules/EcmSales/tpls/wzCreator.html.tpl new file mode 100644 index 00000000..b14bc3dd --- /dev/null +++ b/modules/EcmSales/tpls/wzCreator.html.tpl @@ -0,0 +1,294 @@ + + + + + + + + + + + + + + + + + + + + + + + +
                  EcmProducts

                  Specyfikacja do zamówień: {$orderNo}

                  +
                  +{if $wz_documents_no!=""} + + + + + +
                  EcmProducts

                  UWAGA: Zamówienia nr: {$wz_documents_no}, mają już wystawione dokumenty WZ i zostały pominięte!!!

                  +
                  +{/if} + + + + + +
                  EcmProducts

                  Lista potrzebnych produktów do wystawienia dokumentów WZ

                  + + + + + + + + + + + + + + + + {foreach from=$products key="key" item="item" name="components"} + + + + + + + + + {/foreach} + + + + + +
                   KodNazwaWymaga ilośćIlość na magazynie
                  {$item.code}{$item.name}{$item.quantity|number_format:2:".":""}{$item.stock|number_format:2:".":""}
                  {$MOD.LBL_LISTNEWSALES_SUMMARY}{$total_products|number_format:2:".":""}{$total_in_stock|number_format:2:".":""}
                  + +{if $error==false} +
                  + + {foreach from=$no_wz_sales key="key" item="item" name="components"} + + {/foreach} + + + + +
                  +{else} +

                  UWAGA: Do pozycji zaznaczonych na czerwono brakuje wystarczającej ilości magazynowe! Aby wystawić dokumenty magazynowe, uzupełnij magazyn o brakujące ilości

                  +{/if} + diff --git a/modules/EcmSales/views/DetailView/DetailView.tpl b/modules/EcmSales/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmSales/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmSales/views/DetailView/footer.tpl b/modules/EcmSales/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmSales/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmSales/views/DetailView/header.tpl b/modules/EcmSales/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmSales/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmSales/views/EditView/EditView.tpl b/modules/EcmSales/views/EditView/EditView.tpl new file mode 100755 index 00000000..4215dd6e --- /dev/null +++ b/modules/EcmSales/views/EditView/EditView.tpl @@ -0,0 +1,422 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmSales/views/EditView/footer.tpl b/modules/EcmSales/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmSales/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmSales/views/EditView/header.tpl b/modules/EcmSales/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmSales/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmSales/views/createInvoice.tpl b/modules/EcmSales/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmSales/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

                  Wystaw fakture

                  + +
                  +{literal} + + + +{/literal} + + +
                  + + + + + + + + + + + + + +
                  Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
                  +
                  diff --git a/modules/EcmSalesC/tpls/ListNewSales.tpl b/modules/EcmSalesC/tpls/ListNewSales.tpl new file mode 100755 index 00000000..3a4687e2 --- /dev/null +++ b/modules/EcmSalesC/tpls/ListNewSales.tpl @@ -0,0 +1,254 @@ + + + + + +
                  EcmProducts

                  {$MOD.LBL_LISTNEWSALES_NAME}

                  +
                  + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
                  + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: +
                  + + + + + + +{if $LINK!=''}
                  {$LINK}{/if} + + + + + + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + + + + + + + + + {/if} + + {/foreach} + + + + + + + + + + + + + +
                  {$MOD.LBL_LISTNEWSALES_POS}{$MOD.LBL_LISTNEWSALES_NUMBER}{$MOD.LBL_LISTNEWSALES_DESCRIPTION}{$MOD.LBL_LISTNEWSALES_PARENT_NAME}{$MOD.LBL_LISTNEWSALES_DELIVERY_DATE}{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_TOTAL_NETTO}{$MOD.LBL_LISTNEWSALES_TOTAL_VAT}{$MOD.LBL_LISTNEWSALES_TOTAL_BRUTTO}{$MOD.LBL_LISTNEWSALES_TOTAL_INVOICE}{$MOD.LBL_LISTNEWSALES_PERCENT}{$MOD.LBL_LISTNEWSALES_PRINTED} 
                  {$item.position}{$item.document_no}{$item.parent_name}{$item.delivery_date}{$item.quantity}{$item.total_netto|number_format:2:".":","}{$item.total_vat|number_format:2:".":","}{$item.total_brutto|number_format:2:".":","}{$item.total_invoice|number_format:2:".":","}{$item.percent} + + + {if $item.fv_switch=='yes'}'{/if} + {if $item.fv_switch=='no'}{/if} + {if $item.wz_switch=='disabled'} {/if} + {if $item.wz_switch=='enabled'}{/if} + +
                  {$MOD.LBL_LISTNEWSALES_SUMMARY}:{$POSITION_LIST.total_quantity}{$POSITION_LIST.total_netto|number_format:2:".":","}{$POSITION_LIST.total_vat|number_format:2:".":","}{$POSITION_LIST.total_brutto|number_format:2:".":","}{$POSITION_LIST.total_invoice|number_format:2:".":","}{$POSITION_LIST.total_percent|string_format:"%.2f"}% + + +
                  \ No newline at end of file diff --git a/modules/EcmSalesC/tpls/ProductSummary.tpl b/modules/EcmSalesC/tpls/ProductSummary.tpl new file mode 100755 index 00000000..e544544b --- /dev/null +++ b/modules/EcmSalesC/tpls/ProductSummary.tpl @@ -0,0 +1,190 @@ + + + + + +
                  EcmProducts

                  {$MOD.LBL_LISTNEWSALES_NAME}

                  +
                  + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_LISTNEWSALES_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_ACCOUNT_NAME}: + + + + + + + {$MOD.LBL_LISTNEWSALES_DOCUMENT_CREATE_DATE_START}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_DATE_END}: + + + Enter Date + + + {$MOD.LBL_LISTNEWSALES_NOT_ASSIGNED}: + + +
                  + {$MOD.LBL_LISTNEWSALES_ORDER_NO}: + + + + {$MOD.LBL_LISTNEWSALES_ORDER_TYPE}: +
                  + +
                  +
                  +{$MOD.LBL_LISTNEWSALES_GROUP_KS}: + + + + + + +
                  + + + + + + + + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + + + + {if $item.quantity>$item.stock} + + + {else} + + + {/if} + + {/if} + + {/foreach} + + + + + + +
                  {$MOD.LBL_LISTNEWSALES_PRODUCTCODE}{$MOD.LBL_LISTNEWSALES_PRODUCTNAME}{$MOD.LBL_LISTNEWSALES_CATEGORY}{$MOD.LBL_LISTNEWSALES_GROUP_KS}{$MOD.LBL_LISTNEWSALES_QUANTITY}{$MOD.LBL_LISTNEWSALES_STOCK}
                  {$item.code}{$item.name}{$item.product_category_name}{$item.group_ks_name}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}{$item.quantity|number_format:2:".":","}{$item.stock|number_format:2:".":","}
                  {$MOD.LBL_LISTNEWSALES_SUMMARY}{$POSITION_LIST.quantity|number_format:2:".":","}{$POSITION_LIST.stock|number_format:2:".":","}
                  +7 \ No newline at end of file diff --git a/modules/EcmSalesC/tpls/tmp.tpl b/modules/EcmSalesC/tpls/tmp.tpl new file mode 100755 index 00000000..0dcd7b40 --- /dev/null +++ b/modules/EcmSalesC/tpls/tmp.tpl @@ -0,0 +1,17 @@ + + + + + + + + {foreach from=$POSITION_LIST key="key" item="item" name="components"} + {if $item.id!=''} + + + + + {/if} + {/foreach} + +
                  nameilosc
                  {$item.name}{$item.quantity}
                  \ No newline at end of file diff --git a/modules/EcmSalesC/views/DetailView/DetailView.tpl b/modules/EcmSalesC/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmSalesC/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmSalesC/views/DetailView/footer.tpl b/modules/EcmSalesC/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmSalesC/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmSalesC/views/DetailView/header.tpl b/modules/EcmSalesC/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmSalesC/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmSalesC/views/EditView/EditView.tpl b/modules/EcmSalesC/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmSalesC/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmSalesC/views/EditView/footer.tpl b/modules/EcmSalesC/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmSalesC/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmSalesC/views/EditView/header.tpl b/modules/EcmSalesC/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmSalesC/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmSalesC/views/createInvoice.tpl b/modules/EcmSalesC/views/createInvoice.tpl new file mode 100755 index 00000000..c4f4ad67 --- /dev/null +++ b/modules/EcmSalesC/views/createInvoice.tpl @@ -0,0 +1,32 @@ + + + + + + +

                  Wystaw fakture

                  + +
                  +{literal} + + + +{/literal} + + +
                  + + + + + + + + + + + + + +
                  Poz.{$MOD.LBL_EDITTABLE_CODE}{$MOD.LBL_EDITTABLE_NAME}IlośćNumer zamówienia
                  +
                  diff --git a/modules/EcmServiceNews/tpl/DetailViewItems.tpl b/modules/EcmServiceNews/tpl/DetailViewItems.tpl new file mode 100755 index 00000000..7a3a46a0 --- /dev/null +++ b/modules/EcmServiceNews/tpl/DetailViewItems.tpl @@ -0,0 +1,28 @@ + + + + + + + + + + + {foreach from=$fields.items_list.value key=indeks item=pozycja} + + + + + + + {/foreach} + +
                  ProduktIlośćCenaWartość
                  + {$pozycja.ecmproduct_name} + + {$pozycja.quantity|number_format:$pozycja.ecmproduct_unit_precision:",":"."} + + {$pozycja.price|number_format:2:",":"."} + + {$pozycja.total|number_format:2:",":"."} +
                  \ No newline at end of file diff --git a/modules/EcmServiceNews/tpl/DetailViewServiceHistory.tpl b/modules/EcmServiceNews/tpl/DetailViewServiceHistory.tpl new file mode 100755 index 00000000..af3bc479 --- /dev/null +++ b/modules/EcmServiceNews/tpl/DetailViewServiceHistory.tpl @@ -0,0 +1,47 @@ +{if $fields.history.value==""} + Brak historii +{else} + + {foreach from=$fields.history.value key=k item=record} + + + + + {/foreach} +
                  + {$k} + + + + + + + + + + + {foreach from=$record key=indeks item=pozycja} + + + + + + {/foreach} + +
                  Zmienione poleByłoJest
                  + {$pozycja.field_name} + + {if $pozycja.data_type == 'enum' || $pozycja.data_type == 'varchar'} + {$pozycja.before_value_string}
                  + {else} + {$pozycja.before_value_text} + {/if} +
                  + {if $pozycja.data_type == 'enum' || $pozycja.data_type == 'varchar'} + {$pozycja.after_value_string} + {else} + {$pozycja.after_value_text} + {/if} +
                  +
                  +{/if} \ No newline at end of file diff --git a/modules/EcmServiceNews/tpl/EditViewItems.tpl b/modules/EcmServiceNews/tpl/EditViewItems.tpl new file mode 100755 index 00000000..8fabd033 --- /dev/null +++ b/modules/EcmServiceNews/tpl/EditViewItems.tpl @@ -0,0 +1,29 @@ + + +
                  +
                  +
                  +
                  + + +{* +
                  *} \ No newline at end of file diff --git a/modules/EcmServiceNews/tpl/pdf.tpl b/modules/EcmServiceNews/tpl/pdf.tpl new file mode 100755 index 00000000..64d2df9d --- /dev/null +++ b/modules/EcmServiceNews/tpl/pdf.tpl @@ -0,0 +1,152 @@ +
                  + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_REGISTER_DATE}: {$EcmServiceNew->register_date} + + + {$MOD.LBL_DOCUMENT_NO}: {$EcmServiceNew->document_no} + + {$MOD.LBL_NAME}: {$EcmServiceNew->name} + +
                  + {$MOD.LBL_PARENT_NAME}: {$EcmServiceNew->parent_name} + + {$MOD.LBL_PARENT_CONTACT_NAME}: {$EcmServiceNew->parent_contact_name} + + {$MOD.LBL_PARENT_CONTACT_PHONE_FAX}: {$EcmServiceNew->parent_contact_phone_fax} +
                  + {assign var='tmp' value = $EcmServiceNew->repair_status} + {$MOD.LBL_REPAIR_STATUS}: {$APP_LIST_STRINGS.ecmservicenews_repair_status_list.$tmp} + + {assign var='tmp' value = $EcmServiceNew->service_type} + {$MOD.LBL_TYPE}: {$APP_LIST_STRINGS.ecmservicenews_type_list.$tmp} + + {assign var='tmp' value = $EcmServiceNew->status} + {$MOD.LBL_STATUS}: {$APP_LIST_STRINGS.ecmservicenews_status_list.$tmp} +
                  + {$MOD.LBL_PRODUCT_NAME}: {$EcmServiceNew->product_name} + + {$MOD.LBL_PRODUCT_SERIAL_NUMBER}: {$EcmServiceNew->product_serial_number} + + {$MOD.LBL_PRODUCT_MODEL}: {$EcmServiceNew->product_model} +
                  + {$MOD.LBL_PRODUCT_YEAR}: {$EcmServiceNew->product_year} + + {$MOD.LBL_PRODUCT_VALUE}: {$EcmServiceNew->product_value} + + {$MOD.LBL_ESTIMATED_COST}: {$EcmServiceNew->estimated_cost} +
                  + +{$MOD.LBL_PARENT_COMMENT}:
                  {$EcmServiceNew->parent_comment}
                  +{$MOD.LBL_SERVICE_COMMENT}:
                  {$EcmServiceNew->service_comment}
                  +{$MOD.LBL_FAULT_COMMENT}:
                  {$EcmServiceNew->fault_comment}
                  +
                  +{$MOD.LBL_COSTS}:
                  +{if $EcmServiceNew->items_list==""} + Brak kosztów +{else} + + + + + + + + + + + {foreach from=$EcmServiceNew->items_list key=indeks item=pozycja} + + + + + + + {/foreach} + +
                  {$MOD.LBL_PRODUCT_NAME}{$MOD.LBL_QUANTITY}{$MOD.LBL_PRICE}{$MOD.LBL_VALUE}
                  + {$pozycja.ecmproduct_name} + + {$pozycja.quantity|number_format:$pozycja.ecmproduct_unit_precision:",":"."} + + {$pozycja.price|number_format:2:",":"."} + + {$pozycja.total|number_format:2:",":"."} +
                  +{/if} +

                  + +{$MOD.LBL_HISTORY}:
                  +{if $EcmServiceNew->history==""} + {$MOD.LBL_PDF_NO_HISTORY} +{else} + + {foreach from=$EcmServiceNew->history key=k item=record} + + + + + {/foreach} +
                  + {$k} + + + + + + + + + + + {foreach from=$record key=indeks item=pozycja} + + + + + + {/foreach} + +
                  {$MOD.LBL_HISTORY_CHANGED_FIELD}{$MOD.LBL_HISTORY_WAS}{$MOD.LBL_HISTORY_IS}
                  + {$pozycja.field_name} + + {if $pozycja.data_type == 'enum' || $pozycja.data_type == 'varchar'} + {$pozycja.before_value_string}
                  + {else} + {$pozycja.before_value_text} + {/if} +
                  + {if $pozycja.data_type == 'enum' || $pozycja.data_type == 'varchar'} + {$pozycja.after_value_string} + {else} + {$pozycja.after_value_text} + {/if} +
                  +
                  +{/if} +
                  \ No newline at end of file diff --git a/modules/EcmStockBookings/tpls/QuickCreate.tpl b/modules/EcmStockBookings/tpls/QuickCreate.tpl new file mode 100755 index 00000000..ee98e7dc --- /dev/null +++ b/modules/EcmStockBookings/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
                  + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                  + + +
                  + + + + + + + + + + + + + + + + + + + + +

                  {$MOD.LBL_ECMVAT_INFORMATION}

                  {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                  {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                  {$MOD.LBL_STATUS}
                  + + diff --git a/modules/EcmStockDocCorrects.2/views/DetailView/DetailView.tpl b/modules/EcmStockDocCorrects.2/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocCorrects.2/views/DetailView/footer.tpl b/modules/EcmStockDocCorrects.2/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmStockDocCorrects.2/views/DetailView/header.tpl b/modules/EcmStockDocCorrects.2/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocCorrects.2/views/EditView/EditView.tpl b/modules/EcmStockDocCorrects.2/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocCorrects.2/views/EditView/footer.tpl b/modules/EcmStockDocCorrects.2/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocCorrects.2/views/EditView/header.tpl b/modules/EcmStockDocCorrects.2/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocCorrects.2/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocCorrects/PDFTemplate/przecena_lista_pozycji.tpl b/modules/EcmStockDocCorrects/PDFTemplate/przecena_lista_pozycji.tpl new file mode 100644 index 00000000..91e22d95 --- /dev/null +++ b/modules/EcmStockDocCorrects/PDFTemplate/przecena_lista_pozycji.tpl @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + {foreach from=$positions item=row} + + + + + + + + + + + {/foreach} + +
                  Lp.NazwaIlośćCenaWartość
                  IndeksJ.m.JestByłoJestByłoRóżnica
                  + {$row.position} + + {$row.name}
                  + {$row.product_code}    {$row.product_consignment_doc} +
                  + {assign var="precyzja" value=$row.product_precision} + + {$row.quantity|number_format:$precyzja:",":"."}
                  {$row.unit_name} +
                  + {$row.price} + + {$row.old_price} + + {$row.total} + + {$row.old_total} + + {$row.total_diff} +
                  \ No newline at end of file diff --git a/modules/EcmStockDocCorrects/views/DetailView/DetailView.tpl b/modules/EcmStockDocCorrects/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocCorrects/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocCorrects/views/DetailView/footer.tpl b/modules/EcmStockDocCorrects/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocCorrects/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocCorrects/views/DetailView/header.tpl b/modules/EcmStockDocCorrects/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocCorrects/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocCorrects/views/EditView/EditView.tpl b/modules/EcmStockDocCorrects/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocCorrects/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocCorrects/views/EditView/footer.tpl b/modules/EcmStockDocCorrects/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocCorrects/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocCorrects/views/EditView/header.tpl b/modules/EcmStockDocCorrects/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocCorrects/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocIns/views/DetailView/DetailView.tpl b/modules/EcmStockDocIns/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocIns/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocIns/views/DetailView/footer.tpl b/modules/EcmStockDocIns/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocIns/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocIns/views/DetailView/header.tpl b/modules/EcmStockDocIns/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocIns/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocIns/views/EditView/EditView.tpl b/modules/EcmStockDocIns/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocIns/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocIns/views/EditView/footer.tpl b/modules/EcmStockDocIns/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocIns/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocIns/views/EditView/header.tpl b/modules/EcmStockDocIns/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocIns/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocInsideIns/views/DetailView/DetailView.tpl b/modules/EcmStockDocInsideIns/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocInsideIns/views/DetailView/footer.tpl b/modules/EcmStockDocInsideIns/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocInsideIns/views/DetailView/header.tpl b/modules/EcmStockDocInsideIns/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocInsideIns/views/EditView/EditView.tpl b/modules/EcmStockDocInsideIns/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocInsideIns/views/EditView/footer.tpl b/modules/EcmStockDocInsideIns/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocInsideIns/views/EditView/header.tpl b/modules/EcmStockDocInsideIns/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocInsideIns/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocInsideOuts/views/DetailView/DetailView.tpl b/modules/EcmStockDocInsideOuts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocInsideOuts/views/DetailView/footer.tpl b/modules/EcmStockDocInsideOuts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocInsideOuts/views/DetailView/header.tpl b/modules/EcmStockDocInsideOuts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocInsideOuts/views/EditView/EditView.tpl b/modules/EcmStockDocInsideOuts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocInsideOuts/views/EditView/footer.tpl b/modules/EcmStockDocInsideOuts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocInsideOuts/views/EditView/header.tpl b/modules/EcmStockDocInsideOuts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocInsideOuts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocInss/views/DetailView/DetailView.tpl b/modules/EcmStockDocInss/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocInss/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocInss/views/DetailView/footer.tpl b/modules/EcmStockDocInss/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocInss/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocInss/views/DetailView/header.tpl b/modules/EcmStockDocInss/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocInss/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocInss/views/EditView/EditView.tpl b/modules/EcmStockDocInss/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocInss/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocInss/views/EditView/footer.tpl b/modules/EcmStockDocInss/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocInss/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocInss/views/EditView/header.tpl b/modules/EcmStockDocInss/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocInss/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocMoves/views/DetailView/DetailView.tpl b/modules/EcmStockDocMoves/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocMoves/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocMoves/views/DetailView/footer.tpl b/modules/EcmStockDocMoves/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocMoves/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocMoves/views/DetailView/header.tpl b/modules/EcmStockDocMoves/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocMoves/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocMoves/views/EditView/EditView.tpl b/modules/EcmStockDocMoves/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocMoves/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocMoves/views/EditView/footer.tpl b/modules/EcmStockDocMoves/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocMoves/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocMoves/views/EditView/header.tpl b/modules/EcmStockDocMoves/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocMoves/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockDocOuts/views/DetailView/DetailView.tpl b/modules/EcmStockDocOuts/views/DetailView/DetailView.tpl new file mode 100755 index 00000000..79d48f8b --- /dev/null +++ b/modules/EcmStockDocOuts/views/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmOfferes/views/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmOfferes/views/DetailView/footer.tpl"}} + diff --git a/modules/EcmStockDocOuts/views/DetailView/footer.tpl b/modules/EcmStockDocOuts/views/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmStockDocOuts/views/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +
                  diff --git a/modules/EcmStockDocOuts/views/DetailView/header.tpl b/modules/EcmStockDocOuts/views/DetailView/header.tpl new file mode 100755 index 00000000..8e217a4b --- /dev/null +++ b/modules/EcmStockDocOuts/views/DetailView/header.tpl @@ -0,0 +1,105 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmStockDocOuts/views/EditView/EditView.tpl b/modules/EcmStockDocOuts/views/EditView/EditView.tpl new file mode 100755 index 00000000..d02a5eec --- /dev/null +++ b/modules/EcmStockDocOuts/views/EditView/EditView.tpl @@ -0,0 +1,424 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmOfferes/views/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmOfferes/views/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmStockDocOuts/views/EditView/footer.tpl b/modules/EcmStockDocOuts/views/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmStockDocOuts/views/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmStockDocOuts/views/EditView/header.tpl b/modules/EcmStockDocOuts/views/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmStockDocOuts/views/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmStockOperations/tpls/QuickCreate.tpl b/modules/EcmStockOperations/tpls/QuickCreate.tpl new file mode 100755 index 00000000..e99b6588 --- /dev/null +++ b/modules/EcmStockOperations/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
                  + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                  + + +
                  + + + + + + + + + + + + + + + + + + + + +

                  {$MOD.LBL_ECMSTOCKOPERATION_INFORMATION}

                  {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                  {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                  {$MOD.LBL_STATUS}
                  + + diff --git a/modules/EcmStockStates/tpls/QuickCreate.tpl b/modules/EcmStockStates/tpls/QuickCreate.tpl new file mode 100755 index 00000000..97c953ed --- /dev/null +++ b/modules/EcmStockStates/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                  + + + + + + + + + + + + + + + + + + + + +
                  + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                  + + +
                  + + + + + + + + + + + + + + + + + + + + +

                  {$MOD.LBL_ECMSTOCKSTATE_INFORMATION}

                  {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                  {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                  {$MOD.LBL_STATUS}
                  + + diff --git a/modules/EcmStocks/tpls/QuickCreate.tpl b/modules/EcmStocks/tpls/QuickCreate.tpl new file mode 100755 index 00000000..a4f44b20 --- /dev/null +++ b/modules/EcmStocks/tpls/QuickCreate.tpl @@ -0,0 +1,59 @@ + +
                  + + + + + + + + + + + + + + + +
                  + + + + + {$APP.LBL_REQUIRED_SYMBOL} + {$APP.NTC_REQUIRED} +
                  + + + +
                  + + + + + + + + +
                  +

                  {$MOD.LBL_ECMSTOCK_INFORMATION}

                  +
                  {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
                  + + diff --git a/modules/EcmSyntheticAccounts/tpl/DetailViewStructureAnalyticalPart.tpl b/modules/EcmSyntheticAccounts/tpl/DetailViewStructureAnalyticalPart.tpl new file mode 100755 index 00000000..9252e107 --- /dev/null +++ b/modules/EcmSyntheticAccounts/tpl/DetailViewStructureAnalyticalPart.tpl @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/modules/EcmSyntheticAccounts/tpl/DetailViewTableAnalyticalAccounts.tpl b/modules/EcmSyntheticAccounts/tpl/DetailViewTableAnalyticalAccounts.tpl new file mode 100755 index 00000000..9207e31c --- /dev/null +++ b/modules/EcmSyntheticAccounts/tpl/DetailViewTableAnalyticalAccounts.tpl @@ -0,0 +1,6 @@ + +
                  + + +
                  +
                  \ No newline at end of file diff --git a/modules/EcmSyntheticAccounts/tpl/EditViewStructureAnalyticalPart.tpl b/modules/EcmSyntheticAccounts/tpl/EditViewStructureAnalyticalPart.tpl new file mode 100755 index 00000000..94a2d586 --- /dev/null +++ b/modules/EcmSyntheticAccounts/tpl/EditViewStructureAnalyticalPart.tpl @@ -0,0 +1,14 @@ + + + + + + + + +
                  + + + {* *} +
                  \ No newline at end of file diff --git a/modules/EcmSyntheticAccounts/tpl/EditViewTableAnalyticalAccounts.tpl b/modules/EcmSyntheticAccounts/tpl/EditViewTableAnalyticalAccounts.tpl new file mode 100755 index 00000000..9207e31c --- /dev/null +++ b/modules/EcmSyntheticAccounts/tpl/EditViewTableAnalyticalAccounts.tpl @@ -0,0 +1,6 @@ + +
                  + + +
                  +
                  \ No newline at end of file diff --git a/modules/EcmSyntheticAccounts/view/DetailView/DetailView.tpl b/modules/EcmSyntheticAccounts/view/DetailView/DetailView.tpl new file mode 100755 index 00000000..6064c780 --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                  + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                  + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                  + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                  + +{{/if}} + +
                  + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/footer.tpl"}} + diff --git a/modules/EcmSyntheticAccounts/view/DetailView/footer.tpl b/modules/EcmSyntheticAccounts/view/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmSyntheticAccounts/view/DetailView/header.tpl b/modules/EcmSyntheticAccounts/view/DetailView/header.tpl new file mode 100755 index 00000000..ac6f0918 --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/DetailView/header.tpl @@ -0,0 +1,106 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                  +
                  + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                  +
                  + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                  diff --git a/modules/EcmSyntheticAccounts/view/EditView/EditView.tpl b/modules/EcmSyntheticAccounts/view/EditView/EditView.tpl new file mode 100755 index 00000000..27925123 --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/EditView/EditView.tpl @@ -0,0 +1,421 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmInvoiceOuts/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                  + + + +{literal} + + + +{/literal} + + + +
                    + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                  • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                  • + + {{/if}} + +{{/foreach}} + +
                  + + + +{{* 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 *}} + +
                  + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                  + +

                  {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                  + +
                  + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                  + + {{/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}} + +
                  + + + +{{/if}} + + + +
                  + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInvoiceOuts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmSyntheticAccounts/view/EditView/footer.tpl b/modules/EcmSyntheticAccounts/view/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                  +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                  +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmSyntheticAccounts/view/EditView/header.tpl b/modules/EcmSyntheticAccounts/view/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmSyntheticAccounts/view/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                  + + + + + +
                  + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                  diff --git a/modules/EcmSysInfos/tpl/firmInfo.tpl b/modules/EcmSysInfos/tpl/firmInfo.tpl new file mode 100644 index 00000000..0d8963b0 --- /dev/null +++ b/modules/EcmSysInfos/tpl/firmInfo.tpl @@ -0,0 +1,634 @@ + + + + + + + + +

                  {$MOD.LBL_FIRM_INFO}

                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  {$MOD.LBL_SHORT_NAME}: + +  {$MOD.LBL_UPDATE_HEADERS}
                  {$MOD.LBL_NAME}: + +
                  {$MOD.LBL_NIP}: + +
                  {$MOD.LBL_REGON}: + +
                  {$MOD.LBL_KRS}: + +
                  {$MOD.LBL_WWW}: + + Logo firmy:
                  + +

                  {$MOD.LBL_ADDRESS_INFORMATION}

                  + + + + + + + + +
                  + + + + + + + + + +
                  + {$MOD.LBL_ADDRESS_REGISTRATION}: + + {$MOD.LBL_ADDRESS_CORRESPONDENCE}: +
                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_REGISTER_ADDRESS_STREET}: + + +   /  +
                  + {$MOD.LBL_ADDRESS_CITY}: + + +
                  + {$MOD.LBL_ADDRESS_POSTALCODE}: + + +
                  + {$MOD.LBL_ADDRESS_MAIL}: + + +
                  + {$MOD.LBL_ADDRESS_COMMUNITY}: + + +
                  + {$MOD.LBL_ADDRESS_DISTRICT}: + + +
                  + {$MOD.LBL_ADDRESS_STATE}: + + +
                  + {$MOD.LBL_ADDRESS_COUNTRY}: + + +
                  +
                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  + {$MOD.LBL_REGISTER_ADDRESS_STREET}: + + + + / + +
                  + {$MOD.LBL_ADDRESS_CITY}: + + +
                  + {$MOD.LBL_ADDRESS_POSTALCODE}: + + +
                  + {$MOD.LBL_ADDRESS_MAIL}: + + +
                  + {$MOD.LBL_ADDRESS_COMMUNITY}: + + +
                  + {$MOD.LBL_ADDRESS_DISTRICT}: + + +
                  + {$MOD.LBL_ADDRESS_STATE}: + + +
                  + {$MOD.LBL_ADDRESS_COUNTRY}: + + +
                  +
                  + +
                  +
                  + + + + + + + + + + + + + + {if $ADRESS|@count gt 0} + {foreach from = $ADRESS key=klucz item=wartosc} + + + + + + + + + + {/foreach} + {else} + + + + + + + + + + {/if} + +
                  {$APP.LBL_LP}{$APP.LBL_NAME}{$MOD.LBL_ADDRESS_STREET}{$MOD.LBL_ADDRESS_CITY}{$MOD.LBL_ADDRESS_POSTALCODE}{$MOD.LBL_ADDRESS_COUNTRY}
                  + + + + + + + + + + + + + + undefined + undefined +
                  + + + + + + + + + + + + + + undefined + undefined +
                  +
                  +
                  + + +

                  {$MOD.LBL_BANK_ACCOUNTS}

                  + + + + + + + +
                  +
                  + + + + + + + + + + + + + + + {if $BANKS|@count gt 0} + {foreach from = $BANKS key=klucz item=wartosc} + + + + + + + + + + + + {/foreach} + {else} + + + + + + + {/if} + +
                  {$APP.LBL_LP}NazwaNazwa Banku{$MOD.LBL_BANK_ACCOUNT}{$MOD.LBL_BANK_CURRENCY}{$MOD.LBL_BANK_SWIFT}{$MOD.LBL_BANK_IBAN}
                  + + + + + + + + + + + + + + + + undefined + undefined +
                  + + + + + + + + undefined + undefined +
                  +
                  +
                  + +

                  {$MOD.LBL_CONTACT_INFO}

                  + + + + + + + +
                  +
                  + + + + + + + + + + + {if $CONTACTS|@count gt 0} + {foreach from = $CONTACTS key=klucz item=wartosc} + + + + + + + {/foreach} + {else} + + + + + + + {/if} + +
                  {$APP.LBL_LP}{$APP.LBL_NAME}{$MOD.LBL_VALUE}
                  + + + + + + + + undefined + undefined +
                  + + + + + + + + undefined + undefined +
                  +
                  +
                  +

                  {$MOD.LBL_EMAIL_SETTINGS}

                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  {if $error===0}Proszę podać prawidłowe dane!{/if}
                  {$MOD.LBL_EMAIL_HOSTPORT}: + +
                  {$MOD.LBL_EMAIL_LOGIN}: + +
                  {$MOD.LBL_EMAIL_PASSWORD}: + +
                  Adres Email: + + (Podaj jeśli inny niż login) +
                  Szyfrowanie: + +
                  Adres email do odpowiedzi: + + +
                  + +

                  Ustawienia bramki sms oraz powiadomień i windykacji kontrahenta

                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                  Operator SMS: + + Pierwsze przypomnienie o płatności: +
                  (dni przed terminem) +
                  {$MOD.LBL_EMAIL_LOGIN}: + + Drugie przypomnienie o płatności: +
                  (dni przed terminem) +
                  {$MOD.LBL_EMAIL_PASSWORD}: + + Pierwsza wiadomość windykacyjna: +
                  (dni po terminie) +
                  Pole nadawcy wiadomości: + +
                  (Kliknij TUTAJ aby dowiedzieć się więcej o tym polu) +
                  Stałe wiadomości windykacyjne: +
                  (co x dni) +
                  Wiadomości wysyłaj: + SMS + EMAIL +
                  + +
                  \ No newline at end of file diff --git a/modules/EcmSysInfos/tpl/headersDocuments.tpl b/modules/EcmSysInfos/tpl/headersDocuments.tpl new file mode 100755 index 00000000..88b88807 --- /dev/null +++ b/modules/EcmSysInfos/tpl/headersDocuments.tpl @@ -0,0 +1,33 @@ + + + +

                  {$MOD.LNK_HEADERS_DOCUMENTS}

                  +
                  + + + +
                  +

                  + {if $selected === null } + {html_options name=docselect id=docselect options=$data} + {else} + {html_options name=docselect id=docselect options=$data selected=$selected} + {/if} + {if $selectedLanguage === null } + {html_options name=languageselect id=languageselect options=$dataLanguage}

                  + {else} + {html_options name=languageselect id=languageselect options=$dataLanguage selected=$selectedLanguage}

                  + {/if} + +

                  + {$MOD.LBL_INVOICE_NUMBER_FORMAT}: +  {html_options name=invoice_number_format id=invoice_number_format options=$InvoiceNumberFormat} +  

                  +
                  +

                  {$MOD.LBL_HEADER}:

                  +

                  +

                  {$MOD.LBL_FOOTER}:

                  +

                  +
                  + +
                  \ No newline at end of file diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashlet.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashlet.tpl new file mode 100755 index 00000000..188e336e --- /dev/null +++ b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashlet.tpl @@ -0,0 +1,46 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                  aaaaa +asd +
                  + diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashletOptions.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashletOptions.tpl new file mode 100755 index 00000000..281c6866 --- /dev/null +++ b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashletOptions.tpl @@ -0,0 +1 @@ +
                  \ No newline at end of file diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashletOptionsScript.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet/MyEcmTransactionsDashletOptionsScript.tpl new file mode 100755 index 00000000..e69de29b diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashlet2.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashlet2.tpl new file mode 100755 index 00000000..188e336e --- /dev/null +++ b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashlet2.tpl @@ -0,0 +1,46 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                  aaaaa +asd +
                  + diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashletOptions2.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashletOptions2.tpl new file mode 100755 index 00000000..281c6866 --- /dev/null +++ b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashletOptions2.tpl @@ -0,0 +1 @@ +
                  \ No newline at end of file diff --git a/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashletOptionsScript2.tpl b/modules/EcmTransactions/Dashlets/MyEcmTransactionsDashlet2/MyEcmTransactionsDashletOptionsScript2.tpl new file mode 100755 index 00000000..e69de29b diff --git a/modules/EcmTransactions/tpls/QuickCreate.tpl b/modules/EcmTransactions/tpls/QuickCreate.tpl new file mode 100755 index 00000000..3bdca4c0 --- /dev/null +++ b/modules/EcmTransactions/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                  + + + + + + + + + + + + + + + + + + + + +
                  + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                  + + +
                  + + + + + + + + + + + + + + + + + + + + +

                  {$MOD.LBL_ECMPAYMENT_INFORMATION}

                  {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                  {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                  {$MOD.LBL_STATUS}
                  + + diff --git a/modules/EcmTransactions/tpls/importBankStatement/afterSave.tpl b/modules/EcmTransactions/tpls/importBankStatement/afterSave.tpl new file mode 100755 index 00000000..c3f564ad --- /dev/null +++ b/modules/EcmTransactions/tpls/importBankStatement/afterSave.tpl @@ -0,0 +1,38 @@ + +

                  Podsumowanie zapisu transakcji

                  + + + + + + + + + + {foreach from=$DATA item=row key=k} + + + + + + {/foreach} + +
                  NazwaKwota 
                  {$row.name}{$row.value}  + {if $row.account_id!=""} + Przejdź do rozrachunków ({$row.account_name}) + {/if} +
                  \ No newline at end of file diff --git a/modules/EcmTransactions/tpls/importBankStatement/list.tpl b/modules/EcmTransactions/tpls/importBankStatement/list.tpl new file mode 100755 index 00000000..e72ebcbc --- /dev/null +++ b/modules/EcmTransactions/tpls/importBankStatement/list.tpl @@ -0,0 +1,128 @@ + +

                  Nazwa wyciągu: {$STATEMENT_NAME}

                  +
                  + + + + + + + + + + + + + {foreach from=$DATA item=row key=k} + {if $row.sum!="1"} + + + + + + + + + {else} + + + + + + {/if} + {/foreach} + +
                  Konto zKontrahentKwotaOpisDataOpcje
                  {$row.account} + {if $row.transaction_exists == "1"} +
                  + {foreach from=$row.transactions item=t key=k} + {$t.desc}
                  + {/foreach} + {/if} +
                  + {if $row.account_found == "1"} + {$row.account_name} + {else} +    + +
                  + {/if} + +
                  {$row.value}{$row.payer}
                  {$row.desc}
                  {$row.date} + + + + + + + + +
                  Suma: {$row.sum_val} 
                  +
                  + +
                  + + + + + + + + +
                  +{$red} \ No newline at end of file diff --git a/modules/EcmTransactions/tpls/importBankStatement/options.tpl b/modules/EcmTransactions/tpls/importBankStatement/options.tpl new file mode 100755 index 00000000..6ee6162e --- /dev/null +++ b/modules/EcmTransactions/tpls/importBankStatement/options.tpl @@ -0,0 +1,45 @@ +
                    +
                    + + + + + + + + + + + + + + + + + +
                    Bank: + +
                    Data wyciągu: + + Enter Date + +
                    Wybierz plik: + +
                    + +
                    \ No newline at end of file diff --git a/modules/EcmTransactions/view/DetailView/DetailView.tpl b/modules/EcmTransactions/view/DetailView/DetailView.tpl new file mode 100755 index 00000000..6064c780 --- /dev/null +++ b/modules/EcmTransactions/view/DetailView/DetailView.tpl @@ -0,0 +1,355 @@ +{* + +/********************************************************************************* + + * 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". + + ********************************************************************************/ + +*} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/header.tpl"}} + +{sugar_include include=$includes} + + + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + + + {$PAGINATION} + +
                    + + {{/if}} + + + + + + + +{literal} + + + +{/literal} + + + + + + + +{{* Loop through all top level panels first *}} + +{{counter name="panelCount" print=false start=0 assign="panelCount"}} + +{{foreach name=section from=$sectionPanels key=label item=panel}} + +{{assign var='panel_id' value=$panelCount}} + +
                    + +{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + +{{* Print out the panel title if one exists*}} + + + +{{* 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}} + + + + + + + + {{* Print out the table data *}} + + + + {{if $panelCount == 0}} + + {{counter name="panelCount" print=false}} + + {{/if}} + + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + {{assign var='columnsInRow' value=$rowData|@count}} + + {{assign var='columnsUsed' value=0}} + + {{foreach name=colIteration from=$rowData key=col item=colData}} + + + + + + + + {{if $colData.field.allCols == false}} + + + + {{/if}} + + + + + + {{/foreach}} + + + + {{/foreach}} + + + +
                    + + {{if isset($colData.field.customLabel)}} + + {{$colData.field.customLabel}} + + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + + {capture name="label" assign="label"} + + {{$colData.field.label}} + + {/capture} + + {$label|strip_semicolon}: + + {{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}: + + {{else}} + +   + + {{/if}} + + + + {{if $colData.field.customCode || $colData.field.assign}} + + {counter name="panelFieldCount"} + + {{sugar_evalcolumn var=$colData.field colData=$colData}} + + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + + {{foreach from=$colData.field.fields item=subField}} + + {{if $fields[$subField]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + + {{else}} + + {counter name="panelFieldCount"} + + {{$subField}} + + {{/if}} + + {{/foreach}} + + {{elseif $fields[$colData.field.name]}} + + {counter name="panelFieldCount"} + + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + + {{/if}} + +   + +
                    + +{{/if}} + +
                    + +{if $panelFieldCount == 0} + + + + + +{/if} + +{{/foreach}} + +{{include file="modules/EcmInvoiceOuts/view/DetailView/footer.tpl"}} + diff --git a/modules/EcmTransactions/view/DetailView/footer.tpl b/modules/EcmTransactions/view/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmTransactions/view/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmTransactions/view/DetailView/header.tpl b/modules/EcmTransactions/view/DetailView/header.tpl new file mode 100755 index 00000000..ac6f0918 --- /dev/null +++ b/modules/EcmTransactions/view/DetailView/header.tpl @@ -0,0 +1,106 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                    +
                    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                    +
                    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                    diff --git a/modules/EcmTransactions/view/EditView/EditView.tpl b/modules/EcmTransactions/view/EditView/EditView.tpl new file mode 100755 index 00000000..27925123 --- /dev/null +++ b/modules/EcmTransactions/view/EditView/EditView.tpl @@ -0,0 +1,421 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmInvoiceOuts/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                    + + + +{literal} + + + +{/literal} + + + +
                      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                    • + + {{/if}} + +{{/foreach}} + +
                    + + + +{{* 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 *}} + +
                    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                    + +

                    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                    + +
                    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                    + + {{/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}} + +
                    + + + +{{/if}} + + + +
                    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInvoiceOuts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmTransactions/view/EditView/footer.tpl b/modules/EcmTransactions/view/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmTransactions/view/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmTransactions/view/EditView/header.tpl b/modules/EcmTransactions/view/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmTransactions/view/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                    + + + + + +
                    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                    diff --git a/modules/EcmVats/tpls/QuickCreate.tpl b/modules/EcmVats/tpls/QuickCreate.tpl new file mode 100755 index 00000000..ffcf95ae --- /dev/null +++ b/modules/EcmVats/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/** + * 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". + */ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + +
                    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                    + + + + +
                    + + + + + + + + + + + + + + + + + + + + +

                    {$MOD.LBL_ECMVAT_INFORMATION}

                    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_TYPE}
                    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_PRIORITY}
                    {$MOD.LBL_STATUS}
                    + + diff --git a/modules/EcmWorkCards/tpl/DetailViewTableEcmActions.tpl b/modules/EcmWorkCards/tpl/DetailViewTableEcmActions.tpl new file mode 100755 index 00000000..7d4872ef --- /dev/null +++ b/modules/EcmWorkCards/tpl/DetailViewTableEcmActions.tpl @@ -0,0 +1,19 @@ + +
                    + + +
                    +
                    +
                    +
                    + + + + + + + + + +
                    Suma netto0,00
                    Suma brutto0,00
                    +
                    \ No newline at end of file diff --git a/modules/EcmWorkCards/tpl/EditViewTableEcmActions.tpl b/modules/EcmWorkCards/tpl/EditViewTableEcmActions.tpl new file mode 100755 index 00000000..5d2b9fe1 --- /dev/null +++ b/modules/EcmWorkCards/tpl/EditViewTableEcmActions.tpl @@ -0,0 +1,22 @@ + + + +
                    + + +
                    +
                    +
                    + +
                    + + + + + + + + + +
                    Suma netto0,00
                    Suma brutto0,00
                    +
                    \ No newline at end of file diff --git a/modules/EcmWorkCards/view/DetailView/DetailView.tpl b/modules/EcmWorkCards/view/DetailView/DetailView.tpl new file mode 100755 index 00000000..4f04c51e --- /dev/null +++ b/modules/EcmWorkCards/view/DetailView/DetailView.tpl @@ -0,0 +1,170 @@ +{* +/********************************************************************************* +* 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". +********************************************************************************/ +*} +{{include file="modules/EcmInvoiceOuts/view/DetailView/header.tpl"}} +{sugar_include include=$includes} +{{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} +{{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} +
                    +{{/if}} +{literal} + +{/literal} + + {{* Loop through all top level panels first *}} + {{counter name="panelCount" print=false start=0 assign="panelCount"}} + {{foreach name=section from=$sectionPanels key=label item=panel}} + {{assign var='panel_id' value=$panelCount}} +
                    + {counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"} + {{* Print out the panel title if one exists*}} + {{* 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}} + + {{* Print out the table data *}} + + {{if $panelCount == 0}} + {{counter name="panelCount" print=false}} + {{/if}} + {{foreach name=rowIteration from=$panel key=row item=rowData}} + + {{assign var='columnsInRow' value=$rowData|@count}} + {{assign var='columnsUsed' value=0}} + {{foreach name=colIteration from=$rowData key=col item=colData}} + {{if $colData.field.allCols == false}} + + {{/if}} + + {{/foreach}} + + {{/foreach}} +
                    + {{if isset($colData.field.customLabel)}} + {{$colData.field.customLabel}} + {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}} + {capture name="label" assign="label"} + {{$colData.field.label}} + {/capture} + {$label|strip_semicolon}: + {{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}: + {{else}} +   + {{/if}} + + {{if $colData.field.customCode || $colData.field.assign}} + {counter name="panelFieldCount"} + {{sugar_evalcolumn var=$colData.field colData=$colData}} + {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }} + {{foreach from=$colData.field.fields item=subField}} + {{if $fields[$subField]}} + {counter name="panelFieldCount"} + {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}  + {{else}} + {counter name="panelFieldCount"} + {{$subField}} + {{/if}} + {{/foreach}} + {{elseif $fields[$colData.field.name]}} + {counter name="panelFieldCount"} + {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}} + {{/if}} +   +
                    + {{/if}} +
                    + {if $panelFieldCount == 0} + + {/if} + {{/foreach}} + {{include file="modules/EcmInvoiceOuts/view/DetailView/footer.tpl"}} \ No newline at end of file diff --git a/modules/EcmWorkCards/view/DetailView/footer.tpl b/modules/EcmWorkCards/view/DetailView/footer.tpl new file mode 100755 index 00000000..4fbd7c19 --- /dev/null +++ b/modules/EcmWorkCards/view/DetailView/footer.tpl @@ -0,0 +1,37 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} + diff --git a/modules/EcmWorkCards/view/DetailView/header.tpl b/modules/EcmWorkCards/view/DetailView/header.tpl new file mode 100755 index 00000000..ac6f0918 --- /dev/null +++ b/modules/EcmWorkCards/view/DetailView/header.tpl @@ -0,0 +1,106 @@ +{* +/********************************************************************************* + * 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". + ********************************************************************************/ +*} +{{* Add the preForm code if it is defined (used for vcards) *}} +{{if $preForm}} + {{$preForm}} +{{/if}} + + + + {{/if}} + {{if count($form.buttons) > $num_buttons}} + {{foreach from=$form.buttons key=val item=button}} + {{if is_array($button) && $button.customCode}} + + {{/if}} + {{/foreach}} + {{/if}} +{{/if}} +{{if !isset($closeFormBeforeCustomButtons)}} + + +{{/if}} +{{if empty($form.hideAudit) || !$form.hideAudit}} + +{{/if}} + +{{* Add $form.links if they are defined *}} +{{if !empty($form) && isset($form.links)}} + + +{{/if}} + +
                    +
                    + + + + + + + + +{{if isset($form.hidden)}} +{{foreach from=$form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} + +{{if !isset($form.buttons)}} + + + + +{{else}} + {{counter assign="num_buttons" start=0 print=false}} + {{foreach from=$form.buttons key=val item=button}} + {{if !is_array($button) && in_array($button, $built_in_buttons)}} + {{counter print=false}} + {{sugar_button module="$module" id="$button" view="EditView"}} + {{/if}} + {{/foreach}} + {{if isset($closeFormBeforeCustomButtons)}} +
                    +
                    + {{sugar_button module="$module" id="$button" view="EditView"}} + +{{sugar_button module="$module" id="Audit" view="EditView"}} +{$ADMIN_EDIT}  + {{foreach from=$form.links item=link}} + {{$link}}  + {{/foreach}} +
                    diff --git a/modules/EcmWorkCards/view/EditView/EditView.tpl b/modules/EcmWorkCards/view/EditView/EditView.tpl new file mode 100755 index 00000000..27925123 --- /dev/null +++ b/modules/EcmWorkCards/view/EditView/EditView.tpl @@ -0,0 +1,421 @@ +{* + +/********************************************************************************* + + * 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} + + + +{/literal} + + + +{{include file='modules/EcmInvoiceOuts/view/EditView/header.tpl'}} + +{sugar_include include=$includes} + + + + + +{{if $panelCount == 0}} + + {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}} + + {{if $SHOW_VCR_CONTROL}} + + {$PAGINATION} + + {{/if}} + +{{/if}} + +
                    + + + +{literal} + + + +{/literal} + + + +
                      + +{{foreach name=section from=$sectionPanels key=label item=panel}} + + {{if $panel[0][0].field.type == 'tab'}} + +
                    • + + + + {sugar_translate label='LBL_{{$label}}_TAB' module='{{$module}}'} + +
                    • + + {{/if}} + +{{/foreach}} + +
                    + + + +{{* 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 *}} + +
                    + +{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}} + + + + + +{{* Only show header if it is not default or an int value *}} + +{{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}} + + + +{{/if}} + + + +{{assign var='rowCount' value=0}} + +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + + + + + {{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)}} + + + + {{/if}} + + + + + +{{/foreach}} + +
                    + +

                    {sugar_translate label='LBL_{{$label}}' module='{{$module}}'}

                    + +
                    + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + + + {{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)}} + + {{$APP.LBL_REQUIRED_SYMBOL}} + + {{/if}} + + {{if !isset($colData.field.label) || !empty($colData.field.label)}} + +
                    + + {{/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}} + +
                    + + + +{{/if}} + + + +
                    + +{if $panelFieldCount == 0} + + + +{/if} + +{{/foreach}} + +{{include file='modules/EcmInvoiceOuts/view/EditView/footer.tpl'}} \ No newline at end of file diff --git a/modules/EcmWorkCards/view/EditView/footer.tpl b/modules/EcmWorkCards/view/EditView/footer.tpl new file mode 100755 index 00000000..e086ae8f --- /dev/null +++ b/modules/EcmWorkCards/view/EditView/footer.tpl @@ -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 + * 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". + ********************************************************************************/ +*} +{{if empty($form.button_location) || $form.button_location == 'bottom'}} +
                    +{{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}} +{{sugar_button module="$module" id="Audit" view="$view"}} +
                    +{{/if}} + +{{if $externalJSFile}} +require_once("'".$externalJSFile."'"); +{{/if}} + +{$set_focus_block} + +{{if isset($scriptBlocks)}} + +{{$scriptBlocks}} + +{{/if}} diff --git a/modules/EcmWorkCards/view/EditView/header.tpl b/modules/EcmWorkCards/view/EditView/header.tpl new file mode 100755 index 00000000..569f2f6d --- /dev/null +++ b/modules/EcmWorkCards/view/EditView/header.tpl @@ -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". + ********************************************************************************/ +*} +
                    + + + + + +
                    + +{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"} + +{else} + +{/if} + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{{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}} +{{$ADMIN_EDIT}}
                    diff --git a/modules/EcmWorkers/tpl/EditViewZusDateCharityWork.tpl b/modules/EcmWorkers/tpl/EditViewZusDateCharityWork.tpl new file mode 100755 index 00000000..14a82f90 --- /dev/null +++ b/modules/EcmWorkers/tpl/EditViewZusDateCharityWork.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmWorkers/tpl/EditViewZusDateDiscrepancies.tpl b/modules/EcmWorkers/tpl/EditViewZusDateDiscrepancies.tpl new file mode 100755 index 00000000..866beefd --- /dev/null +++ b/modules/EcmWorkers/tpl/EditViewZusDateDiscrepancies.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmWorkers/tpl/EditViewZusDateEmployment.tpl b/modules/EcmWorkers/tpl/EditViewZusDateEmployment.tpl new file mode 100755 index 00000000..da99c6f5 --- /dev/null +++ b/modules/EcmWorkers/tpl/EditViewZusDateEmployment.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EcmWorkers/tpl/EditViewZusDateMiningWork.tpl b/modules/EcmWorkers/tpl/EditViewZusDateMiningWork.tpl new file mode 100755 index 00000000..e22e694f --- /dev/null +++ b/modules/EcmWorkers/tpl/EditViewZusDateMiningWork.tpl @@ -0,0 +1,27 @@ + +Enter Date + - + + Enter Date + + \ No newline at end of file diff --git a/modules/EmailMan/tpls/campaignconfig.tpl b/modules/EmailMan/tpls/campaignconfig.tpl new file mode 100755 index 00000000..f402de84 --- /dev/null +++ b/modules/EmailMan/tpls/campaignconfig.tpl @@ -0,0 +1,124 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +/********************************************************************************* + + ********************************************************************************/ +*} +{$ROLLOVER} + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + +
                    +

                    + {$MOD.LBL_OUTBOUND_EMAIL_TITLE} +

                    +
                    + {$MOD.LBL_EMAILS_PER_RUN} {$APP.LBL_REQUIRED_SYMBOL} + + +
                    + {$MOD.LBL_LOCATION_TRACK} {$APP.LBL_REQUIRED_SYMBOL} + + + {$MOD.LBL_DEFAULT_LOCATION} {$MOD.LBL_CUSTOM_LOCATION} +
                    + + +
                    +
                    + {$MOD.LBL_CAMP_MESSAGE_COPY} {$APP.LBL_REQUIRED_SYMBOL} + {$MOD.LBL_CAMP_MESSAGE_COPY_DESC} +
                    +
                    + + {$MOD.LBL_YES} {$MOD.LBL_NO} +
                    +
                    + +
                    + + +
                    + +
                    +{$JAVASCRIPT} \ No newline at end of file diff --git a/modules/EmailMan/tpls/config.tpl b/modules/EmailMan/tpls/config.tpl new file mode 100755 index 00000000..eed57d72 --- /dev/null +++ b/modules/EmailMan/tpls/config.tpl @@ -0,0 +1,707 @@ + + + + + + +{literal} + +{/literal} +{$ROLLOVER} +
                    + + + + + + + + + + + + +
                    + + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED} +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                    {$MOD.LBL_EMAIL_OUTBOUND_CONFIGURATION}

                    + {$MOD.LBL_OUTGOING_SECTION_HELP} +
                      +
                    {$MOD.LBL_MAIL_SENDTYPE} + +   
                    {$MOD.LBL_NOTIFY_FROMNAME} {$APP.LBL_REQUIRED_SYMBOL}
                    {$MOD.LBL_NOTIFY_FROMADDRESS} {$APP.LBL_REQUIRED_SYMBOL}
                    {$MOD.LBL_CHOOSE_EMAIL_PROVIDER}
                    +
                    + + + + + + + + + + + + + + + + + + + + +
                    +
                    +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    {$MOD.LBL_MAIL_SMTPSERVER} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_MAIL_SMTPPORT} {$APP.LBL_REQUIRED_SYMBOL}
                    {$MOD.LBL_MAIL_SMTPAUTH_REQ} + + {$APP.LBL_EMAIL_SMTP_SSL_OR_TLS} + +
                    {$MOD.LBL_MAIL_SMTPUSER} {$APP.LBL_REQUIRED_SYMBOL}  
                    {$MOD.LBL_MAIL_SMTPPASS} {$APP.LBL_REQUIRED_SYMBOL}  
                    + {$MOD.LBL_ALLOW_DEFAULT_SELECTION}  + + + + +   
                    +
                    +
                     
                        
                    +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + +
                    +

                    {$MOD.LBL_NOTIFY_TITLE}

                    +
                    + {$MOD.LBL_NOTIFY_ON}:  + + + +
                    + {$MOD.LBL_EMAIL_DEFAULT_DELETE_ATTACHMENTS}:  + + + {$MOD.LBL_NOTIFY_SEND_FROM_ASSIGNING_USER}:
                     
                    +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                    {$MOD.LBL_SECURITY_TITLE}

                    + {$MOD.LBL_SECURITY_DESC} +
                      +
                    +   + {literal} + + {/literal} + + {$MOD.LBL_SECURITY_OUTLOOK_DEFAULTS} +
                     
                    +   + + {$MOD.LBL_SECURITY_TOGGLE_ALL} +
                     
                    +   <applet> + + {$MOD.LBL_SECURITY_APPLET} + +   <base> + + {$MOD.LBL_SECURITY_BASE} +
                    +   <embed> + + {$MOD.LBL_SECURITY_EMBED} + +   <form> + + {$MOD.LBL_SECURITY_FORM} +
                    +   <frame> + + {$MOD.LBL_SECURITY_FRAME} + +   <frameset> + + {$MOD.LBL_SECURITY_FRAMESET} +
                    +   <iframe> + + {$MOD.LBL_SECURITY_IFRAME} + +   <import> + + {$MOD.LBL_SECURITY_IMPORT} +
                    +   <layer> + + {$MOD.LBL_SECURITY_LAYER} + +   <link> + + {$MOD.LBL_SECURITY_LINK} +
                    +   <object> + + {$MOD.LBL_SECURITY_OBJECT} + +   <style> + + {$MOD.LBL_SECURITY_STYLE} +
                    +   <xmp> + + {$MOD.LBL_SECURITY_XMP} +
                    +
                    +
                    +
                    +
                    + + + + + + + + + +
                    + {$APP.LBL_EMAIL_SETTINGS_FROM_TO_EMAIL_ADDR} + + {$APP.LBL_REQUIRED_SYMBOL} + + + +
                    +   +   +
                    +
                    +
                    + +
                    + + +
                    + + +{$JAVASCRIPT} +{literal} + +{/literal} diff --git a/modules/Emails/templates/_baseConfigData.tpl b/modules/Emails/templates/_baseConfigData.tpl new file mode 100755 index 00000000..1c87cc4e --- /dev/null +++ b/modules/Emails/templates/_baseConfigData.tpl @@ -0,0 +1,44 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +SUGAR.email2.composeLayout.charsets = {$emailCharsets}; +SUGAR.default_inbound_accnt_id = '{$defaultOutID}'; +SUGAR.email2.userPrefs = {$userPrefs}; +SUGAR.email2.signatures = {$defaultSignature}; +{$tinyMCE} +linkBeans = {$linkBeans}; +{$lang} diff --git a/modules/Emails/templates/_baseEmail.tpl b/modules/Emails/templates/_baseEmail.tpl new file mode 100755 index 00000000..6ec564a2 --- /dev/null +++ b/modules/Emails/templates/_baseEmail.tpl @@ -0,0 +1,171 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +{include file="modules/Emails/templates/_baseJsVars.tpl"} + + + + + + \ No newline at end of file diff --git a/modules/Emails/templates/_baseJsVars.tpl b/modules/Emails/templates/_baseJsVars.tpl new file mode 100755 index 00000000..01bccd59 --- /dev/null +++ b/modules/Emails/templates/_baseJsVars.tpl @@ -0,0 +1,57 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + diff --git a/modules/Emails/templates/_createGroupFolder.tpl b/modules/Emails/templates/_createGroupFolder.tpl new file mode 100755 index 00000000..7501dd46 --- /dev/null +++ b/modules/Emails/templates/_createGroupFolder.tpl @@ -0,0 +1,146 @@ + + + + + + + + + +{$languageStrings} + + + +{$CSS} + + +
                    + + + + + + + + + + + + + + + + +
                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_GROUP_FOLDERS_CREATE}: +
                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_GROUP_FOLDERS_EDIT}: +
                    +
                    + +
                    + {$app_strings.LBL_EMAIL_FOLDERS_NEW_FOLDER}: +
                    +
                    + +
                    +
                    + +
                    + {$app_strings.LBL_EMAIL_FOLDERS_ADD_THIS_TO}: +
                    +
                    + +
                    +
                    + + + +
                    +
                    +
                    +{$JAVASCRIPT} + + + \ No newline at end of file diff --git a/modules/Emails/templates/addressBook.tpl b/modules/Emails/templates/addressBook.tpl new file mode 100755 index 00000000..e2b7683f --- /dev/null +++ b/modules/Emails/templates/addressBook.tpl @@ -0,0 +1,46 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + +
                    +
                    + {$app_strings.LBL_EMAIL_ADDRESS_BOOK_FILTER}:  + + +
                    +
                    diff --git a/modules/Emails/templates/addressSearch.tpl b/modules/Emails/templates/addressSearch.tpl new file mode 100755 index 00000000..4de8c1f5 --- /dev/null +++ b/modules/Emails/templates/addressSearch.tpl @@ -0,0 +1,85 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + + + + + +
                    +
                    + {$mod_strings.LBL_SEARCH_FOR}: + +
                    {$mod_strings.LBL_ADDRESS_BOOK_SEARCH_HELP}
                    +
                    + + +
                    +    {$mod_strings.LBL_LIST_RELATED_TO}:   + +   + + {$mod_strings.LBL_EMAIL_SELECTOR} + + + {$mod_strings.LBL_EMAIL_SELECTOR} + +
                    + {$mod_strings.LBL_FILTER_BY_RELATED_BEAN} + +
                      
                    + + + +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/addressSearchContent.tpl b/modules/Emails/templates/addressSearchContent.tpl new file mode 100755 index 00000000..e6f52c49 --- /dev/null +++ b/modules/Emails/templates/addressSearchContent.tpl @@ -0,0 +1,66 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    +
                    +
                    +
                    +
                    + {include file="modules/Emails/templates/addressSearch.tpl"} +
                    + + + + + + + +
                    +
                    +
                    +
                    +   +
                    +

                    {sugar_translate label="LBL_SELECTED_ADDR" module="Emails"}:

                    +
                    +
                    +
                    +
                    +
                     
                    +
                    + +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/advancedSearch.tpl b/modules/Emails/templates/advancedSearch.tpl new file mode 100755 index 00000000..aad96297 --- /dev/null +++ b/modules/Emails/templates/advancedSearch.tpl @@ -0,0 +1,119 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                     
                    + {$app_strings.LBL_EMAIL_SUBJECT}:
                    + +
                    + {$app_strings.LBL_EMAIL_FROM}:
                    + +
                    + {$app_strings.LBL_EMAIL_TO}:
                    + +
                    {$mod_strings.LBL_MORE_OPTIONS} 
                    + {$app_strings.LBL_EMAIL_SEARCH_DATE_FROM}: ({$dateFormatExample})
                    +   + {$app_strings.LBL_ENTER_DATE} +
                    + {$app_strings.LBL_EMAIL_SEARCH_DATE_UNTIL}: ({$dateFormatExample})
                    +   + {$app_strings.LBL_ENTER_DATE} +
                    + {sugar_translate label="LBL_ASSIGNED_TO"}:
                    + + + + + {$mod_strings.LBL_EMAIL_SELECTOR} + +
                    + {$mod_strings.LBL_HAS_ATTACHMENT}
                    + {html_options options=$attachmentsSearchOptions name='attachmentsSearch' id='attachmentsSearch'} +
                    + {$mod_strings.LBL_EMAIL_RELATE}:
                    + {html_options options=$linkBeansOptions name='data_parent_type_search' id='data_parent_type_search'} + +

                    + + {$mod_strings.LBL_EMAIL_SELECTOR} + +
                    {$mod_strings.LBL_LESS_OPTIONS} 
                    +
                     
                    + +   + +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/assignTo.tpl b/modules/Emails/templates/assignTo.tpl new file mode 100755 index 00000000..b818270f --- /dev/null +++ b/modules/Emails/templates/assignTo.tpl @@ -0,0 +1,66 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + + + + + + + + + + +
                    + {sugar_translate label="LBL_ASSIGNED_TO"}: + + + + + +  
                      
                      
                    + +
                    + diff --git a/modules/Emails/templates/dceMenuQuickCreate.tpl b/modules/Emails/templates/dceMenuQuickCreate.tpl new file mode 100755 index 00000000..a6ca193a --- /dev/null +++ b/modules/Emails/templates/dceMenuQuickCreate.tpl @@ -0,0 +1,67 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + \ No newline at end of file diff --git a/modules/Emails/templates/editAccountDialogue.tpl b/modules/Emails/templates/editAccountDialogue.tpl new file mode 100755 index 00000000..d09d7fbb --- /dev/null +++ b/modules/Emails/templates/editAccountDialogue.tpl @@ -0,0 +1,244 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    +

                    {$mod_strings.LBL_EMAIL_SETTINGS_INBOUND}

                    +
                    {$app_strings.LBL_EMAIL_ACCOUNTS_GMAIL_DEFAULTS} 
                    + {$app_strings.LBL_EMAIL_SETTINGS_NAME}: {$app_strings.LBL_REQUIRED_SYMBOL} + + +
                    + {$ie_mod_strings.LBL_LOGIN}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + +
                    + {$ie_mod_strings.LBL_PASSWORD}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + +
                    + {$ie_mod_strings.LBL_SERVER_URL}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + +
                    + {$ie_mod_strings.LBL_SERVER_TYPE}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + +
                    + {$ie_mod_strings.LBL_SSL}:  + + +
                    + +
                    +
                    + {$ie_mod_strings.LBL_PORT}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + +
                    + {$ie_mod_strings.LBL_MAILBOX}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + + +
                    + {$ie_mod_strings.LBL_TRASH_FOLDER}: {$app_strings.LBL_REQUIRED_SYMBOL}  + + + +
                    + {$ie_mod_strings.LBL_SENT_FOLDER}:   + + + +
                    + +   +
                     
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    +

                    {$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND}

                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_FROM_NAME}: + + {$app_strings.LBL_REQUIRED_SYMBOL} + + + +
                    + {$app_strings.LBL_EMAIL_SETTINGS_FROM_ADDR}: + + {$app_strings.LBL_REQUIRED_SYMBOL} + + + +
                    + {$app_strings.LBL_EMAIL_SETTINGS_REPLY_TO_ADDR}: + + +
                    + {$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNT}: + {$app_strings.LBL_REQUIRED_SYMBOL} + + +
                    + {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPUSER}: + {$app_strings.LBL_REQUIRED_SYMBOL} + + +
                    + {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPPASS}: + {$app_strings.LBL_REQUIRED_SYMBOL} + + +
                     
                    + +   + +   +
                     
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/editContact.tpl b/modules/Emails/templates/editContact.tpl new file mode 100755 index 00000000..7a43a969 --- /dev/null +++ b/modules/Emails/templates/editContact.tpl @@ -0,0 +1,89 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    +
                    + + + + + + + + + + + + + + + + + + + + +
                    +   +   + +
                      +
                    + {$contact_strings.LBL_FIRST_NAME} + + + + {$contact_strings.LBL_LAST_NAME} * + + +
                    + {$contact_strings.LBL_EMAIL_ADDRESSES} +
                    + {$emailWidget} +
                    + {$app_strings.LBL_EMAIL_EDIT_CONTACT_WARN} +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/editMailingList.tpl b/modules/Emails/templates/editMailingList.tpl new file mode 100755 index 00000000..9fc35f59 --- /dev/null +++ b/modules/Emails/templates/editMailingList.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    +
                    + + + + + + + + + + + + + +
                    +   +   + +
                      +
                    + {$app_strings.LBL_EMAIL_ML_NAME} + + +
                    + {$app_strings.LBL_EMAIL_ML_ADDRESSES_1} +
                     
                    +
                    +
                    + {$app_strings.LBL_EMAIL_ML_ADDRESSES_2} +
                     
                    +
                    +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/emailDetailView.tpl b/modules/Emails/templates/emailDetailView.tpl new file mode 100755 index 00000000..1f62a020 --- /dev/null +++ b/modules/Emails/templates/emailDetailView.tpl @@ -0,0 +1,127 @@ + + +{$emailTitle} + +

                    + + + + +

                    + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    {$APP.LBL_ASSIGNED_TO}{$ASSIGNED_TO}{$MOD.LBL_DATE_SENT}{$DATE_START} {$TIME_START}
                      {$PARENT_TYPE}{$PARENT_NAME}
                    {$MOD.LBL_FROM}{$FROM}
                    {$MOD.LBL_TO}{$TO}
                    {$MOD.LBL_CC}{$CC}
                    {$MOD.LBL_BCC}{$BCC}
                    {$MOD.LBL_SUBJECT}{$NAME}
                    {$MOD.LBL_BODY} +
                    {$DESCRIPTION_HTML}
                    +
                    + + +
                    {$MOD.LBL_ATTACHMENTS}{$ATTACHMENTS}
                    + +{$SUBPANEL} + diff --git a/modules/Emails/templates/emailSettings.tpl b/modules/Emails/templates/emailSettings.tpl new file mode 100755 index 00000000..88311261 --- /dev/null +++ b/modules/Emails/templates/emailSettings.tpl @@ -0,0 +1,46 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    +
                    + {include file="modules/Emails/templates/emailSettingsGeneral.tpl"} +
                    +
                    + {include file="modules/Emails/templates/emailSettingsAccounts.tpl"} +
                    + + +
                    diff --git a/modules/Emails/templates/emailSettingsAccountDetails.tpl b/modules/Emails/templates/emailSettingsAccountDetails.tpl new file mode 100755 index 00000000..e5e1685b --- /dev/null +++ b/modules/Emails/templates/emailSettingsAccountDetails.tpl @@ -0,0 +1,104 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{$rollover} + + + + + + + +
                    + + + + + + + + + + + + + + + + + + +
                    +

                    {$mod_strings.LBL_EMAIL_SETTINGS_INBOUND_ACCOUNTS}

                    +
                    {$app_strings.LBL_EMAIL_ACCOUNTS_SUBTITLE}
                     
                     
                    +
                     
                    +
                    + + + + + + + + + + +
                    +

                    {$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNTS}

                    +
                    {$app_strings.LBL_EMAIL_ACCOUNTS_OUTBOUND_SUBTITLE}
                     
                    +
                    + + + + + + + + + +
                     
                    + +
                    +
                    +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/emailSettingsAccounts.tpl b/modules/Emails/templates/emailSettingsAccounts.tpl new file mode 100755 index 00000000..55985a4b --- /dev/null +++ b/modules/Emails/templates/emailSettingsAccounts.tpl @@ -0,0 +1,55 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + + + + + +
                    +

                    {$app_strings.LBL_EMAIL_ACCOUNTS_TITLE}

                    +
                    + {include file="modules/Emails/templates/emailSettingsAccountDetails.tpl"} +
                    + +
                    diff --git a/modules/Emails/templates/emailSettingsFolders.tpl b/modules/Emails/templates/emailSettingsFolders.tpl new file mode 100755 index 00000000..7a844172 --- /dev/null +++ b/modules/Emails/templates/emailSettingsFolders.tpl @@ -0,0 +1,66 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + + + + + + + +
                    +

                    {$app_strings.LBL_EMAIL_FOLDERS_TITLE}

                    +
                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_USER_FOLDERS}: + +
                    +
                    +
                    + +
                    +
                        + +
                    diff --git a/modules/Emails/templates/emailSettingsGeneral.tpl b/modules/Emails/templates/emailSettingsGeneral.tpl new file mode 100755 index 00000000..10a1a7c8 --- /dev/null +++ b/modules/Emails/templates/emailSettingsGeneral.tpl @@ -0,0 +1,115 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + + + + + + + + + + + + + + +
                    +

                    {$app_strings.LBL_EMAIL_SETTINGS_TITLE_PREFERENCES}

                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_CHECK_INTERVAL}: + + {html_options options=$emailCheckInterval.options selected=$emailCheckInterval.selected name='emailCheckInterval' id='emailCheckInterval'} + + {$app_strings.LBL_EMAIL_SIGNATURES}: + + {$signaturesSettings} {$signatureButtons} + +
                    + {$app_strings.LBL_EMAIL_SETTINGS_SEND_EMAIL_AS}: + + + + {$mod_strings.LBL_SIGNATURE_PREPEND}: + + +
                    + {$app_strings.LBL_EMAIL_CHARSET}: + + {html_options options=$charset.options selected=$charset.selected name='default_charset' id='default_charset'} + +   + +   +
                    + + + + + + + + + + +
                    +

                    {$app_strings.LBL_EMAIL_SETTINGS_TITLE_LAYOUT}

                    +
                    + {$app_strings.LBL_EMAIL_SETTINGS_SHOW_NUM_IN_LIST}: + + + +   
                    + +{include file="modules/Emails/templates/emailSettingsFolders.tpl"} + + +
                    + diff --git a/modules/Emails/templates/emailSettingsRules.tpl b/modules/Emails/templates/emailSettingsRules.tpl new file mode 100755 index 00000000..5c05836b --- /dev/null +++ b/modules/Emails/templates/emailSettingsRules.tpl @@ -0,0 +1,47 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + + +
                    +
                    {$app_strings.LBL_EMAIL_RULES_TITLE}
                    +
                     
                     
                    \ No newline at end of file diff --git a/modules/Emails/templates/importRelate.tpl b/modules/Emails/templates/importRelate.tpl new file mode 100755 index 00000000..5b831b79 --- /dev/null +++ b/modules/Emails/templates/importRelate.tpl @@ -0,0 +1,127 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +{$SQS} +{literal} + +{/literal} +
                    +
                    + + + +
                    + + + + + + + +
                    + + + +{if $showAssignedTo} + + + +{/if} + + + + +{if $showDelete} + + +{/if} +
                    + + +{sugar_translate label="LBL_ASSIGNED_TO"}: + + + + + +
                    +{sugar_translate label="LBL_EMAIL_RELATE"}: + +
                    + + + + + + + + +
                    +
                    +{sugar_translate label="LBL_DELETE_FROM_SERVER"}: + + +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Emails/templates/outboundDialog.tpl b/modules/Emails/templates/outboundDialog.tpl new file mode 100755 index 00000000..fb120c5b --- /dev/null +++ b/modules/Emails/templates/outboundDialog.tpl @@ -0,0 +1,137 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + {$app_strings.LBL_EMAIL_ACCOUNTS_NAME}: + + {$app_strings.LBL_REQUIRED_SYMBOL} + + + +
                    {sugar_translate module='Emails' label='LBL_CHOOSE_EMAIL_PROVIDER'}
                    +
                    + + + + + + + + + + + + + + + + + + + + +
                    +
                    +
                    + + + + + + + + + + + + + + + + + + + + + + + + + +
                    {sugar_translate module='Emails' label='LBL_MAIL_SMTPSERVER'} {$app_strings.LBL_REQUIRED_SYMBOL}{sugar_translate module='Emails' label='LBL_MAIL_SMTPPORT'}
                    {sugar_translate module='Emails' label='LBL_MAIL_SMTPAUTH_REQ'} + + {$app_strings.LBL_EMAIL_SMTP_SSL_OR_TLS} + +
                    {sugar_translate module='Emails' label='LBL_MAIL_SMTPUSER'} {$app_strings.LBL_REQUIRED_SYMBOL}  
                    {sugar_translate module='Emails' label='LBL_MAIL_SMTPPASS'} {$app_strings.LBL_REQUIRED_SYMBOL}  
                    +
                    +
                    +   +   +
                    +
                    +
                    diff --git a/modules/Emails/templates/outboundDialogTest.tpl b/modules/Emails/templates/outboundDialogTest.tpl new file mode 100755 index 00000000..4b6407b8 --- /dev/null +++ b/modules/Emails/templates/outboundDialogTest.tpl @@ -0,0 +1,58 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + + + + + + +
                    + {$app_strings.LBL_EMAIL_SETTINGS_FROM_TO_EMAIL_ADDR} + + {$app_strings.LBL_REQUIRED_SYMBOL} + + + +
                    +   +   +
                    +
                    diff --git a/modules/Emails/templates/overlay.tpl b/modules/Emails/templates/overlay.tpl new file mode 100755 index 00000000..84eb03e8 --- /dev/null +++ b/modules/Emails/templates/overlay.tpl @@ -0,0 +1,58 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + +
                    +
                    +
                    + +
                    + + + + +   + +
                    +
                    +
                    +
                    +{overlib_includes} diff --git a/modules/Emails/templates/reports.tpl b/modules/Emails/templates/reports.tpl new file mode 100755 index 00000000..5518884a --- /dev/null +++ b/modules/Emails/templates/reports.tpl @@ -0,0 +1,52 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + ********************************************************************************/ +*} +
                    + + + + + +
                    + {sugar_translate label="LBL_REPORTS" module="Reports"}:  + + + + +
                    +
                    diff --git a/modules/Emails/templates/successMessage.tpl b/modules/Emails/templates/successMessage.tpl new file mode 100755 index 00000000..068cf540 --- /dev/null +++ b/modules/Emails/templates/successMessage.tpl @@ -0,0 +1,48 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + + + + +
                    + {$app_strings.LBL_EMAIL_SUCCESS} +
                    + {$message} +
                    \ No newline at end of file diff --git a/modules/Home/Dashlets/ChartsDashlet/ChartsDashletScript.tpl b/modules/Home/Dashlets/ChartsDashlet/ChartsDashletScript.tpl new file mode 100755 index 00000000..e14e46ca --- /dev/null +++ b/modules/Home/Dashlets/ChartsDashlet/ChartsDashletScript.tpl @@ -0,0 +1,44 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + diff --git a/modules/Home/Dashlets/InvadersDashlet/InvadersDashlet.tpl b/modules/Home/Dashlets/InvadersDashlet/InvadersDashlet.tpl new file mode 100755 index 00000000..135fd72d --- /dev/null +++ b/modules/Home/Dashlets/InvadersDashlet/InvadersDashlet.tpl @@ -0,0 +1,80 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +*} +
                    + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                         
                         
                         
                         
                    +
                    +
                    + diff --git a/modules/Home/Dashlets/InvadersDashlet/InvadersDashletScript.tpl b/modules/Home/Dashlets/InvadersDashlet/InvadersDashletScript.tpl new file mode 100755 index 00000000..6e1c1eb2 --- /dev/null +++ b/modules/Home/Dashlets/InvadersDashlet/InvadersDashletScript.tpl @@ -0,0 +1,261 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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}{/literal} diff --git a/modules/Home/Dashlets/InvadersDashlet/InvadersOptions.tpl b/modules/Home/Dashlets/InvadersDashlet/InvadersOptions.tpl new file mode 100755 index 00000000..0b777818 --- /dev/null +++ b/modules/Home/Dashlets/InvadersDashlet/InvadersOptions.tpl @@ -0,0 +1,70 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    {$heightLbl} + +
                    + +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/JotPadDashlet/JotPadDashlet.tpl b/modules/Home/Dashlets/JotPadDashlet/JotPadDashlet.tpl new file mode 100755 index 00000000..bb25888d --- /dev/null +++ b/modules/Home/Dashlets/JotPadDashlet/JotPadDashlet.tpl @@ -0,0 +1,44 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                    {$savedText}
                    + diff --git a/modules/Home/Dashlets/JotPadDashlet/JotPadDashletOptions.tpl b/modules/Home/Dashlets/JotPadDashlet/JotPadDashletOptions.tpl new file mode 100755 index 00000000..861c2d25 --- /dev/null +++ b/modules/Home/Dashlets/JotPadDashlet/JotPadDashletOptions.tpl @@ -0,0 +1,70 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    {$heightLbl} + +
                    + +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/JotPadDashlet/JotPadDashletScript.tpl b/modules/Home/Dashlets/JotPadDashlet/JotPadDashletScript.tpl new file mode 100755 index 00000000..2d67f133 --- /dev/null +++ b/modules/Home/Dashlets/JotPadDashlet/JotPadDashletScript.tpl @@ -0,0 +1,88 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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}{/literal} diff --git a/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashlets.tpl b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashlets.tpl new file mode 100755 index 00000000..25429ac7 --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashlets.tpl @@ -0,0 +1,42 @@ +{* + +/** +* 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". +*/ + +*} + + +
                    {$savedText}lkjhlkjhlkjhlkjh
                    + diff --git a/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsOptions.tpl b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsOptions.tpl new file mode 100755 index 00000000..cecf6484 --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsOptions.tpl @@ -0,0 +1,82 @@ +{* + +/** +* 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". +*/ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    {$statusLbl} + +
                    {$userLbl} + +
                    {$typeLbl} + +
                    + +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsScript.tpl b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsScript.tpl new file mode 100755 index 00000000..3361371c --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCalendarsDashlets/MyEcmCalendarsDashletsScript.tpl @@ -0,0 +1,88 @@ +{* + +/** + * 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}{/literal} diff --git a/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlOptions.tpl b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlOptions.tpl new file mode 100755 index 00000000..f583903e --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlOptions.tpl @@ -0,0 +1,81 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    Date + + + +
                    {$userLbl} + +
                    + +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashleOptions.tpl b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashleOptions.tpl new file mode 100755 index 00000000..2b603283 --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashleOptions.tpl @@ -0,0 +1,81 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    Date + + + +
                    {$userLbl} + +
                    + +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlets.tpl b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlets.tpl new file mode 100755 index 00000000..f8b5ac45 --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashlets.tpl @@ -0,0 +1,44 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                    {$savedText}lkjhlkjhlkjhlkjh
                    + diff --git a/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashletsScript.tpl b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashletsScript.tpl new file mode 100755 index 00000000..3361371c --- /dev/null +++ b/modules/Home/Dashlets/MyEcmCallsMoreDashlets/MyEcmCallsMoreDashletsScript.tpl @@ -0,0 +1,88 @@ +{* + +/** + * 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}{/literal} diff --git a/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletOptions.tpl b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletOptions.tpl new file mode 100755 index 00000000..1f063c3f --- /dev/null +++ b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletOptions.tpl @@ -0,0 +1,128 @@ +{* + +/** + * 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". + */ + + + +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    Title +
                    Period{$date}  
                     ShowTitleOrder
                    Sales{$sales}{$sales_title}{$sales_no}
                    Sales in year{$sales_year}{$sales_year_title}{$sales_year_no}
                    Order fulfillment{$percent}{$percent_title}{$percent_no}
                    Quotes{$quotes}{$quotes_title}{$quotes_no}
                    Orders{$orders}{$orders_title}{$orders_no}
                    Stocks{$stocks}{$stocks_title}{$stocks_no}
                    Products{$products}{$products_title}{$products_no}
                    New products{$new_products}{$new_products_title}{$new_products_no}
                    Payments{$payments}{$payments_title}{$payments_no}
                    +
                    +
                    +
                    diff --git a/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashlets.tpl b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashlets.tpl new file mode 100755 index 00000000..f368f62b --- /dev/null +++ b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashlets.tpl @@ -0,0 +1,49 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + + + +*} + + +
                    aaaaa +{php} +include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php'); +open_flash_chart_object(900,500,'modules/Home/Dashlets/MyEcmReportDashlets/salesYearChart.php',false,'include/ECM/open_flash_chart/'); +{/php} +
                    + diff --git a/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletsScript.tpl b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletsScript.tpl new file mode 100755 index 00000000..3361371c --- /dev/null +++ b/modules/Home/Dashlets/MyEcmReportDashlets/MyEcmReportDashletsScript.tpl @@ -0,0 +1,88 @@ +{* + +/** + * 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}{/literal} diff --git a/modules/Home/Dashlets/RSSDashlet/RSSDashlet.tpl b/modules/Home/Dashlets/RSSDashlet/RSSDashlet.tpl new file mode 100755 index 00000000..5612ea34 --- /dev/null +++ b/modules/Home/Dashlets/RSSDashlet/RSSDashlet.tpl @@ -0,0 +1,43 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +
                    +{$rss_output} +
                    \ No newline at end of file diff --git a/modules/Home/Dashlets/RSSDashlet/RSSDashletOptions.tpl b/modules/Home/Dashlets/RSSDashlet/RSSDashletOptions.tpl new file mode 100755 index 00000000..9c5da210 --- /dev/null +++ b/modules/Home/Dashlets/RSSDashlet/RSSDashletOptions.tpl @@ -0,0 +1,76 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLbl} + +
                    {$rssUrlLbl} + +
                    {$heightLbl} + +
                    + +
                    +
                    + +
                    \ No newline at end of file diff --git a/modules/Home/Dashlets/SugarNewsDashlet/configure.tpl b/modules/Home/Dashlets/SugarNewsDashlet/configure.tpl new file mode 100755 index 00000000..791b10fc --- /dev/null +++ b/modules/Home/Dashlets/SugarNewsDashlet/configure.tpl @@ -0,0 +1,73 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLBL} + +
                    {$urlLBL} + +
                    {$heightLBL} + +
                    + +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Home/Dashlets/iFrameDashlet/configure.tpl b/modules/Home/Dashlets/iFrameDashlet/configure.tpl new file mode 100755 index 00000000..791b10fc --- /dev/null +++ b/modules/Home/Dashlets/iFrameDashlet/configure.tpl @@ -0,0 +1,73 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + +
                    +
                    + + + + + + + + + + + + + + + + + + + + + +
                    {$titleLBL} + +
                    {$urlLBL} + +
                    {$heightLBL} + +
                    + +
                    +
                    +
                    \ No newline at end of file diff --git a/modules/Home/Home.tpl b/modules/Home/Home.tpl new file mode 100755 index 00000000..0c94d612 --- /dev/null +++ b/modules/Home/Home.tpl @@ -0,0 +1,213 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} + + + + + + + + + + + + + + + + + +
                    +
                    + + + {if $numCols > 2} + + + + {/if} + {if $numCols > 1} + + + {/if} + + + + {counter assign=hiddenCounter start=0 print=false} + {foreach from=$columns key=colNum item=data} + + {counter} + {/foreach} + +
                    +   + + + +   + + + + + + {$lblLnkHelp} + + + {$lblLnkHelp} + +
                    +
                      +
                    •    
                    • + {foreach from=$data.dashlets key=id item=dashlet} +
                    • +
                      + {$dashlet.script} + {$dashlet.display} +
                      +
                    • + {/foreach} +
                    •    
                    • +
                    +
                    +
                    + + {foreach from=$divPages key=divPageIndex item=divPageNum} + + {/foreach} + + + + + +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + +{if !$lock_homepage} +{literal} + +{/literal} +{/if} \ No newline at end of file diff --git a/modules/Home/TrainingPortal.tpl b/modules/Home/TrainingPortal.tpl new file mode 100755 index 00000000..ba04770b --- /dev/null +++ b/modules/Home/TrainingPortal.tpl @@ -0,0 +1,43 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + diff --git a/modules/Home/UnifiedSearchAdvanced.tpl b/modules/Home/UnifiedSearchAdvanced.tpl new file mode 100755 index 00000000..22fe5ae9 --- /dev/null +++ b/modules/Home/UnifiedSearchAdvanced.tpl @@ -0,0 +1,72 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
                    + + + + + + + + + + + {foreach from=$MODULES_TO_SEARCH name=m key=module item=info} + {if $smarty.foreach.m.first} + + {/if} + + + {if $smarty.foreach.m.index % 2 == 1} + + {/if} + {/foreach} + +
                    {sugar_translate label='LBL_MODULES_TO_SEARCH' module='Home'} + +
                    + + + {$info.translated} +
                    +
                    \ No newline at end of file diff --git a/modules/Home/UnifiedSearchAdvancedForm.tpl b/modules/Home/UnifiedSearchAdvancedForm.tpl new file mode 100755 index 00000000..3fdbb8de --- /dev/null +++ b/modules/Home/UnifiedSearchAdvancedForm.tpl @@ -0,0 +1,73 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
                    +
                    + + + + + + + + + + + + {foreach from=$MODULES_TO_SEARCH name=m key=module item=info} + + + {if $smarty.foreach.m.index % 4 == 3} + + {/if} + {/foreach} + +
                    + + +   +
                    + + + {$info.translated} +
                    +
                    \ No newline at end of file diff --git a/modules/Home/UnifiedSearchAdvancedResults.tpl b/modules/Home/UnifiedSearchAdvancedResults.tpl new file mode 100755 index 00000000..3f8d3fa6 --- /dev/null +++ b/modules/Home/UnifiedSearchAdvancedResults.tpl @@ -0,0 +1,152 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +{if $overlib} + + +{/if} + + + + + + + {if $prerow} + + {/if} + {foreach from=$displayColumns key=colHeader item=params} + + {/foreach} + + + {counter start=0 name=rowCounter print=false} + {foreach from=$data key=id item=rowData} + {if $rowCounter is even} + {assign var="_rowColor" value=$rowColor[0]} + {else} + {assign var="_rowColor" value=$rowColor[1]} + {/if} + + {if $prerow} + + {/if} + {foreach from=$displayColumns key=col item=params} + + {/foreach} + + + {counter print=false} + {/foreach} + + + +
                    + + + + + {else} +   Next Next + {/if} + + +
                    {$exportLink}{$mergeLink}{$selectedObjectsSpan}  + {if $pageData.urls.startPage} + Start Start   + {else} + Start Start   + {/if} + {if $pageData.urls.prevPage} + Previous Previous   + {else} + Previous Previous   + {/if} + ({$pageData.offsets.current+1} - {$pageData.offsets.next} of {if $pageData.offsets.totalCounted}{$pageData.offsets.total}{else}{$rowCount+1}}+{/if})   + {if $pageData.urls.nextPage} + Next Next   + {else} +   Next Next + {/if} + {if $pageData.urls.endPage} + End End
                    +
                    {$checkall} + {$params.label} Sort +
                    + {if $params.link} + {if $params.customCode} + {sugar_evalcolumn_old var=$params.customCode rowData=$rowData} + {else} + <{$pageData.tag.$id.MAIN} href="index.php?action={$params.action|default:"DetailView"}&module={$params.module|default:$pageData.bean.moduleDir}&record={$rowData[$params.id]|default:$id}&offset={$pageData.offsets.current}&stamp={$pageData.stamp}" >{$rowData.$col} + {/if} + {else} + {$rowData.$col} + {/if} +
                    + + + + + {else} +   Next Next + {/if} + + +
                    {$exportLink}{$mergeLink}{$selectedObjectsSpan}  + {if $pageData.urls.startPage} + Start Start   + {else} + Start Start   + {/if} + {if $pageData.urls.prevPage} + Previous Previous   + {else} + Previous Previous   + {/if} + ({$pageData.offsets.current+1} - {$pageData.offsets.next} of {if $pageData.offsets.totalCounted}{$pageData.offsets.end}{else}{$rowCount+1}}+{/if})   + {if $pageData.urls.nextPage} + Next Next   + {else} +   Next Next + {/if} + {if $pageData.urls.endPage} + End End
                    +
                    \ No newline at end of file diff --git a/modules/Home/sitemap.tpl b/modules/Home/sitemap.tpl new file mode 100755 index 00000000..b5d85099 --- /dev/null +++ b/modules/Home/sitemap.tpl @@ -0,0 +1,79 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + +
                    + + + + + + + + + + + + + + +
                    + +
                    +
                    {$ACTIVITIES}
                    +
                    {$EMAILS}
                    +
                    +
                    {$CONTACTS}
                    +
                    {$ACCOUNTS}
                    +
                    {$LEADS}
                    +
                    {$OPPORTUNITIES}
                    +
                    +
                    {$PROJECT}
                    +
                    {$CASES}
                    +
                    {$BUGS}
                    +
                    {$DOCUMENTS}
                    +
                    +
                    {$CAMPAIGNS}
                    +
                    {$QUOTES}
                    +
                    {$REPORTS}
                    +
                    +
                    + \ No newline at end of file diff --git a/modules/Home/tpl/StanyPDF.tpl b/modules/Home/tpl/StanyPDF.tpl new file mode 100644 index 00000000..1f30a7fb --- /dev/null +++ b/modules/Home/tpl/StanyPDF.tpl @@ -0,0 +1,266 @@ +{literal} + + + + + + + + + +{/literal} +
                    + + + + + + + + + + + + + +{assign var=position value=1} +{foreach from=$data item=ROW name=part"} +{assign var=dataCount value=$DATA|@count} + + + + + + + + + + + {assign var=position value=$position+1} + + {/foreach} + +
                    Lp.INDEKSNAZWAJ.M.ILOŚĆ REM
                    {$position}{$ROW.product_code }{$ROW.product_name}{$ROW.jm }                
                    + + + +
                    +
                    + + + + diff --git a/modules/Import/tpls/error.tpl b/modules/Import/tpls/error.tpl new file mode 100755 index 00000000..0d4b5904 --- /dev/null +++ b/modules/Import/tpls/error.tpl @@ -0,0 +1,58 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + +
                    + + + + + +

                    {$MESSAGE}

                    + + + + + +
                    + +
                    +
                    diff --git a/modules/Import/tpls/last.tpl b/modules/Import/tpls/last.tpl new file mode 100755 index 00000000..b3dbb20c --- /dev/null +++ b/modules/Import/tpls/last.tpl @@ -0,0 +1,86 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{$MODULE_TITLE} + +{$MOD.LBL_SUCCESS}
                    +{if $createdCount > 0} +{$createdCount} {$MOD.LBL_SUCCESSFULLY_IMPORTED}
                    +{/if} +{if $updatedCount > 0} +{$updatedCount} {$MOD.LBL_UPDATE_SUCCESSFULLY}
                    +{/if} +{if $errorCount > 0} +{$errorCount} {$MOD.LBL_RECORDS_SKIPPED_DUE_TO_ERROR}
                    +{$MOD.LNK_ERROR_LIST}
                    +{$MOD.LNK_RECORDS_SKIPPED_DUE_TO_ERROR}
                    +{/if} +{if $dupeCount > 0} +{$dupeCount} {$MOD.LBL_DUPLICATES}
                    +{$MOD.LNK_DUPLICATE_LIST}
                    +{/if} + +
                    + + + + +
                    + + + + +
                    + + + + {$PROSPECTLISTBUTTON} +
                    +
                    +{if $PROSPECTLISTBUTTON != ''} +
                    + + +
                    +{/if} +{$JAVASCRIPT} diff --git a/modules/Import/tpls/step1.tpl b/modules/Import/tpls/step1.tpl new file mode 100755 index 00000000..ea490324 --- /dev/null +++ b/modules/Import/tpls/step1.tpl @@ -0,0 +1,187 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{overlib_includes} +{$MODULE_TITLE} +{if $ERROR != ''} +{$ERROR} +{/if} + +
                    + + + +

                    + + + + +
                    + + + + +
                    + + + + + + + + + + + + + + + + + + + + + {if $show_salesforce} + + + + {/if} + {if $show_outlook} + + + + {/if} + {if $show_act} + + + + {/if} + {foreach from=$custom_imports key=key item=item name=saved} + {if $smarty.foreach.saved.first} + + + + {/if} + + + + + {/foreach} + {foreach from=$published_imports key=key item=item name=published} + {if $smarty.foreach.published.first} + + + + {/if} + + + + + {/foreach} + + + + + + + + + +

                    {$MOD.LBL_WHAT_IS} *

                    +  {$MOD.LBL_CSV} {sugar_help text=$MOD.LBL_DELIMITER_COMMA_HELP}
                      {$MOD.LBL_CUSTOM_ENCLOSURE} + + + {sugar_help text=$MOD.LBL_ENCLOSURE_HELP} +
                    +  {$MOD.LBL_TAB} {sugar_help text=$MOD.LBL_DELIMITER_TAB_HELP}
                    +  {$MOD.LBL_CUSTOM_DELIMITED} {sugar_help text=$MOD.LBL_DELIMITER_CUSTOM_HELP}
                    +  {$MOD.LBL_SALESFORCE}
                    +  {$MOD.LBL_MICROSOFT_OUTLOOK}
                    +  {$MOD.LBL_ACT}
                    +
                    {$MOD.LBL_MY_SAVED} {sugar_help text=$MOD.LBL_MY_SAVED_HELP}
                    + +  {$item.IMPORT_NAME} + + {if $is_admin} + + {/if} + +
                    +
                    {$MOD.LBL_PUBLISHED_SOURCES} {sugar_help text=$MOD.LBL_MY_PUBLISHED_HELP}
                    + +  {$item.IMPORT_NAME} + + {if $is_admin} + + + {/if} +
                    +

                    {$MOD.LBL_IMPORT_TYPE} *

                    + +  {$MOD.LBL_IMPORT_BUTTON} +
                    + +  {$MOD.LBL_UPDATE_BUTTON} +
                    +
                    +
                    +

                    + +
                    + + + + +
                    + +
                    +{$JAVASCRIPT} diff --git a/modules/Import/tpls/step2.tpl b/modules/Import/tpls/step2.tpl new file mode 100755 index 00000000..98a0dff9 --- /dev/null +++ b/modules/Import/tpls/step2.tpl @@ -0,0 +1,111 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{$MODULE_TITLE} +
                    + + + + + + + + +{foreach from=$instructions key=key item=item name=instructions} +{if $smarty.foreach.instructions.first} + + + + + + + +

                    {$INSTRUCTIONS_TITLE}

                    + +{/if} + + + + +{if $smarty.foreach.instructions.last} +
                    {$item.STEP_NUM}{$item.INSTRUCTION_STEP}
                    +
                    +{/if} +{/foreach} + +
                    + + + + + +
                    + + + + + + + + + + +
                    {$MOD.LBL_SELECT_FILE}
                    + + +
                    + {$MOD.LBL_HAS_HEADER}  +
                    + + +
                    + +
                    + + + + +
                    +   + +
                    + +
                    +{$JAVASCRIPT} diff --git a/modules/Import/tpls/step3.tpl b/modules/Import/tpls/step3.tpl new file mode 100755 index 00000000..277090b2 --- /dev/null +++ b/modules/Import/tpls/step3.tpl @@ -0,0 +1,368 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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} + +{/literal} + +{overlib_includes} +{$MODULE_TITLE} +
                    + + + + + + + + + + + + + + + + +
                    + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED} +
                    + +

                    +{$MOD.LBL_SELECT_FIELDS_TO_MAP} +

                    +
                    + +{foreach from=$rows key=key item=item name=rows} +{if $smarty.foreach.rows.first} + + + {if $HAS_HEADER == 'on'} + + {/if} + + + {if $HAS_HEADER != 'on'} + + {/if} + +{/if} + + + {if $HAS_HEADER == 'on'} + + {/if} + + {if $item.show_remove} + + {else} + {if $HAS_HEADER != 'on'} + + {/if} + + {/if} + +{/foreach} + + + + + + +
                    + {$MOD.LBL_DATABASE_FIELD}  + {sugar_help text=$MOD.LBL_DATABASE_FIELD_HELP} + + {$MOD.LBL_HEADER_ROW}  + {sugar_help text=$MOD.LBL_HEADER_ROW_HELP} + + {$MOD.LBL_DEFAULT_VALUE}  + {sugar_help text=$MOD.LBL_DEFAULT_VALUE_HELP} + + {$MOD.LBL_ROW} 1  + {sugar_help text=$MOD.LBL_ROW_HELP} + {$MOD.LBL_ROW} 2
                    + + {$item.cell1} + {$item.default_field} + + + {$item.cell1}{$item.cell2}
                    + + +        + {$MOD.LBL_SAVE_MAPPING_AS} + + +  {sugar_help text=$MOD.LBL_SAVE_MAPPING_HELP} + +
                    +{$JAVASCRIPT_CHOOSER} + +{if $NOTETEXT != '' || $required_fields != ''} +

                    +{$MOD.LBL_NOTES} +

                      +
                    • {$MOD.LBL_REQUIRED_NOTE}{$required_fields}
                    • +{$NOTETEXT} +
                    +

                    +{/if} + +
                    + + + + +
                    +   + +
                    + +
                    +{literal} + +{/literal} +{$JAVASCRIPT} +{literal} + +{/literal} diff --git a/modules/Import/tpls/undo.tpl b/modules/Import/tpls/undo.tpl new file mode 100755 index 00000000..07a3573d --- /dev/null +++ b/modules/Import/tpls/undo.tpl @@ -0,0 +1,64 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} +{if $UNDO_SUCCESS} +

                    {$MOD.LBL_SUCCESS} {$MOD.LBL_LAST_IMPORT_UNDONE}

                    +{else} +

                    {$MOD.LBL_FAIL} {$MOD.LBL_NO_IMPORT_TO_UNDO}

                    +{/if} +
                    + + + + +
                    + + + + +
                    + + +
                    +
                    +{$JAVASCRIPT} diff --git a/modules/Leads/tpls/ConvertLead.tpl b/modules/Leads/tpls/ConvertLead.tpl new file mode 100755 index 00000000..b4eccbc6 --- /dev/null +++ b/modules/Leads/tpls/ConvertLead.tpl @@ -0,0 +1,166 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{$ERROR} +{{foreach name=section from=$sectionPanels key=label item=panel}} +{{counter name="panelCount" print=false}} +

                    + +
                    + + +{{if isset($def.templateMeta.form.hidden)}} +{{foreach from=$def.templateMeta.form.hidden item=field}} +{{$field}} +{{/foreach}} +{{/if}} +{if !$def.required || !empty($def.select)} + + + +{sugar_translate label='{{$label}}' module='Leads'} + +{{if !empty($def.select)}} + {sugar_translate label='LNK_SELECT_{{$module|strtoupper}}' module='Leads'} + {if $def.required } + {{$APP.LBL_REQUIRED_SYMBOL}} + {/if} + +{{sugar_field parentFieldArray='contact_def' vardef=$contact_def[$def.select] displayType='EditView' formName=$form_name form_name=$form_name}} + +{{/if}} +
                    +

                    + +{{assign var='rowCount' value=0}} +{{foreach name=rowIteration from=$panel key=row item=rowData}} + + {{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}} + {{if count($rowData) == $colCount}} + {{assign var="colCount" value=0}} + {{/if}} + {{if empty($def.templateMeta.labelsOnTop) && empty($colData.field.hideLabel)}} + + {{/if}} + + {{/foreach}} + +{{/foreach}} +
                    + {{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)) || + (isset($colData.field.displayParams.required) && $colData.field.displayParams.required)}} + {{$APP.LBL_REQUIRED_SYMBOL}} + {{/if}} + + {{if $fields[$colData.field.name] && !empty($colData.field.fields) }} + {{foreach from=$colData.field.fields item=subField}} + {{if $fields[$subField.name]}} + {counter name="panelFieldCount" print=false} + {{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" print=false} + {{php}}$this->_tpl_vars['colData']['field']['displayParams']['idName'] = $this->_tpl_vars['module'] . $this->_tpl_vars['colData']['field']['name'];{{/php}} + {{sugar_evalcolumn var=$colData.field.customCode colData=$colData tabindex=$colData.field.tabindex}} + {{elseif $fields[$colData.field.name]}} + {counter name="panelFieldCount" print=false} + {{$colData.displayParams}} + {{php}}$this->_tpl_vars['colData']['field']['displayParams']['idName'] = $this->_tpl_vars['module'] . $this->_tpl_vars['colData']['field']['name'];{{/php}} + {{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}} \ No newline at end of file diff --git a/modules/Leads/tpls/ConvertLeadFooter.tpl b/modules/Leads/tpls/ConvertLeadFooter.tpl new file mode 100755 index 00000000..68dd4f26 --- /dev/null +++ b/modules/Leads/tpls/ConvertLeadFooter.tpl @@ -0,0 +1,61 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + + + + +
                    +{if $bean->aclAccess("save")} + +{/if} + +{if !empty($smarty.request.return_action) && ($smarty.request.return_action == "DetailView" && !empty($record_id))} + +{elseif !empty($smarty.request.return_action) && ($smarty.request.return_action == "DetailView" && !empty($smarty.request.return_id))}'; + +{else} + +{/if} +
                    \ No newline at end of file diff --git a/modules/Leads/tpls/ConvertLeadHeader.tpl b/modules/Leads/tpls/ConvertLeadHeader.tpl new file mode 100755 index 00000000..be6485ed --- /dev/null +++ b/modules/Leads/tpls/ConvertLeadHeader.tpl @@ -0,0 +1,77 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                    + + + + +
                    + + + + + + + + + + +{if !empty($smarty.request.return_module)} + + +{/if} + +{if $bean->aclAccess("save")} + +{/if} + +{if !empty($smarty.request.return_action) && ($smarty.request.return_action == "DetailView" && !empty($record_id))} + +{elseif !empty($smarty.request.return_action) && ($smarty.request.return_action == "DetailView" && !empty($smarty.request.return_id))}'; + +{else} + +{/if} +
                    \ No newline at end of file diff --git a/modules/Leads/tpls/DetailViewHeader.tpl b/modules/Leads/tpls/DetailViewHeader.tpl new file mode 100755 index 00000000..dc03fa75 --- /dev/null +++ b/modules/Leads/tpls/DetailViewHeader.tpl @@ -0,0 +1,80 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +{assign var=preForm value="
                    "} +{assign var=displayPreform value=false} +{if isset($bean->contact_id) && !empty($bean->contact_id)} +{assign var=displayPreform value=true} +{assign var=preForm value=$preForm|cat:$MOD.LBL_CONVERTED_CONTACT} +{assign var=preForm value=$preForm|cat:" "} +{assign var=preForm value=$preForm|cat:$bean->contact_name} +{assign var=preForm value=$preForm|cat:""} +{/if} + +{assign var=preForm value=$preForm|cat:""} + +{if isset($bean->account_id) && !empty($bean->account_id)} +{assign var=displayPreform value=true} +{assign var=preForm value=$preForm|cat:$MOD.LBL_CONVERTED_ACCOUNT} +{assign var=preForm value=$preForm|cat:" "} +{assign var=preForm value=$preForm|cat:$bean->account_name} +{assign var=preForm value=$preForm|cat:""} +{/if} + +{assign var=preForm value=$preForm|cat:""} + +{if isset($bean->opportunity_id) && !empty($bean->opportunity_id)} +{assign var=displayPreform value=true} +{assign var=preForm value=$preForm|cat:$MOD.LBL_CONVERTED_OPP} +{assign var=preForm value=$preForm|cat:" "} +{assign var=preForm value=$preForm|cat:$bean->opportunity_name} +{assign var=preForm value=$preForm|cat:""} +{/if} + +{assign var=preForm value=$preForm|cat:"
                    "} +{if $displayPreform} +{$preForm} +
                    +{/if} + +{{include file='include/DetailView/header.tpl'}} \ No newline at end of file diff --git a/modules/Leads/tpls/QuickCreate.tpl b/modules/Leads/tpls/QuickCreate.tpl new file mode 100755 index 00000000..b71bf574 --- /dev/null +++ b/modules/Leads/tpls/QuickCreate.tpl @@ -0,0 +1,95 @@ +{* + +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ + + + +*} + + + + + + + + + + + + + + + + + + + + + + + + +
                    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                    + + +
                    + + + + + + + + + + + + + + + + + + + +

                    {$MOD.LBL_CONTACT_INFORMATION}

                    {$MOD.LBL_FIRST_NAME} {$MOD.LBL_OFFICE_PHONE}
                    {$MOD.LBL_LAST_NAME} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_EMAIL_ADDRESS}
                    {$MOD.LBL_LEAD_SOURCE}
                    + + \ No newline at end of file diff --git a/modules/Meetings/tpls/QuickCreate.tpl b/modules/Meetings/tpls/QuickCreate.tpl new file mode 100755 index 00000000..a527843f --- /dev/null +++ b/modules/Meetings/tpls/QuickCreate.tpl @@ -0,0 +1,149 @@ +{* + +/** + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + */ + +// $Id$ + +*} + + +
                    + + + + + + + + + + + + + + + + +{if $REQUEST.parent_id} + +{else} + +{/if} +{if $REQUEST.parent_type} + +{else} + +{/if} + + + + + + + + + + + + +
                    + + + {$APP.LBL_REQUIRED_SYMBOL} {$APP.NTC_REQUIRED}
                    + + + + +
                    + + + + + + + + + + + + + + + + + + + + +

                    {$MOD.LBL_NEW_FORM_TITLE}

                    {$MOD.LBL_SUBJECT} {$APP.LBL_REQUIRED_SYMBOL}{$MOD.LBL_STATUS} {$APP.LBL_REQUIRED_SYMBOL}
                    {$MOD.LBL_DESCRIPTION}{$MOD.LBL_DATE_TIME} + + + + + + + + + + +
                    + + {$USER_DATEFORMAT}  + {$TIME_SEPARATOR} + + {if $TIME_MERIDIEM} + + {/if} +
                    {$USER_DATEFORMAT}{$TIME_FORMAT}
                    +
                    +
                    {$MOD.LBL_DURATION} {$APP.LBL_REQUIRED_SYMBOL} + {$MOD.LBL_HOURS_MINS}
                    +
                    +
                    + + diff --git a/modules/Meetings/tpls/footer.tpl b/modules/Meetings/tpls/footer.tpl new file mode 100755 index 00000000..2d725899 --- /dev/null +++ b/modules/Meetings/tpls/footer.tpl @@ -0,0 +1,68 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + ********************************************************************************/ +*} +{{include file='include/EditView/footer.tpl'}} + + + + + +

                    {$MOD.LBL_SCHEDULING_FORM_TITLE}

                    +
                    + + + diff --git a/modules/Meetings/tpls/header.tpl b/modules/Meetings/tpls/header.tpl new file mode 100755 index 00000000..cf14fdef --- /dev/null +++ b/modules/Meetings/tpls/header.tpl @@ -0,0 +1,41 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004 - 2009 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". + ********************************************************************************/ +*} +{{include file='include/EditView/header.tpl'}} + + + + diff --git a/modules/ModuleBuilder/tpls/MBModule/Class.tpl b/modules/ModuleBuilder/tpls/MBModule/Class.tpl new file mode 100755 index 00000000..94651cc0 --- /dev/null +++ b/modules/ModuleBuilder/tpls/MBModule/Class.tpl @@ -0,0 +1,70 @@ + \ No newline at end of file diff --git a/modules/ModuleBuilder/tpls/MBModule/DeveloperClass.tpl b/modules/ModuleBuilder/tpls/MBModule/DeveloperClass.tpl new file mode 100755 index 00000000..73c61968 --- /dev/null +++ b/modules/ModuleBuilder/tpls/MBModule/DeveloperClass.tpl @@ -0,0 +1,47 @@ + \ No newline at end of file diff --git a/modules/ModuleBuilder/tpls/MBModule/Menu.tpl b/modules/ModuleBuilder/tpls/MBModule/Menu.tpl new file mode 100755 index 00000000..960232bd --- /dev/null +++ b/modules/ModuleBuilder/tpls/MBModule/Menu.tpl @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/modules/ModuleBuilder/tpls/MBModule/dropdown.tpl b/modules/ModuleBuilder/tpls/MBModule/dropdown.tpl new file mode 100755 index 00000000..1a0d653e --- /dev/null +++ b/modules/ModuleBuilder/tpls/MBModule/dropdown.tpl @@ -0,0 +1,159 @@ + {* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} +
                      + + +
                    + + + + + + +{if ($refreshTree)} + +{/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + +
                    +
                    +
                    + {$MOD.LBL_DROPDOWN_TITLE_NAME}:  + {if $name } + {$dropdown_name} + {else} + + {/if} +
                    + {$MOD.LBL_DROPDOWN_LANGUAGE}:  + {html_options name='dropdown_lang' options=$available_languages selected=$selected_lang onchange='this.form.action.value="dropdown";ModuleBuilder.handleSave("dropdown_form")'} +
                    {$MOD.LBL_DROPDOWN_ITEMS}:
                    {$MOD.LBL_DROPDOWN_ITEM_NAME}[{$MOD.LBL_DROPDOWN_ITEM_LABEL}]
                    +
                      + {foreach from=$options key='name' item='val'} + {if (!isset($val) || $val =='')}{assign var='name' value=$MOD.LBL_BLANK}{/if} +
                    • + + + + + +
                      + {$name} + + + {if (!isset($val) || $val =='')}[{$MOD.LBL_BLANK}]{else}[{$val}]{/if} + + + + + {$editImage} +   + + {$deleteImage} +
                      +
                    • + {/foreach} +
                    +
                    + + + + + + + + + +
                    {$MOD.LBL_DROPDOWN_ITEM_NAME}:{$MOD.LBL_DROPDOWN_ITEM_LABEL}:
                    +
                    + + +
                    +
                    + {literal} + +{/literal} +
                    + diff --git a/modules/ModuleBuilder/tpls/MBModule/dropdowns.tpl b/modules/ModuleBuilder/tpls/MBModule/dropdowns.tpl new file mode 100755 index 00000000..f115426f --- /dev/null +++ b/modules/ModuleBuilder/tpls/MBModule/dropdowns.tpl @@ -0,0 +1,71 @@ +{* +/********************************************************************************* + * SugarCRM is a customer relationship management program developed by + * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Affero 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero 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 Affero General Public License version 3. + * + * In accordance with Section 7(b) of the GNU Affero 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". + ********************************************************************************/ +*} + +