logo logo logo logo
@php $profileImage = Auth::user()->profile_photo_path ? URL::asset('storage/' . Auth::user()->profile_photo_path) : URL::asset('assets/img/default-avatar.svg'); $defaultProfileImage = URL::asset('assets/img/default-avatar.svg'); @endphp صورة الملف الشخصي

{{ Auth::user()->name }}

{{ Auth::user()->email }}
@foreach (LaravelLocalization::getSupportedLocales() as $localeCode => $properties) {{ $localeCode === 'ar' ? 'العربية' : 'English' }} @endforeach
    @php $u = Auth::user(); // 1. قسم المبيعات والتفصيل $hasTailoringSlide = $u && ($u->can('Tailoring screen') || $u->can('Tailoring return') || $u->can('Tailoring returned invoices')); $hasCustomersSlide = $u && ($u->can('Promotional messages') || $u->can('Direct WhatsApp messages')); $hasSalesSlide = $u && ($u->can('Sales') || $u->can('Inventory quantity notifications') || $u->can('Previous sales invoices') || $u->can('Edit previous sales invoices') || $u->can('External invoices edits')); $hasSalesCategory = $hasTailoringSlide || $hasCustomersSlide || $hasSalesSlide; // 2. قسم المشتريات $hasPurchasesSlide = $u && ($u->can('Purchases products') || $u->can('purchase return') || $u->can('purchase order to resources') || $u->can('Previous purchase invoices') || $u->can('Purchases')); $hasPurchasesCategory = $hasPurchasesSlide; // 3. قسم التصنيع والأقمشة $hasClothSlide = $u && ($u->can('View cloth types') || $u->can('Add cloth type')); $hasManufacturingSlide = $u && ($u->can('manufacturing') || $u->can('Production orders log')); $hasManufacturingCategory = $hasClothSlide || $hasManufacturingSlide; // 4. قسم المنتجات والمخزون والعمليات الفرعية $hasProductsSlide = $u && ($u->can('Produects') || $u->can('Stock adjustment') || $u->can('Product data change') || $u->can('product damage') || $u->can('Transferring a product to another branch') || $u->can('Receiving a product from another branch')); $hasSubprocessesSlide = $u && ($u->can('Subprocesses') || $u->can('Add new product') || $u->can('Product groups') || $u->can('Add a new customer') || $u->can('Update customer') || $u->can('Add new supplier') || $u->can('Update supplier')); $hasProductsCategory = $hasProductsSlide || $hasSubprocessesSlide; // 5. قسم الحسابات والمالية $hasAccountsSlide = $u && ($u->can('Accounts') || $u->can('accounting') || $u->can('Account types') || $u->can('enpenses_reason') || $u->can('Opening entry') || $u->can('Add financial account') || $u->can('Daily_record') || $u->can('Chart of accounts tree') || $u->can('Financial accounts list') || $u->can('Receipt document') || $u->can('Add cach from bank') || $u->can('Voucher') || $u->can('Transfer cash to a bank') || $u->can('List of customers') || $u->can('List of suppliers')); $hasAccountsCategory = $hasAccountsSlide; // 6. قسم التقارير $hasGoalsReports = $u && ($u->can('New customers report') || $u->can('Repeat customers report') || $u->can('Average orders value report') || $u->can('Sales target report')); $hasAccountingReports = $u && ($u->can('Income statement report') || $u->can('Trial balance report') || $u->can('Balance sheet report') || $u->can('budget sheet') || $u->can('TransFerCashTothenNextDay') || $u->can('Historyـofـproductـsales') || $u->can('invoice_edits_report') || $u->can('costly_edits_report') || $u->can('Credit collection') || $u->can('Daily final report') || $u->can('Production report') || $u->can('Supplier credit payment') || $u->can('Supplier_debt_restructuring') || $u->can('Customer_debt_restructuring') || $u->can('cost_center') || $u->can('account_statement') || $u->can('Daily record report') || $u->can('Sales profit') || $u->can('Transfers to master branch') || $u->can('Expenses') || $u->can('Customer exceeded grace period') || $u->can('VAT')); $hasSalesReports = $u && ($u->can('year_sales_report') || $u->can('products_waste_report') || $u->can('sales_and_return') || $u->can('Sales return report') || $u->can('Customer purchases') || $u->can('Product purchases for customer') || $u->can('Product sales') || $u->can('Best selling product') || $u->can('Employee sales') || $u->can('Sales profits report') || $u->can('Branch profits report') || $u->can('Customers debt report')); $hasPurchasesReports = $u && ($u->can('Puchases from supplier') || $u->can('Purchases report') || $u->can('Refound of resource purchases') || $u->can('Delivery notes') || $u->can('Purchase orders from suppliers')); $hasInventoryReports = $u && ($u->can('Product sales purchases report') || $u->can('Low sell products report') || $u->can('Update stock quantity') || $u->can('stok quantity') || $u->can('Stocktaking') || $u->can('Backup database') || $u->can('Product damage reports') || $u->can('Transfer of products')); $hasReportsSlide = $u && ($u->can('Reports') || $u->can('Consolidated bank report') || $hasGoalsReports || $hasAccountingReports || $hasSalesReports || $hasPurchasesReports || $hasInventoryReports); $hasReportsCategory = $hasReportsSlide; // 7. قسم المستخدمين والموارد البشرية $hasUsersSlide = $u && ($u->can('User and branches') || $u->can('Branches') || $u->can('List of users') || $u->can('Users permissions')); $hasHrSlide = $u && ($u->can('Human Resource') || $u->can('Employee') || $u->can('Add new employee') || $u->can('create a department') || $u->can('Increase or deduction') || $u->can('Employee loans') || $u->can('Salary document') || $u->can('Deductions and bonuses report')); $hasUsersCategory = $hasUsersSlide || $hasHrSlide; // 8. قسم الإعدادات والدعم $hasSettingsSlide = $u && ($u->can('Setting') || $u->can('profile') || $u->can('AVT') || $u->can('System setting')); $hasSupportSlide = $u && $u->can('Technical support'); $hasSettingsCategory = $hasSettingsSlide || $hasSupportSlide; @endphp {{-- ================= الرئيسية ================= --}} @can('Home')
  • {{__('home.home')}}
  • @endcan {{-- ================= قسم المبيعات والتفصيل ================= --}} @if ($hasSalesCategory)
  • {{ __('home.sales') }} & {{ __('home.tailoring') }}
  • {{-- 1. التفصيل --}} @if ($hasTailoringSlide)
  • {{ __('home.tailoring') }}
      @can('Tailoring screen')
    • {{ __('home.detail_screen') }}
    • @endcan @can('Tailoring return')
    • {{ __('home.tailoring_return') }}
    • @endcan @can('Tailoring returned invoices')
    • {{ __('home.previous_returns') }}
    • @endcan
  • @endif {{-- 2. العملاء والرسائل الترويجية --}} @if ($hasCustomersSlide)
  • {{ __('home.customers') ?? 'العملاء' }}
      @can('Promotional messages')
    • {{ __('promotions.promotional_messages') }}
    • @endcan @can('Direct WhatsApp messages')
    • {{ __('home.whatsapp_messages') ?? 'رسائل الواتساب المباشرة' }}
    • @endcan
  • @endif {{-- 3. المبيعات --}} @if ($hasSalesSlide)
  • {{__('home.sales')}}
      @can('Sales')
    • {{__('home.sales')}}
    • @endcan @can('Inventory quantity notifications')
    • {{__('home.Inventory quantity')}}
    • @endcan @can('Previous sales invoices')
    • {{__('home.previousSalesInvoices')}}
    • @endcan @can('Edit previous sales invoices')
    • {{__('home.edit_previous_invoices')}}
    • @endcan @can('External invoices edits')
    • {{__('home.external_edits')}}
    • @endcan
  • @endif @endif {{-- ================= قسم المشتريات ================= --}} @if ($hasPurchasesCategory)
  • {{ __('home.purchases') }}
  • @if ($hasPurchasesSlide)
  • {{__('home.purchases')}}
      @can('Purchases products')
    • {{__('home.purchases')}}
    • @endcan @can('purchase return')
    • {{__('home.purchase_return')}}
    • @endcan @can('purchase order to resources')
    • {{__('home.Purchase_order_of_resources')}}
    • @endcan @can('Previous purchase invoices')
    • {{__('home.previousPurchasesInvoices')}}
    • @endcan
  • @endif @endif {{-- ================= قسم التصنيع والأقمشة ================= --}} @if ($hasManufacturingCategory)
  • {{ __('home.manufacturing') }} & {{ __('home.cloth_types') }}
  • @if ($hasClothSlide)
  • {{ __('home.cloth_types') }}
      @can('View cloth types')
    • {{ __('home.view_cloth_types') }}
    • @endcan @can('Add cloth type')
    • {{ __('home.add_new_cloth') }}
    • @endcan
  • @endif @if ($hasManufacturingSlide)
  • {{ __('home.manufacturing') }}
      @can('manufacturing')
    • {{__('home.manufacturin_screen')}}
    • @endcan @can('Production orders log')
    • {{ __('home.production_orders_log') }}
    • @endcan
  • @endif @endif {{-- ================= قسم المنتجات والمخزون ================= --}} @if ($hasProductsCategory)
  • {{ __('home.showallproduct') }}
  • @if ($hasProductsSlide)
  • {{__('home.showallproduct')}}
      @can('Produects')
    • {{__('home.stock')}}
    • @endcan @can('Stock adjustment')
    • {{__('supprocesses.stockadjustment')}}
    • @endcan @can('Product data change')
    • {{__('supprocesses.product_movement')}}
    • @endcan @can('product damage')
    • {{__('home.product damage')}}
    • @endcan @can('Transferring a product to another branch')
    • {{__('home.send_product_from_brance')}}
    • @endcan @can('Receiving a product from another branch')
    • {{__('home.recive_product_from_brance')}}
    • @endcan
  • @endif {{-- ================= قسم العمليات الفرعية ================= --}} @if ($hasSubprocessesSlide)
  • {{__('home.Subprocesses')}}
      @can('Add new product')
    • {{__('supprocesses.addproduct')}}
    • @endcan @can('Product groups')
    • {{__('home.groups')}}
    • @endcan @can('Add a new customer')
    • {{__('home.addnewcustomer')}}
    • @endcan @can('Update customer')
    • {{__('home.updatecustome')}}
    • @endcan @can('Add new supplier')
    • {{__('home.addnewsupplier')}}
    • @endcan @can('Update supplier')
    • {{__('home.updatesupplier')}}
    • @endcan
  • @endif @endif {{-- ================= قسم الحسابات والمالية ================= --}} @if ($hasAccountsCategory)
  • {{ __('home.accounting') }}
  • @if ($hasAccountsSlide)
  • {{__('home.accounting')}}
      @can('Account types')
    • {{__( 'home.account_type')}}
    • @endcan @can('enpenses_reason')
    • {{__('report.enpenses_reason')}}
    • @endcan @can('Opening entry')
    • {{__('home.Opening_entry')}}
    • @endcan @can('Add financial account')
    • {{__( 'home.add_new_account')}}
    • @endcan @can('Daily_record')
    • {{__( 'home.Daily_record')}}
    • @endcan @can('Chart of accounts tree')
    • {{__( 'home.tree')}}
    • @endcan @can('Financial accounts list')
    • {{__( 'home.Financial_accounts')}}
    • @endcan @can('Receipt document')
    • {{__('home.Receipt document')}}
    • @endcan @can('Add cach from bank')
    • {{__('home.cach_from_bank')}}
    • @endcan @can('Voucher')
    • {{__('home.voucher')}}
    • @endcan @can('Transfer cash to a bank')
    • {{__('home.convertboxtobank')}}
    • @endcan @can('List of customers')
    • {{__('home.customerList')}}
    • @endcan @can('List of suppliers')
    • {{__('report.Listofsupplier')}}
    • @endcan
  • @endif @endif {{-- ================= قسم التقارير ================= --}} @if ($hasReportsCategory)
  • {{ __('home.reports') }}
  • @if ($hasReportsSlide)
  • {{ __('home.reports') }}
      {{-- 1. مراقبة الأهداف --}} @if ($hasGoalsReports)
    • {{ __('home.goals_monitoring') }}
        @can('New customers report')
      • {{ __('home.new_customers_count') }}
      • @endcan @can('Repeat customers report')
      • {{ __('home.number_of_repeat_customers') }}
      • @endcan @can('Average orders value report')
      • {{ __('home.average_orders_value') }}
      • @endcan @can('Sales target report')
      • {{ __('home.sales_target') }}
      • @endcan
    • @endif {{-- 2. تقارير الحسابات --}} @if ($hasAccountingReports)
    • {{ __('home.accounting') }}
        @can('Income statement report')
      • {{ __('home.income_statement') }}
      • @endcan @can('Trial balance report')
      • {{ __('home.trial_balance') }}
      • @endcan @can('Balance sheet report')
      • {{ __('home.balance_sheet') }}
      • @endcan @can('budget sheet')
      • {{ __('home.transction_day') }}
      • @endcan @can('TransFerCashTothenNextDay')
      • {{ __('home.Transfer cash to the next day') }}
      • @endcan @can('Historyـofـproductـsales')
      • {{ __('home.Historyـofـproductـsales') }}
      • @endcan @can('invoice_edits_report')
      • {{ __('sales.invoice_edits_report')}}
      • @endcan @can('costly_edits_report')
      • {{ __('sales.costly_edits_report')}}
      • @endcan @can('Credit collection')
      • {{ __('report.creditcollection') }}
      • @endcan @can('Daily final report')
      • {{ __('home.daily-final-report') }}
      • @endcan @can('Production report')
      • {{ __('home.production') }}
      • @endcan @can('Supplier credit payment')
      • {{ __('report.Supplier credit payment') }}
      • @endcan @can('Supplier_debt_restructuring')
      • {{ __('home.Supplier_debt_restructuring') }}
      • @endcan @can('Customer_debt_restructuring')
      • {{ __('home.Customer_debt_restructuring') }}
      • @endcan @can('cost_center')
      • {{ __('home.cost_center') }}
      • @endcan @can('account_statement')
      • {{ __('home.account_statement') }}
      • @endcan @can('Daily record report')
      • {{ __('home.Daily_record') }}
      • @endcan @can('Sales profit')
      • {{ __('home.profit_and_lost') }}
      • @endcan @can('Transfers to master branch')
      • {{ __('home.transactionsToMasterBranch') }}
      • @endcan @can('Expenses')
      • {{ __('report.Expenses') }}
      • @endcan @can('Customer exceeded grace period')
      • {{ __('report.Customers have exceeded the grace period') }}
      • @endcan @can('VAT')
      • {{ __('report.VAT') }}
      • @endcan
    • @endif {{-- 3. تقارير المبيعات --}} @if ($hasSalesReports)
    • {{ __('home.sales') }}
        @can('year_sales_report')
      • {{ __('home.year_sales_report') }}
      • @endcan @can('products_waste_report')
      • {{ __('sales.products_waste_report')}}
      • @endcan @can('sales_and_return')
      • {{ __('home.sales_and_return') }}
      • @endcan @can('Sales return report')
      • {{ __('report.report_returns_sale') }}
      • @endcan @can('Customer purchases')
      • {{ __('report.customerـpurchases') }}
      • @endcan @can('Product purchases for customer')
      • {{ __('report.purchasproducttocustomer') }}
      • @endcan @can('Product sales')
      • {{ __('report.product_sales') }}
      • @endcan @can('Best selling product')
      • {{ __('report.Best selling products') }}
      • @endcan @can('Employee sales')
      • {{ __('report.employeeـsales') }}
      • @endcan @can('Sales profits report')
      • {{ __('report.salesـprofits') }}
      • @endcan @can('Branch profits report')
      • {{ __('report.branch-profits-report') }}
      • @endcan @can('Customers debt report')
      • {{ __('home.customers_debt') }}
      • @endcan
    • @endif {{-- 4. تقارير المشتريات --}} @if ($hasPurchasesReports)
    • {{ __('home.purchases') }}
        @can('Puchases from supplier')
      • {{ __('home.purchases') }}
      • @endcan @can('Purchases report')
      • {{ __('home.purchasereports') }}
      • @endcan @can('Refound of resource purchases')
      • {{ __('report.Refundـofـresourceـpurchases') }}
      • @endcan @can('Delivery notes')
      • {{ __('report.Delivery_notes') }}
      • @endcan @can('Purchase orders from suppliers')
      • {{ __('report.Requestـoffersـfromـsuppliers') }}
      • @endcan
    • @endif {{-- 5. تقارير المخزون / المنتجات --}} @if ($hasInventoryReports)
    • {{ __('home.showallproduct') }}
        @can('Product sales purchases report')
      • {{ __('home.product_sales_purchases') }}
      • @endcan @can('Low sell products report')
      • {{ __('home.low_sell') }}
      • @endcan @can('Update stock quantity')
      • {{ __('home.updatestockquentity') }}
      • @endcan @can('stok quantity')
      • {{ __('report.stockquantity') }}
      • @endcan @can('Stocktaking')
      • {{ __('home.Stocktaking') }}
      • @endcan @can('Backup database')
      • {{ __('home.backup') }}
      • @endcan @can('Product damage reports')
      • {{ __('home.product damage') }}
      • @endcan @can('Transfer of products')
      • {{ __('home.Transfer of goods') }}
      • @endcan
    • @endif
  • @endif @endif {{-- ================= المستخدمين والموارد البشرية ================= --}} @if ($hasUsersCategory)
  • {{ __('home.users') }} & {{ __('home.Human Resource Management') }}
  • @if ($hasUsersSlide)
  • {{__('home.users')}}
      @can('Branches')
    • {{__('report.allBranches')}}
    • @endcan @can('List of users')
    • {{__('users.usersList')}}
    • @endcan @can('Users permissions')
    • {{__('users.Userـpermissions')}}
    • @endcan
  • @endif @if ($hasHrSlide)
  • {{__('home.Human Resource Management')}}
      @can('Employee')
    • {{__('hr.show_employees')}}
    • @endcan @can('Add new employee')
    • {{__('hr.add_new_employee')}}
    • @endcan @can('create a department')
    • {{__('hr.createdepartment')}}
    • @endcan @can('Increase or deduction')
    • {{__('hr.Increaseـor deductionـforـtheـemployee')}}
    • @endcan @can('Employee loans')
    • {{__('home.Loans')}}
    • @endcan @can('Salary document')
    • {{__('hr.salarydecoument')}}
    • @endcan @can('Deductions and bonuses report')
    • تقرير الخصومات والمكافآت
    • @endcan
  • @endif @endif {{-- ================= قسم الإعدادات والدعم ================= --}} @if ($hasSettingsCategory)
  • {{ __('home.setting') }}
  • @if ($hasSettingsSlide)
  • {{__('home.setting')}}
      @can('profile')
    • {{__('auth.setting')}}
    • @endcan @can('AVT')
    • {{__('home.AVTSHOW')}}
    • @endcan @can('System setting')
    • {{__('home.systemSetting')}}
    • @endcan
    • {{__('home.logout')}}
  • @endif @if ($hasSupportSlide)
  • {{__('home.For communication and technical support')}}
    • {{__('home.connectwithebdeasoft')}}
    • {{__('home.emailcontact')}}
    • {{__('home.whatsappcontact')}}
  • @endif @endif