diff --git a/resources/assets/vue/components/paymentsBilling/elements/PaymentsBillingComponents.vue b/resources/assets/vue/components/paymentsBilling/elements/PaymentsBillingComponents.vue index daf67ab6..ca4c0608 100644 --- a/resources/assets/vue/components/paymentsBilling/elements/PaymentsBillingComponents.vue +++ b/resources/assets/vue/components/paymentsBilling/elements/PaymentsBillingComponents.vue @@ -26,11 +26,11 @@

Payment Date

-
{{ item.payment_history[item.payment_history.length-1].created_at }}
+
{{ item.payment_history?.[item.payment_history.length - 1]?.created_at || '-' }}

Bill Number

-
{{ item.payment_history[item.payment_history.length-1].payment_reference }}
+
{{ item.payment_history?.[item.payment_history.length-1]?.payment_reference || '-' }}
diff --git a/resources/assets/vue/components/paymentsBilling/forms/GroupPaymentFormComponent.vue b/resources/assets/vue/components/paymentsBilling/forms/GroupPaymentFormComponent.vue index df063c2d..f4979ca3 100644 --- a/resources/assets/vue/components/paymentsBilling/forms/GroupPaymentFormComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/forms/GroupPaymentFormComponent.vue @@ -155,7 +155,7 @@ export default { props: { sumAmount: { - type: String, + type: Number, required: true }, section:{