Skip to content

Commit

Permalink
Add variables to link to the manual and titles in Z_Change*.php.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.code.sf.net/p/web-erp/code/trunk@7050 09516a42-71f9-43be-811f-9b821cf0d246
  • Loading branch information
rchacon committed Dec 28, 2014
1 parent 6b0d0e3 commit 7c5d0ff
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 47 deletions.
9 changes: 8 additions & 1 deletion Z_ChangeBranchCode.php
@@ -1,9 +1,16 @@
<?php
/* $Id$*/
/* This script is an utility to change a customer branch code. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE To Changes A Customer Branch Code In All Tables');
$Title = _('UTILITY PAGE To Changes A Customer Branch Code In All Tables');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeBranchCode'; // Anchor's id in the manual's html document.
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/customer.png" title="' .
_('Change A Customer Branch Code') . '" /> ' .// Icon title.
_('Change A Customer Branch Code') . '</p>';// Page title.

if (isset($_POST['ProcessCustomerChange'])){

Expand Down
13 changes: 9 additions & 4 deletions Z_ChangeCustomerCode.php
@@ -1,10 +1,16 @@
<?php
/* $Id$*/
/*Script to Delete all sales transactions*/
/* This script is an utility to change a customer code. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE To Changes A Customer Code In All Tables');
$Title = _('UTILITY PAGE To Changes A Customer Code In All Tables');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeCustomerCode'; // Anchor's id in the manual's html document.
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/customer.png" title="' .
_('Change A Customer Code') . '" /> ' .// Icon title.
_('Change A Customer Code') . '</p>';// Page title.

if (isset($_POST['ProcessCustomerChange'])){

Expand Down Expand Up @@ -244,5 +250,4 @@
</form>';

include('includes/footer.inc');

?>
?>
15 changes: 11 additions & 4 deletions Z_ChangeGLAccountCode.php
@@ -1,10 +1,17 @@
<?php

/*Script to change the GL account code in all webERP */
/* $Id: Z_ChangeGLAccountCode.php 6946 2014-10-27 07:30:11Z daintree $*/
/* This script is an utility to change a GL account code in all webERP. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE Change A GL Account Code');
$Title = _('UTILITY PAGE Change A GL Account Code');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeGLAccountCode'; // Anchor's id in the manual's html document.
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/gl.png" title="' .
_('Change A GL Account Code') . '" /> ' .// Icon title.
_('Change A GL Account Code') . '</p>';// Page title.

include('includes/SQL_CommonFunctions.inc');

if (isset($_POST['ProcessGLAccountCode'])){
Expand Down Expand Up @@ -149,4 +156,4 @@
include('includes/footer.inc');


?>
?>
13 changes: 10 additions & 3 deletions Z_ChangeLocationCode.php
@@ -1,10 +1,17 @@
<?php

/* $Id: Z_ChangeLocationCode.php 5296 2012-04-29 15:28:19Z vvs2012 $*/
/* This script is an utility to change a location code. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE Change A Location Code');
$Title = _('UTILITY PAGE Change A Location Code');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeLocationCode'; // Anchor's id in the manual's html document.
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/maintenance.png" title="' .
_('Change A Location Code') . '" /> ' .// Icon title.
_('Change A Location Code') . '</p>';// Page title.

include('includes/SQL_CommonFunctions.inc');

if (isset($_POST['ProcessLocationChange'])){
Expand Down Expand Up @@ -263,4 +270,4 @@
</form>';

include('includes/footer.inc');
?>
?>
15 changes: 11 additions & 4 deletions Z_ChangeStockCategory.php
@@ -1,10 +1,17 @@
<?php

/* $Id$ */
/* This script is an utility to change a stock category code. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE Change A Stock Category');
include ('includes/header.inc');
$Title = _('UTILITY PAGE Change A Stock Category');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeStockCategory'; // Anchor's id in the manual's html document
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/inventory.png" title="' .
_('Change A Stock Category Code') . '" /> ' .// Icon title.
_('Change A Stock Category Code') . '</p>';// Page title.

include ('includes/SQL_CommonFunctions.inc');

if (isset($_POST['ProcessStockChange'])) {
Expand Down Expand Up @@ -120,4 +127,4 @@
</div>
</form>';
include ('includes/footer.inc');
?>
?>
16 changes: 8 additions & 8 deletions Z_ChangeStockCode.php
Expand Up @@ -5,14 +5,14 @@
$NewValue, $db) from .../includes/MiscFunctions.php.*/

