mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fix partial payment issue
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"/assets/js/app.js": "/assets/js/app.js?id=d81a97bae3dfe124894b",
|
"/assets/js/app.js": "/assets/js/app.js?id=f27bd2496ecc09bcecfb",
|
||||||
"/assets/css/crater.css": "/assets/css/crater.css?id=16fbf5d814f29e408426"
|
"/assets/css/crater.css": "/assets/css/crater.css?id=16fbf5d814f29e408426"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -121,7 +121,11 @@
|
|||||||
v-model="amount"
|
v-model="amount"
|
||||||
:currency="customerCurrency"
|
:currency="customerCurrency"
|
||||||
:invalid="$v.formData.amount.$error"
|
:invalid="$v.formData.amount.$error"
|
||||||
class="relative w-full focus:border focus:border-solid focus:border-primary-500"
|
class="
|
||||||
|
relative
|
||||||
|
w-full
|
||||||
|
focus:border focus:border-solid focus:border-primary-500
|
||||||
|
"
|
||||||
@input="$v.formData.amount.$touch()"
|
@input="$v.formData.amount.$touch()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -141,7 +145,18 @@
|
|||||||
<div slot="afterList">
|
<div slot="afterList">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="flex items-center justify-center w-full px-2 py-2 bg-gray-200 border-none outline-none text-primary-400"
|
class="
|
||||||
|
flex
|
||||||
|
items-center
|
||||||
|
justify-center
|
||||||
|
w-full
|
||||||
|
px-2
|
||||||
|
py-2
|
||||||
|
bg-gray-200
|
||||||
|
border-none
|
||||||
|
outline-none
|
||||||
|
text-primary-400
|
||||||
|
"
|
||||||
@click="addPaymentMode"
|
@click="addPaymentMode"
|
||||||
>
|
>
|
||||||
<shopping-cart-icon class="h-5 mr-3 text-primary-400" />
|
<shopping-cart-icon class="h-5 mr-3 text-primary-400" />
|
||||||
@ -524,7 +539,7 @@ export default {
|
|||||||
async fetchCustomerInvoices(userId) {
|
async fetchCustomerInvoices(userId) {
|
||||||
let data = {
|
let data = {
|
||||||
customer_id: userId,
|
customer_id: userId,
|
||||||
status: 'UNPAID',
|
status: 'DUE',
|
||||||
}
|
}
|
||||||
let response = await this.fetchInvoices(data)
|
let response = await this.fetchInvoices(data)
|
||||||
this.invoiceList = response.data.invoices.data
|
this.invoiceList = response.data.invoices.data
|
||||||
|
|||||||
Reference in New Issue
Block a user