تثبيت النظام لأول مرة First-Time System Installation

هنحضّر الـ database، نضبط شركتك، وننشئ حساب المالك. دقيقتين بس. We'll prepare the database, configure your company, and create the owner account. Two minutes tops.

1 قاعدة البياناتDatabase
2 تحديث الجداولMigrations
3 بيانات الشركةCompany
4 حساب المالكOwner
5 إنهاءFinish

اتصال قاعدة البيانات Database Connection

أدخل بيانات SQL Server. لو الإعداد الحالي شغّال، اضغط "إعادة الفحص" واتخطّى للخطوة التالية. Enter your SQL Server details. If the existing config works, hit "Re-check" and continue.

الاتصال الحالي ناجح Current connection works
SQL1001.site4now.net  ·  db_ac8c3b_test2025
أو أدخل بيانات اتصال جديدة Or enter new connection details
ملحوظة: بعد حفظ بيانات الاتصال الجديدة لازم إعادة تشغيل التطبيق عشان يقرأها الـ DbContext. Note: after saving new credentials you must restart the app so the DbContext picks them up.

تحديث جداول قاعدة البيانات Apply Database Migrations

هنطبق أي تحديثات معلّقة على هيكل الـ DB. We'll apply any pending schema changes.

عندك 26 تحديث معلّق. اضغط "تطبيق" لتشغيلهم. You have 26 pending migrations. Click "Apply" to run them.
⏳ 20260429201655_V26_MUoM_Hardening
⏳ 20260429202215_V27_MUoM_PricingAndIdempotency
⏳ 20260429203246_V28_MUoM_StockCount_Receipts_Audit
⏳ 20260429213933_V30_BranchAddon_Invariants
⏳ 20260429215147_V31_UserBranchAccess
⏳ 20260429223541_V32_UserPhotoUrl
⏳ 20260429225142_V33_RefundLine_RefundedQuantity
⏳ 20260429225844_V34_ProductUnitPrices
⏳ 20260430004403_V35_InvoiceLine_RowVersion
⏳ 20260430012457_V38_CompanySecurityStamp
⏳ 20260430120000_V36_BackfillStockTransactionUnitFields
⏳ 20260430170000_V41_Warehouse_QA_Hardening
⏳ 20260430180000_V42_ProductCategory_EarnsLoyaltyPoints
⏳ 20260430190000_V43_CompanyReportLayout
⏳ 20260430200000_V44_Employee_QA_Hardening
⏳ 20260430210000_V45_Employee_NationalityId
⏳ 20260430220000_V46_AppointmentLineWorkflow
⏳ 20260430230000_V47_AiAssistant
⏳ 20260430240000_V48_InvoiceClientRequestIdIndex
⏳ 20260501010000_V49_StaffPortal
⏳ 20260501020000_V50_Invoice_RowVersion
⏳ 20260501030000_V51_StoreCredit_Idempotency
⏳ 20260501040000_V52_FinancialFkIndexes
⏳ 20260501050000_V53_QuickHardening
⏳ 20260501060000_V54_WalkInLockdown
⏳ 20260501070000_V55_Customer_MobileCountryCode

بيانات الشركة Company Details

دي بيانات الـ tenant الأساسية — بتظهر في الفواتير والتقارير. Core tenant info — appears on invoices and reports.

الفروع المتعددة ميزة إضافية يتم تفعيلها لاحقاً من الإضافات (Add-ons) حسب الباقة المشتركة. لو غير مفعّلة، النظام يشتغل بفرع واحد افتراضي تلقائياً. Multi-branch is an add-on enabled later based on the customer's plan. When disabled, the system runs with one default branch transparently.

حساب المالك (Admin) Owner Account (Admin)

ده الحساب الأول — بصلاحيات كاملة. متقدرش تنشئ owner تاني من الواجهة. The first account — full permissions. You can't create another owner from the UI.

هتستخدمه لتسجيل الدخول. Used to sign in.
٦ خانات كحد أدنى. النظام يخزّنها مشفّرة بـ PBKDF2. Minimum 6 characters. Hashed with PBKDF2 (Identity v3).

تم! جاهز للإنطلاق Ready to launch!

الخطوة الأخيرة — اختار لو عوز بيانات تجريبية أو تبدأ من الصفر. Last step — pick whether to seed sample data or start fresh.

تحميل بيانات تجريبية Load sample data
عملاء وموظفين وخدمات وفواتير افتراضية — مفيدة لو حابب تتجوّل في النظام قبل ما تستخدمه فعلاً. متنفعش لو هتنشّر النسخة لعميل حقيقي. Sample customers, staff, services, invoices — useful for exploring the UI. Don't enable on a customer's live deployment.
لما تضغط "إنهاء"، النظام هيحفظ الإعدادات ويـ redirect على شاشة تسجيل الدخول. ما تقدرش تشغّل الـ wizard ده تاني. When you press "Finish", the system saves the config and redirects to login. You can't re-run this wizard.