mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 09:58:12 +00:00
feat: ( payment ) specific CBE query descriptions + Payment_Reason
This commit is contained in:
@@ -3,7 +3,7 @@ import { CbeQueryResponseDto } from "../dto/cbe-query-response.dto";
|
||||
|
||||
export function mapQuerySuccess(
|
||||
request: CbeQueryRequestDto,
|
||||
input: { amountMajor: number; fullName: string },
|
||||
input: { amountMajor: number; fullName: string; paymentReason: string },
|
||||
): CbeQueryResponseDto {
|
||||
const amount = input.amountMajor.toFixed(2);
|
||||
return {
|
||||
@@ -16,7 +16,7 @@ export function mapQuerySuccess(
|
||||
First_Name: "",
|
||||
Last_Name: "",
|
||||
Full_Name: input.fullName,
|
||||
Payment_Reason: "",
|
||||
Payment_Reason: input.paymentReason,
|
||||
Tin_Number: "",
|
||||
Credit_Acct_Number: "",
|
||||
Transaction_Type: "",
|
||||
|
||||
Reference in New Issue
Block a user