Skip to content

Commit

Permalink
FEAT:fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
rivopelu committed Nov 27, 2024
1 parent 7a4469f commit 3f78080
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/pos/app/model/response/ResListOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ public class ResListOrder {
private BigInteger totalTransaction;
private String customerName;
private BigInteger totalItems;
private Long createdDate;
private String createdBy;

}
2 changes: 2 additions & 0 deletions src/main/java/com/pos/app/service/impl/OrderServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ public Page<ResListOrder> getOrderList(Pageable pageable) {
.isPayment(order.getIsPayment())
.totalTransaction(totalTransaction)
.totalItems(totalItems)
.createdDate(order.getCreatedDate())
.createdBy(accountService.getCurrentAccount(order.getCreatedBy()).getName())
.build();
}).toList();
try {
Expand Down

0 comments on commit 3f78080

Please sign in to comment.