Skip to content

Commit

Permalink
update commented changes'
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Jun 26, 2023
1 parent dee596a commit d7e55bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function update(): JsonResource
public function storeCoupon(): JsonResource
{
$couponCode = request()->input('code');

try {
if (strlen($couponCode)) {
$coupon = $this->cartRuleCouponRepository->findOneByField('code', $couponCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class="text-[16px] font-medium"
class="text-[16px] font-medium cursor-pointer"
v-if="cart.discount_amount == 0"
>
<x-shop::modal>
<x-shop::modal ref="modal">
<x-slot:toggle>
<span class="text-[#0A49A7]">
@lang('shop::app.checkout.cart.coupon.apply')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<v-modal
is-active="{{ $isActive }}"
ref="modal"
{{ $attributes }}
>
@isset($toggle)
<template v-slot:toggle>
Expand Down

0 comments on commit d7e55bd

Please sign in to comment.