Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeji committed Nov 5, 2024
1 parent 5725976 commit e8ae931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/order/payment/PaymentView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@
<script>
import axios from 'axios';
import * as PortOne from "@portone/browser-sdk/v2";
import CouponList from '../coupon/CouponList.vue';

Check failure on line 337 in src/views/order/payment/PaymentView.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy

'CouponList' is defined but never used
export default {
watch: {
Expand Down Expand Up @@ -473,6 +474,7 @@ export default {
console.log("line 470");
console.log(Date.now());
this.availableCoupons = allCoupons.filter(coupon => coupon.useYn === "N" && new Date(coupon.expiration) >= new Date() && coupon.farmId == this.farmId);
console.log(">>>>>coupon.farmId: " + coupon.farmId + " >>>>>this.farmId: " + this.farmId);

Check failure on line 477 in src/views/order/payment/PaymentView.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy

'coupon' is not defined
this.couponDiscountRate = Number(couponRes.discountRate) / 100;
this.couponDiscountedAmount = this.couponDiscountRate * this.packageProduct.price;
Expand Down

0 comments on commit e8ae931

Please sign in to comment.