include ('includes/session.inc');
$Title = _('UTILITY PAGE Change A Stock Code');// _('Change An Inventory Item Code')
$ViewTopic = 'SpecialUtilities';
$BookMark = 'Z_ChangeStockCode';// Anchor's id in the manual's html document.
$Title = _('UTILITY PAGE Change A Stock Code');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename in ManualContents.php's TOC.
$BookMark = 'Z_ChangeStockCode'; // Anchor's id in the manual's html document.
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme .
'/images/maintenance.png" title="' .
_('Change An Inventory Item Code') . '" />' . ' ' .
_('Change An Inventory Item Code') . '</p>';
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/inventory.png" title="' .
_('Change An Inventory Item Code') . '" /> ' .// Icon title.
_('Change An Inventory Item Code') . '</p>';// Page title.

include('includes/SQL_CommonFunctions.inc');

Expand Down Expand Up @@ -228,4 +228,4 @@

include('includes/footer.inc');

?>
?>
12 changes: 9 additions & 3 deletions Z_ChangeSupplierCode.php
@@ -1,10 +1,16 @@
<?php
/* $Id: Z_ChangeSupplierCode.php 4466 2011-01-13 09:33:59Z daintree $*/
/*Script to Delete all sales transactions*/
/* This script is an utility to change a supplier code. */

include ('includes/session.inc');
$Title = _('UTILITY PAGE To Changes A Supplier Code In All Tables');
$Title = _('UTILITY PAGE To Changes A Supplier Code In All Tables');// Screen identificator.
$ViewTopic = 'SpecialUtilities'; // Filename's id in ManualContents.php's TOC.
$BookMark = 'Z_ChangeSupplierCode'; // Anchor's id in the manual's html document
include('includes/header.inc');
echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.
'/images/supplier.png" title="' .
_('Change A Supplier Code') . '" /> ' .// Icon title.
_('Change A Supplier Code') . '</p>';// Page title.

if (isset($_POST['ProcessSupplierChange']))
ProcessSupplier($_POST['OldSupplierNo'], $_POST['NewSupplierNo']);
Expand Down Expand Up @@ -115,4 +121,4 @@ function checkNewCode($code) {
}
return true;
}
?>
?>
4 changes: 3 additions & 1 deletion Z_CurrencyDebtorsBalances.php
Expand Up @@ -3,6 +3,8 @@

include('includes/session.inc');
$Title=_('Currency Debtor Balances');
$ViewTopic = 'SpecialUtilities'; // Filename in ManualContents.php's TOC.
$BookMark = 'Z_CurrencyDebtorsBalances'; // Anchor's id in the manual's html document.
include('includes/header.inc');

echo '<div class="centre"><h3>' . _('Debtors Balances By Currency Totals') . '</h3></div>';
Expand Down Expand Up @@ -43,4 +45,4 @@
echo '</table>';

include('includes/footer.inc');
?>
?>
21 changes: 13 additions & 8 deletions doc/Manual/ManualSpecialUtilities.html
Expand Up @@ -6,42 +6,47 @@ <h1><a id="SpecialUtilities">Special Utilities</a></h1>

<h2><a id="Z_ChangeCustomerCode">Change A Customer Code</a></h2>

<p>This page requires the entry of an existing customer code and the new customer code. The system checks to see the new code entered doesn't already exist and that the code entered for the existing customer does exist. If all is well then the customer code data is changed in all tables throughout the system that refer to the customer code. Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours when others are using the system.</p>
<p>This page requires the entry of an existing customer code and the new customer code. The system checks to see the new code entered doesn't already exist and that the code entered for the existing customer does exist. If all is well then the customer code data is changed in all tables throughout the system that refer to the customer code.</p>

<h2><a id="Z_ChangeCustomerCode">Change A Customer Code</a></h2>

<p>.</p>
<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>

<h2><a id="Z_ChangeBranchCode">Change A Customer Branch Code</a></h2>

<p>.</p>

<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>

<h2><a id="Z_ChangeSupplierCode">Change A Supplier Code</a></h2>

<p>.</p>

<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>

<h2><a id="Z_ChangeStockCategory">Change A Stock Category Code</a></h2>

<p>.</p>

<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>

<h2><a id="Z_ChangeStockCode">Change An Inventory Item Code</a></h2>

<p>This page requires the entry of an existing stock code and the new stock code. The system checks to see the new code entered doesn&apos;t already exist and that the code entered for the existing item does exist. If all is well then the stock code data is changed in all tables through-out the system. Sales analysis, stock movements, stock locations, Bills of Material, parent and component items, sales order details and purchase order details as well as the Stock Master, pricing and shipment charges. Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>
<p>This page requires the entry of an existing stock code and the new stock code. The system checks to see the new code entered doesn&apos;t already exist and that the code entered for the existing item does exist. If all is well then the stock code data is changed in all tables through-out the system. Sales analysis, stock movements, stock locations, Bills of Material, parent and component items, sales order details and purchase order details as well as the Stock Master, pricing and shipment charges.</p>

