Skip to content

Commit c0ebd40

Browse files
authored
Add currency name
Add currency name.
1 parent d403707 commit c0ebd40

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

ConfirmDispatch_Invoice.php

+21-12
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
$BookMark = 'ConfirmInvoice';
1313
include ('includes/header.php');
1414

15+
include ('includes/CurrenciesArray.php');
1516
include ('includes/SQL_CommonFunctions.inc');
1617
include ('includes/FreightCalculation.inc');
1718
include ('includes/GetSalesTransGLCodes.inc');
@@ -321,18 +322,26 @@
321322
if ($_SESSION['Items'.$identifier]->SpecialInstructions) {
322323
prnMsg($_SESSION['Items'.$identifier]->SpecialInstructions,'warn');
323324
}
324-
echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/inventory.png" title="' . _('Confirm Invoice') .
325-
'" alt="" />' . ' ' . _('Confirm Dispatch and Invoice'). '</p>';
326-
echo '<table class="selection">
327-
<tr>
328-
<th><img src="'.$RootPath.'/css/'.$Theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer Code') . ' :<b> ' . $_SESSION['Items'.$identifier]->DebtorNo . '</b></th>
329-
<th>' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName. '</b></th>
330-
</tr>
331-
<tr>
332-
<th colspan ="2"><b>' . _('Invoice amounts stated in') . ' ' . $_SESSION['Items'.$identifier]->DefaultCurrency . '</b></th>
333-
</tr>
334-
</table>
335-
<br />';
325+
326+
echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme,
327+
'/images/inventory.png" title="', // Icon image.
328+
_('Confirm Dispatch and Invoice'), '" /> ', // Icon title.
329+
_('Confirm Dispatch and Invoice'), '</p>', // Page title.
330+
'<table class="selection">
331+
<tr>
332+
<td>', _('Customer Code'), '</td>
333+
<td class="text">', $_SESSION['Items'.$identifier]->DebtorNo, '</td>
334+
</tr>
335+
<tr>
336+
<td>', _('Customer Name'), '</td>
337+
<td class="text">', $_SESSION['Items'.$identifier]->CustomerName, '</td>
338+
</tr>
339+
<tr>
340+
<td>', _('Invoice amounts stated in'), '</td>
341+
<td class="text">', $_SESSION['Items'.$identifier]->DefaultCurrency, ' - ', $CurrencyName[$_SESSION['Items'.$identifier]->DefaultCurrency], '</td>
342+
</tr>
343+
</table>
344+
<br />';
336345

337346
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method="post">';
338347
echo '<div>';

css/professional-rtl/default.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,8 @@ li {
554554
/* Class selector to horizontal align a number (right) in an element. */
555555
}
556556
.text {
557-
text-align:left;/* Should be right ? */
558-
/* Class selector to horizontal align a text (left) in an element. */
557+
text-align:right;
558+
/* Class selector to horizontal align a text (right) in an element. */
559559
}
560560
.page_title_text {
561561
color:black;

0 commit comments

Comments
 (0)