Compare commits
2 Commits
a449a366e0
...
8bf4d6da22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bf4d6da22 | ||
|
|
adfa73070f |
@ -314,8 +314,9 @@ public class QRTransactionFragment extends DataBindingFragment implements DataBi
|
||||
|
||||
retrievedUpdatePayDetail(refLabel, payDetail,false);
|
||||
|
||||
double realAmount = payDetail.getAmount() / 100.0;
|
||||
DecimalFormat df = new DecimalFormat("0.00");
|
||||
String amount = df.format(payDetail.getAmount());
|
||||
String amount = df.format(realAmount);
|
||||
|
||||
String currentTimeStamp = new java.text.SimpleDateFormat("MMddHHmmss", java.util.Locale.getDefault())
|
||||
.format(new java.util.Date());
|
||||
|
||||
@ -61,13 +61,13 @@
|
||||
android:text="Original Amount"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/radio_partial"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Partial Amount"
|
||||
android:textSize="16sp" />
|
||||
<!-- <RadioButton-->
|
||||
<!-- android:id="@+id/radio_partial"-->
|
||||
<!-- android:layout_width="0dp"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_weight="1"-->
|
||||
<!-- android:text="Partial Amount"-->
|
||||
<!-- android:textSize="16sp" />-->
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user