feature: po pay downpayment

This commit is contained in:
2026-07-20 13:14:28 +07:00
parent dd5f0b6ab4
commit d92fb57751
64 changed files with 6166 additions and 1739 deletions

View File

@@ -79,7 +79,6 @@ export async function searchcard(token,prm) {
export async function pay(prm) {
try {
// var resp = await axios.post(URL + 'payment/paymanual',prm);
var resp = await axios.post(URL + 'PaymentV2/paymanual',prm);
if (resp.status != 200) {
return {

View File

@@ -93,7 +93,7 @@
v-bind:class="{'amber lighten-4':isSelected(props.item)}"
>
{{ props.item.SupplierInvoiceNumber}}
<p><v-btn v-if="props.item.SupplierInvoiceIsLunas === 'Y'" small color="success">Lunas</v-btn></p>
<p><v-btn v-if="props.item.flaglunas === 'Y'" small color="success">Lunas</v-btn></p>
</td>
<td
class="pa-2" @click="selectMe(props.item)"
@@ -189,7 +189,7 @@
v-bind:class="{'amber lighten-4':isSelected(props.item)}"
>
{{ props.item.SupplierInvoiceNumber}}
<p><v-btn v-if="props.item.SupplierInvoiceIsLunas === 'Y'" small color="success">Lunas</v-btn></p>
<p><v-btn v-if="props.item.flaglunas === 'Y'" small color="success">Lunas</v-btn></p>
</td>
<td
class="pa-2" @click="selectMe(props.item)"

View File

@@ -1199,7 +1199,8 @@
notes: this.$store.state.paymentmanual.notes,
totalbill : this.$store.state.bill.selected_bill.totalbill,
paid : this.$store.state.bill.selected_bill.paid,
tanggalbayar : this.xtanggalbayar
tanggalbayar: this.xtanggalbayar,
type: this.$store.state.bill.selected_bill.type,
}
//console.log(prm.amount)
this.$store.dispatch("paymentmanual/pay", prm)