<p>.</p>
<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours, when others are using the system.</p>

<h2><a id="Z_ChangeGLAccountCode">Change A GL Account Code</a></h2>

<p>.</p>

<p><b>WARNING</b>: Due to the extensive changes taking place throughout the database this utility should not be run during normal operating hours when others are using the system.</p>

<h2><a id="Z_ChangeLocationCode">Change A Location Code</a></h2>

<p>.</p>

<h2><a id="Z_TranslateItemDescriptions">Translate Item Descriptions</a></h2>

<p>
This utility uses the Google Translator API to automatically translate item descriptions (short and long part descriptions).</p>
<p>This utility uses the Google Translator API to automatically translate item descriptions (short and long part descriptions).</p>

<p>It translates from the item description in the default language (It was set up in $DefaultLanguage in config) to the languages to maintain translations for item descriptions (They were set up in <u>Main Menu</u> &gt; <u>Setup</u> &gt; General Setup Options &gt; <u>System Parameters</u> &gt; General Settings).</p>

Expand Down
Binary file modified locale/es_ES.utf8/LC_MESSAGES/messages.mo
Binary file not shown.
22 changes: 11 additions & 11 deletions locale/es_ES.utf8/LC_MESSAGES/messages.po
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: webERP 4.11.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-12-13 15:27-0600\n"
"PO-Revision-Date: 2014-12-28 10:09-0600\n"
"PO-Revision-Date: 2014-12-28 12:34-0600\n"
"Last-Translator: Rafael Chacon <rafael.emilio.chacon@gmail.com>\n"
"Language-Team: TecnoSoluciones.com <webmaster@tecnosoluciones.com>\n"
"Language: es_ES\n"
Expand Down Expand Up @@ -45938,7 +45938,7 @@ msgstr "Irak"

#: includes/CountriesArray.php:98
msgid "Iran"
msgstr ""
msgstr "Irán"

#: includes/CountriesArray.php:99
msgid "Iceland"
Expand Down Expand Up @@ -48232,7 +48232,7 @@ msgstr "Mantener categorías de inventario interno por funciones de usuario"

#: includes/MainMenuLinksArray.php:519
msgid "Label Templates Maintenance"
msgstr "Mantenimiento de Plantillas de Etiquetas"
msgstr "Mantenimiento de plantillas de etiquetas"

#: includes/MainMenuLinksArray.php:533
msgid "Change A Customer Code"
Expand Down Expand Up @@ -48261,12 +48261,12 @@ msgstr "Cambiar un código de ubicación"
#: includes/MainMenuLinksArray.php:540
msgid "Update costs for all BOM items, from the bottom up"
msgstr ""
"Actualización de costos de todos los elementos de lista de materiales, de "
"abajo hacia arriba"
"Actualizar costos de todos los elementos de lista de materiales, de abajo "
"hacia arriba"

#: includes/MainMenuLinksArray.php:541
msgid "Re-apply costs to Sales Analysis"
msgstr "Aplicar Costos al Análisis de Ventas"
msgstr "Reaplicar costos al análisis de ventas"

#: includes/MainMenuLinksArray.php:542
msgid "Delete sales transactions"
Expand All @@ -48278,27 +48278,27 @@ msgstr "Revocar todos los pagos a proveedores en una fecha específica"

#: includes/MainMenuLinksArray.php:544
msgid "Update sales analysis with latest customer data"
msgstr ""
msgstr "Actualizar análisis de ventas con últimos datos de clientes"

#: includes/MainMenuLinksArray.php:559
msgid "Show Local Currency Total Debtor Balances"
msgstr "Mostrar Total de Saldos del Deudor en Moneda Local"
msgstr "Mostrar total de saldos de deudores en moneda local"

#: includes/MainMenuLinksArray.php:560
msgid "Show Local Currency Total Suppliers Balances"
msgstr "Mostrar Total de Saldos de Proveedores en Moneda Local"
msgstr "Mostrar total de saldos de proveedores en moneda local"

#: includes/MainMenuLinksArray.php:561
msgid "Show General Transactions That Do Not Balance"
msgstr "Mostrar Transacciones Generales que no Cuadran"
msgstr "Mostrar transacciones generales que no cuadran"

#: includes/MainMenuLinksArray.php:562
msgid "List of items without picture"
msgstr "Lista de artículos sin foto"

#: includes/MainMenuLinksArray.php:570
msgid "Make New Company"
msgstr "Crear Nueva Compañía"
msgstr "Crear nueva compañía"

#: includes/MainMenuLinksArray.php:571
msgid "Data Export Options"
Expand Down

0 comments on commit 7c5d0ff

Please sign in to comment.