From: <tim...@us...> - 2010-07-05 22:11:15
|
Revision: 3570 http://web-erp.svn.sourceforge.net/web-erp/?rev=3570&view=rev Author: tim_schofield Date: 2010-07-05 21:27:43 +0000 (Mon, 05 Jul 2010) Log Message: ----------- Layout changes Modified Paths: -------------- trunk/CustomerInquiry.php trunk/doc/Change.log.html Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2010-07-05 21:27:25 UTC (rev 3569) +++ trunk/CustomerInquiry.php 2010-07-05 21:27:43 UTC (rev 3570) @@ -26,8 +26,8 @@ } if (!isset($_POST['TransAfterDate'])) { - $sql = 'SELECT confvalue - FROM `config` + $sql = 'SELECT confvalue + FROM `config` WHERE confname ="NumberOfMonthMustBeShown"'; $ErrMsg=_('The config value NumberOfMonthMustBeShown cannot be retrieved'); $result = DB_query($sql,$db,$ErrMsg); @@ -121,22 +121,22 @@ $CustomerRecord['overdue2']=0; } - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . - _('Customer') . '" alt="">' . ' ' . _('Customer') . ' : ' . $CustomerRecord['name'] . ' - (' . _('All amounts stated in') . - ' ' . $CustomerRecord['currency'] . ')<br><br>' . _('Terms') . ' : ' . $CustomerRecord['terms'] . '<br>' . _('Credit Limit') . + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . + _('Customer') . '" alt="">' . ' ' . _('Customer') . ' : ' . $CustomerRecord['name'] . ' - (' . _('All amounts stated in') . + ' ' . $CustomerRecord['currency'] . ')<br><br>' . _('Terms') . ' : ' . $CustomerRecord['terms'] . '<br>' . _('Credit Limit') . ': ' . number_format($CustomerRecord['creditlimit'],0) . ' ' . _('Credit Status') . ': ' . $CustomerRecord['reasondescription'] . ''; if ($CustomerRecord['dissallowinvoices']!=0){ echo '<br><font color=RED size=4><b>' . _('ACCOUNT ON HOLD') . '</font></b><br>'; } -echo "<table class=table2 BORDER=1> +echo "<table class=selection width=70%> <tr> - <th>" . _('Total Balance') . "</th> - <th>" . _('Current') . "</th> - <th>" . _('Now Due') . "</th> - <th>" . $_SESSION['PastDueDays1'] . "-" . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . "</th> - <th>" . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; + <th width=20%>" . _('Total Balance') . "</th> + <th width=20%>" . _('Current') . "</th> + <th width=20%>" . _('Now Due') . "</th> + <th width=20%>" . $_SESSION['PastDueDays1'] . "-" . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . "</th> + <th width=20%>" . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr><td class=number>' . number_format($CustomerRecord['balance'],2) . '</td> <td class=number>' . number_format(($CustomerRecord['balance'] - $CustomerRecord['due']),2) . '</td> @@ -182,9 +182,9 @@ } /*show a table of the invoices returned by the SQL */ -echo '<table class="table2" cellpadding="2" colspan="7">'; +echo '<table class="selection" cellpadding="2" colspan="7">'; -$tableheader = "<tr BGCOLOR =#800000> +$tableheader = "<tr bgcolor =#800000> <th>" . _('Type') . "</th> <th>" . _('Number') . "</th> <th>" . _('Date') . "</th> Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-07-05 21:27:25 UTC (rev 3569) +++ trunk/doc/Change.log.html 2010-07-05 21:27:43 UTC (rev 3570) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>05/07/10 Tim: CustomerInquiries.php - Layout changes</p> <p>05/07/10 Tim: CustomerAllocations.php - Corrections to sql statements and layout changes</p> <p>05/07/10 Tim: CustomerAllocations.php - Corrections to sql statements and layout changes</p> <p>05/07/10 Tim: CustLoginSetup.php - Minor bug fixes, corrections to sql statements</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |