File tree 2 files changed +17
-5
lines changed
java/com/divudi/bean/report
2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,14 @@ public void recreteModal2() {
130
130
recreteModal ();
131
131
}
132
132
133
+
134
+
135
+ public void init () {
136
+ // Set the current cashier to the logged-in user
137
+ currentCashier = sessionController .getLoggedUser ();
138
+ // ... rest of initialization code ...
139
+ }
140
+
133
141
public String navigateToDepartmentAllCashierReport () {
134
142
FacesContext context = FacesContext .getCurrentInstance ();
135
143
HttpServletRequest request = (HttpServletRequest ) context .getExternalContext ().getRequest ();
Original file line number Diff line number Diff line change 147
147
< p:commandButton
148
148
ajax ="false "
149
149
action ="#{cashRecieveBillController.removeAll()} "
150
- value ="Remove Selected "
150
+ value ="Remove Selected "
151
+ icon ="fa fa-trash "
151
152
class ="ui-button-danger mx-2 "/>
152
-
153
- < h:outputLabel value ="Paying Institution : "/>
153
+ < br />
154
+ < h:outputLabel style =" margin-left: 10px " value ="Paying Institution : "/>
154
155
< p:outputLabel value ="#{cashRecieveBillController.institution.name} " id ="ins "/>
156
+ < br />
157
+ < h:outputLabel style ="margin-left: 10px " value ="Cashier: "/>
158
+ < p:outputLabel value ="#{cashierReportController.currentCashier.name} " id ="cash "/>
155
159
156
-
157
- </ f:facet >
160
+ </ f:facet >
158
161
159
162
< p:dataTable value ="#{cashRecieveBillController.billItems} "
160
163
rowIndexVar ="rowIndex " var ="b " id ="items "
161
164
rowKey ="#{b.searialNo} " selection ="#{cashRecieveBillController.selectedBillItems} "
162
165
selectionMode ="multiple "
166
+
163
167
>
164
168
165
169
You can’t perform that action at this time.
0 commit comments