From: <ice...@us...> - 2012-09-12 07:30:58
|
Revision: 5661 http://web-erp.svn.sourceforge.net/web-erp/?rev=5661&view=rev Author: icedlava Date: 2012-09-12 07:30:47 +0000 (Wed, 12 Sep 2012) Log Message: ----------- Some grammatical and typo fixes in the Petty Cash manual overview. Add bookmark links for petty cash functions. Modified Paths: -------------- trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcExpenses.php trunk/PcTabs.php trunk/PcTypeTabs.php trunk/doc/Manual/ManualPettyCash.html Modified: trunk/PcAssignCashToTab.php =================================================================== --- trunk/PcAssignCashToTab.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcAssignCashToTab.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -3,6 +3,9 @@ include('includes/session.inc'); $title = _('Assignment of Cash to Petty Cash Tab'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "CashAssignment"; include('includes/header.inc'); if (isset($_POST['SelectedTabs'])){ @@ -34,7 +37,7 @@ if (isset($_POST['process'])) { if ($SelectedTabs=='') { - prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); + prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); unset($SelectedTabs); } } @@ -191,8 +194,8 @@ } echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Select another tab') . '</a></div>'; - - + + if (! isset($_GET['edit']) OR isset ($_POST['GO'])){ if (isset($_POST['Cancel'])) { @@ -214,7 +217,7 @@ $result = DB_query($SqlDecimalPlaces,$db); $myrow=DB_fetch_array($result); $CurrDecimalPlaces = $myrow['decimalplaces']; - + $sql = "SELECT * FROM pcashdetails WHERE tabcode='" . $SelectedTabs . "' AND date >=DATE_SUB(CURDATE(), INTERVAL " . $Days . " DAY) Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcAuthorizeExpenses.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -3,6 +3,9 @@ include('includes/session.inc'); $title = _('Authorisation of Petty Cash Expenses'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "AuthorizeExpense"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -99,8 +102,8 @@ while ($myrow=DB_fetch_array($result)) { $CurrDecimalPlaces = $myrow['decimalplaces']; //update database if update pressed - if (isset($_POST['Submit']) - AND $_POST['Submit']==_('Update') + if (isset($_POST['Submit']) + AND $_POST['Submit']==_('Update') AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); Modified: trunk/PcClaimExpensesFromTab.php =================================================================== --- trunk/PcClaimExpensesFromTab.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcClaimExpensesFromTab.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -4,6 +4,9 @@ include('includes/session.inc'); $title = _('Claim Petty Cash Expenses From Tab'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "ExpenseClaim"; include('includes/header.inc'); Modified: trunk/PcExpenses.php =================================================================== --- trunk/PcExpenses.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcExpenses.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -4,6 +4,9 @@ include('includes/session.inc'); $title = _('Maintenance Of Petty Cash Of Expenses'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "PCExpenses"; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') Modified: trunk/PcTabs.php =================================================================== --- trunk/PcTabs.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcTabs.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -3,6 +3,9 @@ include('includes/session.inc'); $title = _('Maintenance Of Petty Cash Tabs'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "PCTabSetup"; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/PcTypeTabs.php =================================================================== --- trunk/PcTypeTabs.php 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/PcTypeTabs.php 2012-09-12 07:30:47 UTC (rev 5661) @@ -3,6 +3,9 @@ include('includes/session.inc'); $title = _('Maintenance Of Petty Cash Type of Tabs'); +/* webERP manual links before header.inc */ +$ViewTopic= "PettyCash"; +$BookMark = "PCTabTypes"; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') @@ -211,15 +214,15 @@ echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; echo '<input type="hidden" name="TypeTabCode" value="' . $_POST['TypeTabCode']. '" />'; - echo '<table class="selection"> + echo '<table class="selection"> <tr><td>' . _('Code Of Type Of Tab') . ':</td> <td>' . $_POST['TypeTabCode'] . '</td> </tr>'; // We dont allow the user to change an existing type code - + } else { // This is a new type so the user may volunteer a type code Modified: trunk/doc/Manual/ManualPettyCash.html =================================================================== --- trunk/doc/Manual/ManualPettyCash.html 2012-09-12 07:04:50 UTC (rev 5660) +++ trunk/doc/Manual/ManualPettyCash.html 2012-09-12 07:30:47 UTC (rev 5661) @@ -2,19 +2,19 @@ <h2>Overview</h2> -<p>This for employees to submit expense claims directly in the system - that are then authorised by their immediate supervisor.</p> +<p>The Petty Cash module enables employees to submit expense claims directly into the system that can then be authorised by their immediate supervisor.</p> -<p>Allows control petty cash expenses in a friendly way, so every employee (without any accounting knowlegde) can enter their expenses, get paid for them, etc</p> +<p>Petty cash expenses are controlled in a friendly way, enabling all employees (including those without accounting knowledge) to enter their expenses and get paid for them.</p> -<p>It consists on a temporary GL table (pcashdetails), containing all info about payments and expenses done as petty cash. Once authorized by a supervisor (both cash assignments or expenses) are posted in gltrans table and flagged.</p> +<p>The Petty cash module uses a temporary GL table (pcashdetails), containing all information about payments and expenses entered as petty cash. When cash assignments or expenses are authorized by a supervisor, they are posted into the gltrans table and flagged.</p> -<p>Once any transacion in the petty cash system has been posted can not be modified, edited or deleted in any way. Once posted, that's it.</p> +<p>Once any transaction in the petty cash system has been posted it cannot be modified, edited or deleted in any way. Once posted, that's it.</p> <div class="floatright"> <a class="minitext" href="#top">⬆ Top</a> </div> <h2>Setup General Parameters</h2> -<h3>Set up expenses</h3> +<h3><a id="PCExpenses">Set up expenses</a></h3> <h4>Definition of expenses allowed to be used in the Petty Cash system.</h4> @@ -29,7 +29,7 @@ <div class="floatright"> <a class="minitext" href="#top">⬆ Top</a> </div> -<h3>Set up types of tabs</h3> +<h3><a id="PCTabTypes">Set up types of tabs</a></h3> <p>Different kinds of users have different privileges. CEO can spend petty cash money on a different way than a truck driver does (no disrespect, for any of them ;-). The system maintain these different categories of tabs of table pctypetabs.</p> @@ -46,7 +46,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> -<h3>Set up tabs</h3> +<h3><a id="PCTabSetup">Set up tabs</a></h3> <p>PcTabs.php is the script used to set up petty cash tabs</p> @@ -76,7 +76,7 @@ </div> <h2>Workflow</h2> -<h3>Assignment of cash</h3> +<h3><a id="CashAssignment">Assignment of cash</a></h3> <p>The supervisor (authorizer) gives money cash to an employee to be used as petty cash. In script PcAssignCashToTab.php we record this fact.<br></p> @@ -92,7 +92,7 @@ <p>Cash Assignments can be edited and deleted before are authorized. Once authorized and posted can not be modified in any way.<br></p> -<h3>Expense claims</h3> +<h3><a id="ExpenseClaim">Expense claims</a></h3> <p>Employee will go out and spend money. Then will report to webERP these expenses in script PcClaimExpensesFromTab.php<br></p> @@ -114,7 +114,7 @@ <p>Expenses reported can be edited and deleted before are authorized. Once authorized and posted can not be modified in any way.<br></p> -<h3>Expense authorisation</h3> +<h3><a id="AuthorizeExpense">Expense authorisation</a></h3> <p>Supervisor will need to authorize expenses and cash assignemnts reported.<br></p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |