remove console logs
This commit is contained in:
parent
e85a300703
commit
d1e1d2fe7d
|
@ -13,7 +13,7 @@ class UiGeneralController extends AbstractController
|
|||
#[Route('/', name: 'general_home')]
|
||||
public function general_home(): Response
|
||||
{
|
||||
return $this->redirect('/u');
|
||||
return $this->redirect('/u/');
|
||||
}
|
||||
|
||||
#[Route('/system/getname', name: 'general_get_name')]
|
||||
|
|
|
@ -153,7 +153,6 @@
|
|||
async fetchHesabdariTables() {
|
||||
try {
|
||||
const response = await axios.get('/api/hesabdari/tables');
|
||||
console.log('دیتای دریافتشده از API:', response.data);
|
||||
this.hesabdariTables = response.data.data;
|
||||
} catch (error) {
|
||||
console.error('خطا در دریافت حسابها:', error.response?.data || error.message);
|
||||
|
|
|
@ -160,8 +160,8 @@ export default defineComponent({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<v-btn v-if="$props.btn == true" @click="loadData(); dialog = true"
|
||||
icon="mdi-plus" class="text-primary" variant="plain" density="compact" :title="$t('dialog.new')">
|
||||
<v-btn v-if="$props.btn == true" @click="loadData(); dialog = true" icon="mdi-plus" class="text-primary"
|
||||
variant="plain" density="compact" :title="$t('dialog.new')">
|
||||
</v-btn>
|
||||
|
||||
<v-dialog v-model="dialog" transition="dialog-bottom-transition" fullscreen>
|
||||
|
@ -223,8 +223,7 @@ export default defineComponent({
|
|||
<p class="py-0 my-0 text-primary">نوع مشتری</p>
|
||||
<div v-for="(item, index) in person.types"
|
||||
class="form-check form-check-inline">
|
||||
<input @change="console.log(this.person.types)"
|
||||
v-model="person.types[index].checked" checked=""
|
||||
<input v-model="person.types[index].checked" checked=""
|
||||
class="form-check-input" type="checkbox">
|
||||
<label class="form-check-label">{{ item.label }}</label>
|
||||
</div>
|
||||
|
|
|
@ -295,11 +295,9 @@ const loadData = async (options = null) => {
|
|||
dateFilter: dateFilter.value,
|
||||
};
|
||||
|
||||
console.log('Request Params:', params);
|
||||
|
||||
const response = await axios.post('/api/person/receive/list/search', params);
|
||||
|
||||
console.log('Server Response:', response.data);
|
||||
|
||||
if (response.data) {
|
||||
if (Array.isArray(response.data)) {
|
||||
|
@ -316,8 +314,7 @@ const loadData = async (options = null) => {
|
|||
amount: parseFloat(item.amount)
|
||||
}));
|
||||
|
||||
console.log('Processed Items:', items.value);
|
||||
console.log('Total Items:', totalItems.value);
|
||||
|
||||
|
||||
sumTotal.value = items.value.reduce((acc, item) => acc + parseFloat(item.amount), 0);
|
||||
}
|
||||
|
|
|
@ -85,9 +85,7 @@ const callInstallbtn = () => {
|
|||
|
||||
event.userChoice.then((choiceResult: { outcome: string }) => {
|
||||
if (choiceResult.outcome === "accepted") {
|
||||
console.log("User Accepted");
|
||||
} else {
|
||||
console.log("User dismissed");
|
||||
}
|
||||
|
||||
installPromptEvent.value = null;
|
||||
|
@ -146,7 +144,6 @@ onMounted(() => {
|
|||
window.addEventListener("beforeinstallprompt", (e: Event) => {
|
||||
e.preventDefault();
|
||||
installPromptEvent.value = e;
|
||||
console.log(installPromptEvent.value);
|
||||
});
|
||||
|
||||
// setTimeout(() => {
|
||||
|
|
Loading…
Reference in a new issue