Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ public interface InvoiceProjection {

BigDecimal getAmount();
LocalDateTime getCreatedAt();
InvoiceStatus getPaymentStatus();
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public interface InvoiceRepository extends JpaRepository<Invoice, String> {
g.id as groupId,
e.leavingReason as reason,
i.amount as amount,
i.createdAt as createAt
i.createdAt as createAt,
i.paymentStatus as paymentStatus
from Invoice i
join i.enrollment e
join e.student s
Expand Down