clean code
This commit is contained in:
@@ -69,12 +69,7 @@
|
||||
</FloatLabel>
|
||||
</div>
|
||||
|
||||
<!-- <div class="flex flex-col gap-1 my-custom-container inline">
|
||||
<FloatLabel>
|
||||
<InputText class="w-full" />
|
||||
<label>{{ $t("تخفیف برای همه کاربران") }}</label>
|
||||
</FloatLabel>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="flex pt-4 justify-end">
|
||||
@@ -93,16 +88,11 @@
|
||||
<script setup>
|
||||
import { useProductsStore } from "@/stores/products";
|
||||
import { useDiscountStore } from "@/stores/discounts";
|
||||
import { ref, watchEffect, reactive, inject } from "vue";
|
||||
import moment from "moment-jalaali";
|
||||
import { ref, reactive, inject } from "vue";
|
||||
|
||||
import { useRouter } from "vue-router";
|
||||
const { dialog, confirm, toast, t } = inject("service");
|
||||
const date = ref(null);
|
||||
const date2 = ref(null);
|
||||
const noe = ref("مبلغ");
|
||||
const store = useProductsStore();
|
||||
const { toast, t } = inject("service");
|
||||
const discount = useDiscountStore();
|
||||
const data = ref(null);
|
||||
const type = ref(null);
|
||||
const router = useRouter()
|
||||
const setType = (val) => {
|
||||
@@ -113,8 +103,6 @@ const setType = (val) => {
|
||||
}
|
||||
};
|
||||
|
||||
//const { dialog, confirm, toast, t } = inject("service");
|
||||
|
||||
const coupon = reactive({
|
||||
startDate: "",
|
||||
endDate: "",
|
||||
|
||||
Reference in New Issue
Block a user