@@ -332,13 +332,13 @@ public function addCharges(DTO\EntryTransactionDetail $detail, SimpleXMLElement
332
332
333
333
public function addAmountDetails (DTO \EntryTransactionDetail $ detail , SimpleXMLElement $ xmlDetail , SimpleXMLElement $ CdtDbtInd ): void
334
334
{
335
- if (isset ($ xmlDetail ->AmtDtls , $ xmlDetail ->AmtDtls ->TxAmt , $ xmlDetail ->AmtDtls ->TxAmt ->Amt )) {
336
- $ money = $ this ->moneyFactory ->create ($ xmlDetail ->AmtDtls ->TxAmt ->Amt , $ CdtDbtInd );
337
- $ detail ->setAmountDetails ($ money );
338
- } elseif (isset ($ xmlDetail ->AmtDtls ->PrtryAmt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Amt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Tp )) {
339
- $ money = $ this ->moneyFactory ->create ($ xmlDetail ->AmtDtls ->PrtryAmt ->Amt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Tp );
340
- $ detail ->setAmountDetails ($ money );
341
- }
335
+ if (isset ($ xmlDetail ->AmtDtls , $ xmlDetail ->AmtDtls ->TxAmt , $ xmlDetail ->AmtDtls ->TxAmt ->Amt )) {
336
+ $ money = $ this ->moneyFactory ->create ($ xmlDetail ->AmtDtls ->TxAmt ->Amt , $ CdtDbtInd );
337
+ $ detail ->setAmountDetails ($ money );
338
+ } elseif (isset ($ xmlDetail ->AmtDtls ->PrtryAmt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Amt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Tp )) {
339
+ $ money = $ this ->moneyFactory ->create ($ xmlDetail ->AmtDtls ->PrtryAmt ->Amt , $ xmlDetail ->AmtDtls ->PrtryAmt ->Tp );
340
+ $ detail ->setAmountDetails ($ money );
341
+ }
342
342
}
343
343
344
344
public function addAmount (DTO \EntryTransactionDetail $ detail , SimpleXMLElement $ xmlDetail , SimpleXMLElement $ CdtDbtInd ): void
0 commit comments