From: <rc...@us...> - 2015-03-02 17:26:34
|
Revision: 7181 http://sourceforge.net/p/web-erp/reponame/7181 Author: rchacon Date: 2015-03-02 17:26:32 +0000 (Mon, 02 Mar 2015) Log Message: ----------- Adds colon to table-titles. Modified Paths: -------------- trunk/SelectProduct.php Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2015-03-02 15:48:19 UTC (rev 7180) +++ trunk/SelectProduct.php 2015-03-02 17:26:32 UTC (rev 7181) @@ -159,19 +159,19 @@ $Cost = $myrow['cost']; } echo '<tr> - <th class="number">' . _('Price') . ':</th> - <td class="select">'; + <th class="number">' . _('Price') . ':</th>'; if (DB_num_rows($PriceResult) == 0) { - echo _('No Default Price Set in Home Currency') . '</td></tr>'; + echo '<td class="select" colspan="6">' . _('No Default Price Set in Home Currency') . '</td> + </tr>'; $Price = 0; } else { $PriceRow = DB_fetch_row($PriceResult); $Price = $PriceRow[1]; - echo $PriceRow[0] . '</td> + echo '<td class="select">' . $PriceRow[0] . '</td> <td class="select">' . locale_number_format($Price, $_SESSION['CompanyRecord']['decimalplaces']) . '</td> - <th class="number">' . _('Cost') . '</th> + <th class="number">' . _('Cost') . ':</th> <td class="select">' . locale_number_format($Cost, $_SESSION['StandardCostDecimalPlaces']) . '</td> - <th class="number">' . _('Gross Profit') . '</th> + <th class="number">' . _('Gross Profit') . ':</th> <td class="select">'; if ($Price > 0) { echo locale_number_format(($Price - $Cost) * 100 / $Price, $_SESSION['CompanyRecord']['decimalplaces']) . '%'; |