0) { $newTire = [ "id" => $id, "name" => $name, "brand" => $brand, "country" => $country, "category" => $category, "width" => $width, "aspect_ratio" => $aspect, "rim" => $rim, "size_str" => "{$width}/{$aspect}R{$rim}", "speed_index" => $speed, "load_index" => $load, "season" => "four_season", "season_fa" => "چهار فصل", "warranty_months" => $warranty, "production_year" => "2026", "fuel_efficiency" => "B", "wet_grip" => "A", "noise_level" => "69 dB", "price" => $price, "discount_percent" => 0, "stock" => $stock, "rating" => 5.0, "reviews_count" => 1, "vehicles" => $vehicles, "description" => $desc, "features" => ["تولید سال ۲۰۲۶ با گارانتی شرکتی", "ترکیب سیلیکایی با دوام بالا"], "image" => "assets/images/tire_barez_p648.svg", "is_featured" => false, "is_best_seller" => false ]; TireStore::addTire($newTire); $message = 'تایر جدید با موفقیت به انبار و کاتالوگ اضافه گردید.'; } else { $error = 'لطفاً تمامی فیلدهای الزامی را پر کنید.'; } } if ($action === 'quick_update_tire') { $id = $_POST['tire_id'] ?? ''; $price = intval($_POST['price'] ?? 0); $stock = intval($_POST['stock'] ?? 0); $discount = intval($_POST['discount_percent'] ?? 0); if ($id && $price > 0) { TireStore::updateTire($id, [ "price" => $price, "stock" => $stock, "discount_percent" => $discount ]); $message = "مشخصات تایر {$id} با موفقیت به‌روزرسانی شد."; } } if ($action === 'delete_tire') { $delId = $_POST['tire_id'] ?? ''; if ($delId) { TireStore::deleteTire($delId); $message = "تایر با شناسه {$delId} حذف گردید."; } } if ($action === 'update_consultation') { $cId = $_POST['consultation_id'] ?? ''; $cStatus = $_POST['status'] ?? 'جدید'; $cNote = trim($_POST['admin_note'] ?? ''); if ($cId) { TireStore::updateConsultationStatus($cId, $cStatus, $cNote); $message = "وضعیت استعلام {$cId} به‌روز شد."; } } if ($action === 'delete_consultation') { $cId = $_POST['consultation_id'] ?? ''; if ($cId) { TireStore::deleteConsultation($cId); $message = "درخواست مشاوره حذف گردید."; } } if ($action === 'update_settings') { $sitePhone = trim($_POST['site_phone'] ?? ''); $emergencyPhone = trim($_POST['emergency_phone'] ?? ''); $announcement = trim($_POST['announcement'] ?? ''); $centralAddress = trim($_POST['central_address'] ?? ''); TireStore::updateSettings([ "site_phone" => $sitePhone, "emergency_phone" => $emergencyPhone, "announcement" => $announcement, "central_address" => $centralAddress ]); $message = "تنظیمات و اطلاعات تماس فروشگاه ذخیره گردید."; } } $tires = TireStore::getTires(); $consultations = TireStore::getConsultations(); $settings = TireStore::getSettings(); // Inventory calculations $totalStockCount = array_sum(array_column($tires, 'stock')); $totalInventoryValue = 0; foreach ($tires as $t) { $totalInventoryValue += ($t['price'] * $t['stock']); } // Brand distribution $brandCounts = []; foreach ($tires as $t) { $b = $t['brand']; $brandCounts[$b] = ($brandCounts[$b] ?? 0) + $t['stock']; } ?> پنل مدیریت هوشمند و انبارداری | تایر قاسمی

ورود به پنل مدیریت تایر قاسمی

جهت دسترسی به انبار، قیمت‌ها و استعلام‌ها رمز عبور را وارد کنید.

رمز پیش‌فرض سیستم: admin123

سامانه مدیریت تایر قاسمی

ادمین فعال

انبارداری، استعلام‌ها، قیمت‌گذاری و تنظیمات

تنوع مدل‌های تایر
مدل فعال
۱۰۰٪ کاتالوگ آنلاین
کل موجودی انبار
حلقه
میانگین حلقه به ازای هر مدل
ارزش کل موجودی انبار
میلیون تومان
تومان
درخواست‌های مشاوره
لید دریافتی
نیازمند پیگیری تلفنی

سهم موجودی انبار بر اساس برند

$bCount): $pct = $totalStockCount > 0 ? round(($bCount / $totalStockCount) * 100) : 0; ?>
حلقه (%)

آخرین استعلام‌ها جهت پیگیری

()
تماس