fix(dimentorin): hide raw QR string for midtrans provider in QRIS step

- QRIS step no longer shows the long EMVCo QR string verbatim (real VA number still shown in VA step)
- build verified
This commit is contained in:
asepharyana
2026-08-05 13:37:41 +07:00
parent 893f7ba03c
commit bb980a7add
@@ -47,7 +47,7 @@ export const QrisPaymentStep: FC<Props> = ({ payment }) => {
<p className="text-xs font-semibold text-neutral-700 md:text-[15px]">
Rp. {(payment?.total ?? 52000).toLocaleString("id-ID")}
</p>
<Show condition={!!payment?.external_ref}>
<Show condition={!!payment?.external_ref && payment.provider !== 'midtrans'}>
<p className="text-[10px] text-neutral-400 mt-1 font-medium">
Ref: {payment?.external_ref}
</p>