-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #604 from fecgov/feature/113-update-transaction-id…
…entifiers Feature/113 update transaction identifiers
- Loading branch information
Showing
28 changed files
with
120 additions
and
119 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...s/transaction-types/EAR_REC.model.spec.ts → ...ction-types/EARMARK_RECEIPT.model.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...models/transaction-types/EAR_REC.model.ts → ...ransaction-types/EARMARK_RECEIPT.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
.../transaction-types/INDV_REC.model.spec.ts → ...on-types/INDIVIDUAL_RECEIPT.model.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...odels/transaction-types/INDV_REC.model.ts → ...saction-types/INDIVIDUAL_RECEIPT.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...models/transaction-types/JF_TRAN.model.ts → ...types/JOINT_FUNDRAISING_TRANSFER.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
import { LabelUtils } from 'app/shared/utils/label.utils'; | ||
import { schema } from 'fecfile-validate/fecfile_validate_js/dist/JF_TRAN'; | ||
import { schema } from 'fecfile-validate/fecfile_validate_js/dist/JOINT_FUNDRAISING_TRANSFER'; | ||
import { TransactionType } from '../../interfaces/transaction-type.interface'; | ||
import { SchATransaction, ScheduleATransactionTypeLabels, ScheduleATransactionTypes } from '../scha-transaction.model'; | ||
|
||
export class JF_TRAN implements TransactionType { | ||
export class JOINT_FUNDRAISING_TRANSFER implements TransactionType { | ||
scheduleId = 'A'; | ||
componentGroupId = 'E'; | ||
title = LabelUtils.get(ScheduleATransactionTypeLabels, ScheduleATransactionTypes.JF_TRANSFER); | ||
title = LabelUtils.get(ScheduleATransactionTypeLabels, ScheduleATransactionTypes.JOINT_FUNDRAISING_TRANSFER); | ||
schema = schema; | ||
transaction = undefined; | ||
contact = undefined; | ||
parent = undefined; | ||
|
||
contributionPurposeDescripReadonly(): string { | ||
return 'Transfer of JF Proceeds'; | ||
return 'Transfer of Joint Fundraising Proceeds'; | ||
} | ||
|
||
getNewTransaction() { | ||
return SchATransaction.fromJSON({ | ||
form_type: 'SA12', | ||
transaction_type_identifier: ScheduleATransactionTypes.JF_TRANSFER, | ||
transaction_type_identifier: ScheduleATransactionTypes.JOINT_FUNDRAISING_TRANSFER, | ||
}); | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...action-types/OFFSET_TO_OPEX.model.spec.ts → ...T_TO_OPERATING_EXPENDITURES.model.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...transaction-types/OFFSET_TO_OPEX.model.ts → ...OFFSET_TO_OPERATING_EXPENDITURES.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...s/transaction-types/OTH_REC.model.spec.ts → ...saction-types/OTHER_RECEIPT.model.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...models/transaction-types/OTH_REC.model.ts → .../transaction-types/OTHER_RECEIPT.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...ansaction-types/JF_TRAN_PAC_MEMO.model.ts → ...ction-types/PAC_JF_TRANSFER_MEMO.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
.../transaction-types/TRIB_REC.model.spec.ts → ...action-types/TRIBAL_RECEIPT.model.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...odels/transaction-types/TRIB_REC.model.ts → ...transaction-types/TRIBAL_RECEIPT.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.