Each of these now has an add button at the top of its own list page, so the nav entry duplicated it: - 'اضافه کردن شخص' (/customer/add) - 'افزودن شعب' (/branch/add) - 'افزودن کارگاه' (/workshop/add) - 'افزودن مدیر' (/user/create) Only the adminMenu tree is touched; branchMenu keeps its own /customer/add entry, since the branch build has no converted add-modal. All four routes still exist and still work as a direct-link fallback, and the parent submenus keep their remaining children (including 'دسترسی ها' under مدیران). Verified in a real browser: menu items 30 -> 26, none of the four labels render, all four parent submenus still present with their list children, icons unchanged at 16, no console errors. Committed dist/ artifact rebuilt to match (force-added, as it is gitignored but deliberately tracked for Dokploy). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2 lines
740 B
JavaScript
2 lines
740 B
JavaScript
import{_ as p}from"./bulkCustomer.vue_vue_type_script_setup_true_lang-BhZej5KV.js";import{d as u,b as l,i as f,h as b,c as n,g as e,e as a,o as s,f as r,j as c}from"./index-Cv1Zmfn4.js";import"./BaseFormModal.vue_vue_type_script_setup_true_lang-Ctp6vfI0.js";const h={id:"page-user-view"},k={id:"user-data"},V=u({__name:"AddCustomer",setup(B){const _=l(),t=o=>!!_.hasPermission(o);return(o,C)=>{const d=a("a-tab-pane"),m=a("a-tabs"),i=a("a-card");return s(),f("div",h,[b("div",k,[n(i,{class:"mb-base"},{default:e(()=>[t("persons.create")?(s(),r(m,{key:0},{default:e(()=>[t("persons.create.client")?(s(),r(d,{key:"omde",tab:"مشتری عمده"},{default:e(()=>[n(p)]),_:1})):c("",!0)]),_:1})):c("",!0)]),_:1})])])}}});export{V as default};
|