Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DFR-3560: Fix Process Order document stamping (#2117)
* Change "Is Final?" field to checkbox * fix tests in DraftOrderServiceTest * checkstyle * Add @requiredargsconstructor * Tests for ApproveOrderService * Move methods into HearingProcessor * refused order population * remove extra blank line * Remove blank lines. * tidy up * bug fix * checkstyle fix * Missing refusal date in the report parameter * add tobuilder * Add tests to JudgeApprovalResolverTest * Making use of ContestedDraftOrderNotApprovedDetailsMapper and refactor the unit tests. * Remove extra blank line * add private a constructor * Fix a bug that not showing judge name * update judge details logic * Remove extra blank line. * Generate Refusal order for PSA. * rename titleInJudgeDecisionMessage to inlineDocType * Add tests to JudgeApprovalResolverTest * Add tests to HearingProcessorTest * Remove commented tests. * wrong property * Improve coverage and improve tests * FileUtils method for inserting timestamp to a filename. * insert timestamp to the refusal order filename. * Add getter for order status * refactor mock for approvables and verify order status * Improve coverage * fix import * Remove refused order from AgreedDraftOrderCollection * Java Docs added * Remove @SPY in ApproveOrderServiceTest * remove @SPY and improve test setup * Add email template id * remove an extra blank line. * typo * add judgeFeedback and documentName * capture submitted by email address and populate them to AgreedDraftOrder and SuggestedDraftOrder. * Add hearingDate to JudgeApproval * add test case for the submitted handler. * apply submitted email only when upload party is null. * remove a blank line. * Improve tests in JudgeApprovalResolverTest and add getters * Setting refusalOrderIdsToBeSent * clear refusalOrderIdsToBeSent on about-to-start * throw exception instead * EL * Remove test * revert * revert * revert comment * Email notification logic. * use @JsonIgnore * javadoc * Fix NPE * Fix NPE * use @JsonIgnore for getters * Use fixedDateTime * code format * Renamed * add test case * checkstyle * Add a TODO for sending notification by post. * JavaDoc * Java docs * JavaDoc * JavaDoc * remove extra spaces * tidy up * Rename * Renamed * missing colon * Test case fixed. * add a comment. * Sending Post Logic (WIP) * Refactoring CaseDataService - deprecating methods and making use of FinremCaseData and FinremCaseDetails * checkstyle * checkstyle * update test case * Added test cases * Add test cases * tidy up * fix * Change to assertEquals * Update test cases * Use anyMap() * Use anyMap() * tidy up * tidy up * Add test case. * increase code coverage. * Use anyMap() * anyMap() * checkstyle * Enable bulkprint * missing import * DFR-3334 Add Hearing Judge to Approve Orders Page. * NL * Remove notification by post logic * Check PSA for validating attachments * Remove unused imports * Add test case * Test case for DraftOrdersNotificationRequestMapperTest * Remove unused injections. * Update test case to increase code coverage. * Test case in NotificationServiceTest * checkstyle * Test case for refusal order generation * update test cases. * checkstyle * typo * Comment updated. * Method renamed * java doc * Revert "java doc" This reverts commit 518fa6b. * renamed * missing personalisation * update test case. * missing hearingDate * refactoring * DFR-3494 Add Hearing Judge to Approve Orders Page (#2028) * DFR-3334 Add Hearing Judge to Approve Orders Page. * NL * Check PSA for validating attachments * Remove unused imports --------- Co-authored-by: Ashley Wong <[email protected]> * Remove an extra blank line. * Move Approvable, HasSubmittedInfo, RefusalOrderConvertible and HasApprovable in draftorder package. * checkstyle * enhanced readibility * add test case for example.txt.txt * Fix * Fix merge conflicts * checkstyle * Remove extra line * DFR-3495 capture judge type (#2050) * DFR-3495 Capturing Refusal Order Judge Title * Update test case. * update unit test * Fix test case * Linked with the class by calling Class.getSimpleName() * Remove an extra blank line. * typo * auto configuration * checkstyle * Auto Resolving Complex Type * readability * compare it in lowercase * reverting all * Fix NPE * Bug fix * NPE * Bug fix * simplifying * Add a warning message. * Trigger build * underscore missing * change to info * warning message bug * update warning message --------- Co-authored-by: Ashley Wong <[email protected]> * Add OrderParty property * Add test for OrderParty static method * Rename test classes to match source classes * Update OrderParty enum * Revert missing unit test * Increase test coverage * Refactor test * Refactor test * Include other roles that can upload draft orders * Include other roles that should see upload on behalf of question * Add orderFiledBy property * Name change * Change barrister text value for OrderFiledBy enum * Refactor switch * Add javadoc to DraftOrdersCategoriser * Send refused order notifications * Refactor * Fix unit test * Fix unit test * Refactor * Any comment * Fix document stamping of processed orders * Refactor * Refactor --------- Co-authored-by: Ashley Wong <[email protected]> Co-authored-by: hamzahtahirhmcts <[email protected]> Co-authored-by: Ashley Wong <[email protected]>
- Loading branch information