Skip to content

Commit 00eaf19

Browse files
authored
Merge pull request LibreHealthIO#1558 from mhn94/fix-form-labels-and-alignment
Added missing labels and fixed form alignment
2 parents f1546de + 7f8aea2 commit 00eaf19

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

interface/billing/sl_receipts_report.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function sel_diagnosis() {
187187
$query = "select id, lname, fname from users where " .
188188
"authorized = 1 order by lname, fname";
189189
$res = sqlStatement($query);
190-
echo " &nbsp;<select name='form_doctor'>\n";
190+
echo " <select name='form_doctor'>\n";
191191
echo " <option value=''>-- " . xlt('All Providers') . " --\n";
192192
while ($row = sqlFetchArray($res)) {
193193
$provid = $row['id'];
@@ -201,6 +201,9 @@ function sel_diagnosis() {
201201
}
202202
?>
203203
</td>
204+
<td class='label'>
205+
<?php echo xlt('Sort By Date'); ?>:
206+
</td>
204207
<td>
205208
<select name='form_use_edate'>
206209
<option value='0'><?php echo xlt('Payment Date'); ?></option>

interface/reports/collections_report.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ function checkAll(checked) {
173173
<tr>
174174
<?php // Show from and to dates. (TRK)
175175
showFromAndToDates(); ?>
176+
<td class='label'>
177+
<?php echo xlt('Account Type'); ?>:
178+
</td>
176179
<td>
177180
<select name='form_category'>
178181
<?php

interface/reports/receipts_by_method_report.php

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function sel_procedure() {
124124
<table class='text'>
125125
<tr>
126126
<td class='label'>
127-
<?php xl('Report by','e'); ?>
127+
<?php echo xl('Report By','e'); ?>:
128128
</td>
129129
<td>
130130
<?php
@@ -134,26 +134,33 @@ function sel_procedure() {
134134
if ($key == $form_report_by) echo ' selected';
135135
echo ">" . xl($value) . "</option>\n";
136136
}
137-
echo " </select>&nbsp;\n"; ?>
137+
echo " </select>\n"; ?>
138138
</td>
139139

140+
<td class='label'>
141+
<?php echo xlt('Facility'); ?>:
142+
</td>
140143
<td>
141144
<?php dropdown_facility(strip_escape_custom($form_facility), 'form_facility', false); ?>
142145
</td>
143146

144-
<td>
147+
<td class='label'>
145148
<?php if (!$GLOBALS['simplified_demographics']) echo '&nbsp;' . xl('Procedure/Service') . ':'; ?>
146149
</td>
147150
<td>
148151
<input type='text' name='form_proc_codefull' size='12' value='<?php echo $form_proc_codefull; ?>' onclick='sel_procedure()'
149152
title='<?php xl('Click to select optional procedure code','e'); ?>'
150153
<?php if ($GLOBALS['simplified_demographics']) echo "style='display:none'"; ?> />
151-
<br>
152-
&nbsp;<input type='checkbox' name='form_details' value='1'<?php if ($_POST['form_details']) echo " checked"; ?> /><?xl('Details','e')?>
154+
</td>
155+
<td>
156+
&nbsp;<label><input type='checkbox' name='form_details' value='1'<?php if ($_POST['form_details']) echo " checked"; ?> />
157+
<?php echo xl('Details','e'); ?></label>
153158
</td>
154159
</tr>
155160
<tr>
156-
<td>&nbsp;</td>
161+
<td class='label'>
162+
<?php echo xlt('Sort By Date'); ?>:
163+
</td>
157164
<td>
158165
<select name='form_use_edate'>
159166
<option value='0'><?php xl('Payment Date','e'); ?></option>
@@ -162,6 +169,7 @@ function sel_procedure() {
162169
</td>
163170
<?php // Show From and To dates fields. (TRK)
164171
showFromAndToDates(); ?>
172+
<td>&nbsp;</td>
165173
</tr>
166174
</table>
167175

interface/reports/services_by_category.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474

7575
<table class='text'>
7676
<tr>
77+
<td class='label'>
78+
<?php echo xlt('Code Category'); ?>:
79+
</td>
7780
<td>
7881
<select name='filter'>
7982
<option value='0'><?php xl('All','e'); ?></option>

0 commit comments

Comments
 (0)