Skip to content

Commit 410bb5e

Browse files
committed
Remove IMM EFT payment logic
1 parent 2538912 commit 410bb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OFM.Infrastructure.WebAPI/Services/Processes/Payments/P500SendPaymentRequestProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public async Task<JsonObject> RunProcessAsync(ID365AppUserService appUserService
360360
PONumber = string.Empty.PadRight(header.FieldLength("PONumber")),// sending blank as not used by feeder
361361
invoiceDate = headeritem.First().ofm_revised_invoice_date?.ToString("yyyyMMdd") ?? headeritem.First().ofm_invoice_date?.ToString("yyyyMMdd"), // set to current date
362362
invoiceType = invoiceamount < 0 ? "CM" : "ST",// static to ST (standard invoice)
363-
payGroupLookup = (pay_method == ecc_payment_method.IMMEFT)? "IMM EFT N" : string.Concat("GEN ", pay_method, " N"),//GEN CHQ N if using cheque or GEN EFT N if direct deposit
363+
payGroupLookup = string.Concat("GEN ", pay_method, " N"),//GEN CHQ N if using cheque or GEN EFT N if direct deposit
364364
remittanceCode = _BCCASApi.InvoiceHeader.remittanceCode.PadRight(header.FieldLength("remittanceCode")), // for payment stub it is 00 always.
365365
grossInvoiceAmount = (invoiceamount < 0 ? "-" : "") + Math.Abs(invoiceamount).ToString("0.00", System.Globalization.CultureInfo.InvariantCulture).PadLeft(header.FieldLength("grossInvoiceAmount") - (invoiceamount < 0 ? 1 : 0), '0'), // invoice amount come from OFM total base value.
366366
CAD = _BCCASApi.InvoiceHeader.CAD,// static value :CAD

0 commit comments

Comments
 (0)