From: <tim...@us...> - 2010-07-26 16:34:24
|
Revision: 3669 http://web-erp.svn.sourceforge.net/web-erp/?rev=3669&view=rev Author: tim_schofield Date: 2010-07-26 16:34:18 +0000 (Mon, 26 Jul 2010) Log Message: ----------- Sql quoting corrections and layout changes Modified Paths: -------------- trunk/PDFCustomerList.php trunk/doc/Change.log.html Modified: trunk/PDFCustomerList.php =================================================================== --- trunk/PDFCustomerList.php 2010-07-26 16:11:18 UTC (rev 3668) +++ trunk/PDFCustomerList.php 2010-07-26 16:34:18 UTC (rev 3669) @@ -367,23 +367,25 @@ $title = _('Customer Details Listing'); include('includes/header.inc'); + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . + $title . '" alt="">' . ' ' . $title . '</p>'; - echo '<form action=' . $_SERVER['PHP_SELF'] . ' method="POST"><table>'; + echo '<form action=' . $_SERVER['PHP_SELF'] . ' method="POST"><table class=selection>'; echo '<tr><td>' . _('For Sales Areas') . ':</td><td><select name=Areas[] multiple>'; $sql='SELECT areacode, areadescription FROM areas'; $AreasResult= DB_query($sql,$db); - echo '<option selected VALUE="All">' . _('All Areas'); + echo '<option selected value="All">' . _('All Areas'); While ($myrow = DB_fetch_array($AreasResult)){ - echo '<option VALUE="' . $myrow['areacode'] . '">' . $myrow['areadescription']; + echo '<option value="' . $myrow['areacode'] . '">' . $myrow['areadescription']; } echo '</select></td></tr>'; echo '<tr><td>' . _('For Sales folk'). ':</td><td><select name=SalesPeople[] multiple>'; - echo '<option selected VALUE="All">'. _('All sales folk'); + echo '<option selected value="All">'. _('All sales folk'); $sql = 'SELECT salesmancode, salesmanname FROM salesman'; $SalesFolkResult = DB_query($sql,$db); @@ -395,20 +397,20 @@ echo '<tr><td>' . _('Level Of Activity'). ':</td><td><select name="Activity">'; - echo '<option selected VALUE="All">'. _('All customers'); - echo '<option VALUE="GreaterThan">'. _('Sales Greater Than'); - echo '<option VALUE="LessThan">'. _('Sales Less Than'); + echo '<option selected value="All">'. _('All customers'); + echo '<option value="GreaterThan">'. _('Sales Greater Than'); + echo '<option value="LessThan">'. _('Sales Less Than'); echo '</select></td><td>'; - echo '<input type="text" class=number name="ActivityAmount" size=8 maxlength=8></td></tr>'; + echo '<input type="text" class=number name="ActivityAmount" size=8 maxlength=8 value=0></td></tr>'; $DefaultActivitySince = Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m')-6,0,Date('y'))); echo '<tr><td>' . _('Activity Since'). ':</td><td><input type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ActivitySince" size=10 maxlength=10 VALUE="' . $DefaultActivitySince . '"></td></tr>'; - echo '</table><div class="centre"><input type=Submit Name="PrintPDF" Value="'. _('Print PDF'). '"></div>'; + echo '</table><br><div class="centre"><input type=Submit Name="PrintPDF" Value="'. _('Print PDF'). '"></div>'; include('includes/footer.inc'); } /*end of else not PrintPDF */ -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-07-26 16:11:18 UTC (rev 3668) +++ trunk/doc/Change.log.html 2010-07-26 16:34:18 UTC (rev 3669) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>26/07/10 Tim: PDFCustomerList.php - Sql quoting corrections and layout changes</p> <p>26/07/10 Tim: PDFChequeListing.php - Sql quoting corrections, add javascript date picker, and layout changes</p> <p>26/07/10 Tim: PDFBankingSummary.php - Sql quoting corrections</p> <p>26/07/10 Tim: DailyBankTransactions.php - New script to show daily bank transactions in bank account currency, and local currency</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |