Skip to content

Commit 5672318

Browse files
committed
Merge pull request #6039 from bcgov/dev-AH-FOIMOD-release22.2-qafixes
Ticket 4161: Observation 1,3 and 6 fixes
1 parent 94977a1 commit 5672318

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

forms-flow-web/src/components/FOI/customComponents/Fees/BottomButtonGroup.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const BottomButtonGroup = ({
1212
disableNewCfrFormBtn,
1313
handleGenerateInvoice,
1414
cfrStatus,
15+
isProcessingFeeSubTab,
1516
}: any) => {
1617
const generateInvoiceDisabled: boolean = cfrStatus !== "approved";
1718
return (
@@ -37,7 +38,7 @@ export const BottomButtonGroup = ({
3738
>
3839
+ Create New Processing Fee Form
3940
</button>}
40-
{!isMinistry &&
41+
{isProcessingFeeSubTab && !isMinistry &&
4142
<Tooltip
4243
title={
4344
generateInvoiceDisabled &&

forms-flow-web/src/components/FOI/customComponents/Fees/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ export const Fees = ({
925925
disableNewCfrFormBtn={disableNewCfrFormBtn}
926926
handleGenerateInvoice={handleGenerateInvoice}
927927
cfrStatus={initialCFRState.status}
928+
isProcessingFeeSubTab={selectedSubtab == FeesSubtabValues.PROCESSINGFEE}
928929
/>
929930
</div>
930931
</div>
Binary file not shown.

request-management-api/request_api/services/foiinvoiceservice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from request_api.auth import AuthHelper
55
from datetime import datetime as datetime2
66

7-
INVOICE_MEMO = "You have 20 business days to respond to this fee statement or your file will be closed as Abandoned. If the total estimate is over $200 you are only required to pay a 50% deposit, otherwise you are required to pay the full amount."
8-
OUTSTANDING_INVOICE_MEMO = "You have 20 business days to respond to this fee statement or your file will be closed as Abandoned."
7+
INVOICE_MEMO = "You have 20 business days to respond to this fee statement or your file will be closed as Abandoned. If the total estimate is over $200 you are only required to pay a 50% deposit, otherwise you are required to pay the full amount. The first 3 hours of 'Location & Retrieving' are free and is represented as $90 in the 'Waived $' column."
8+
OUTSTANDING_INVOICE_MEMO = "You have 20 business days to respond to this fee statement or your file will be closed as Abandoned. The first 3 hours of 'Location & Retrieving' are free and is represented as $90 in the 'Waived $' column."
99

1010
class foiinvoiceservice:
1111
def generate_invoice(self, invoice, userid):

0 commit comments

Comments
 (0)