جاري الاتصال بـ PremoLube...
dashboard.premolube.workers.dev
TYPE html> PremoLube — لوحة القيادة v4
PremoLube
PremoLube Dashboard v4
8 ميزات جديدة: زيارات · خريطة · مخزون · PDF · Lead Scoring · فلاتر متقدمة · Excel Import · Target vs Actual
⚠️ شغّل هذا SQL في Supabase (SQL Editor) للميزات الجديدة:
create table if not exists visits (id uuid primary key default gen_random_uuid(), client_id uuid, rep_id uuid, visit_date date default current_date, visit_type text default 'زيارة', result text, next_action text, created_at timestamptz default now());
create table if not exists products (id uuid primary key default gen_random_uuid(), name text, category text, spec_commercial text, stock_level numeric default 0, min_stock numeric default 10, unit text default 'جركن', created_at timestamptz default now());
alter table clients add column if not exists city text default 'القاهرة';
alter table clients add column if not exists score numeric default 0;
alter table reps add column if not exists monthly_actual numeric default 0;
alter table visits enable row level security;
alter table products enable row level security;
create policy "allow all" on visits for all using (true) with check (true);
create policy "allow all" on products for all using (true) with check (true);