show total price when pending is 0

This commit is contained in:
MacBook Air M1
2026-06-10 21:15:59 +07:00
parent 2e99a7b2f7
commit 7061031cd9
@@ -1524,6 +1524,13 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
</span>
);
}
if (showTotalPrice) {
return (
<span className='text-sm text-gray-600 whitespace-nowrap'>
(total harga: {totalPrice})
</span>
);
}
return null;
}