|
|
@@ -47,7 +47,7 @@ open class ProjectsService( |
|
|
|
private val subsidiaryRepository: SubsidiaryRepository, private val subsidiaryContactRepository: SubsidiaryContactRepository |
|
|
|
) { |
|
|
|
open fun allProjects(): List<ProjectSearchInfo> { |
|
|
|
return projectRepository.findProjectSearchInfoByOrderByCreatedDesc() |
|
|
|
return projectRepository.findProjectSearchInfoByOrderByCreatedDesc().sortedByDescending { it.status?.lowercase() != "deleted" } |
|
|
|
} |
|
|
|
|
|
|
|
open fun allInvoices(): List<InvoiceSearchInfo> { |
|
|
|