Skip to content

Commit

Permalink
Update C_Prescription.class.php
Browse files Browse the repository at this point in the history
//xl function added for translation.
  • Loading branch information
xpindia22 committed Jun 19, 2024
1 parent a69f2b6 commit e96479b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions controllers/C_Prescription.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ function __construct($template_mod = "general")
while ($row = sqlFetchArray($res)) {
$tmp_output = $row['selector'];
if ($row['ndc_number']) {
$tmp_output .= ' - Price of One Tab: ' . $row['ndc_number'];
$tmp_output .= ' - No left in stock: ' . $row['on_hand'];
$tmp_output .= ' - Expiry Date: ' . $row['expiration'];
$tmp_output .= ' - ' . xl('Price of One Tab:') . ' ' . $row['ndc_number']; //xl function added for translation.
$tmp_output .= ' - ' . xl('No left in stock:') . ' ' . $row['on_hand']; //xl function added for translation.
$tmp_output .= ' - ' . xl('Expiry Date:') . ' ' . $row['expiration']; //xl function added for translation.

}
$drug_array_values[] = $row['drug_id'];
$drug_array_output[] = $tmp_output;
Expand Down

0 comments on commit e96479b

Please sign in to comment.