1. Ofitsiant login va paroli bilan kiradi


Download 14.2 Kb.
Sana17.02.2023
Hajmi14.2 Kb.
#1204877
Bog'liq
icafe


Mobile

1. Ofitsiant login va paroli bilan kiradi(shu androidda login parol eslab qolinadi)


2.Birinchi oynada stollar ro“yhati chiqadi
3. Zakaz olmoqchi bo“lgan stolni tanlidi va keyingi oynaga o“tiladi
4.Keyingi oynada menyu ro“yhati ko“rinadi(ovqatlar, ichimliklar, … v.h)
5.Zakaz qilingan ovqat yoki ichimlikni tanlidi va qanchaligi yoziladi()
6.Hamma aytilganni tanlab oxirda OK bosiladi va shunda zakaz ochiladi va (2) qaytadi
7. Zakazni o“zgartirish(o“chirish yoki qo“shimcha) uchun yuqordagi 2 dan boshlab ketma ketlik qilinadi
Taomlar ichimliklar kiritilishi

1. Nomi
2.Foto(androidda ko“rinishi uchun)


3.O“lchov birligi(porsia, shtuk, …)
4.Turi(Taom, ichimlik, desert, salat, …)
5.Aktiv(hozirda bu taom yoki ichimlik bor yoki yo“qligi) bor bo“lsa tanlab qo“yiladi
Taom summasini kiritish
1. Taom tanlanadi
2. Summasi yoziladi
3. Sana avtomat bugungi sana yoziladi
Zakaz
1. Stol
2.Vaqti
3.Ofitsiant

Zakaz taomlari


1. zakaz id si


2.taom
3. kolichestvo
Webda ko“rinishi

1.Assosiy oynada chap tarafda menyular


2.Menyuda Zakazlar, Taomlar,
3. Zakazlarda oyna 2 ga bulinga buladi chap tarafda stollar bo“ladi
4. Hisob qilishga kelganda stol tanlanadi, o“ng tarafa shu stol nimalar zakaz bergani ro“yhati ko“rinadi summalari bilan va oxirida summasi bo“ladi
5. To“lash knopka bosilganda dialog ochiladi umumiy summa + xizmat uchun pul chiqariladi va shu yerda chek degan button bo“ladi shu bosilsa chek chiqariladi va zakaz yopiladi
6. Taomlar menyusida taomlar ro“yhati bo“ladi, shu yerdan yangi taom kiritiladi

Stacks
1.postgresql


2. django, django rest framework
3. react js
4. noutbuk(ram 8gb)
5. pos printer
6.wifi router
Modellar

food model


1.id (pk) int


2.name(unique) char
3.unit(FK to unit model)
4. type_of(FK to typefood model)
5.is_activ(boolean) default True

price food model


1.id(pk) int


2.food(FK to food model)
3.price(float) default 0, so“mda
4.data(datetime) default timezone.now()

order model


1.id(pk) int


2.table(FK to table model)
3.created_time(datetime) default timezone.now()
4.waiter(FK to employee model)

order_detail model


1.id(pk) int
2.order(FK to order model)
3.food(FK to food model)
4.amount(float)

unit model


1.id(pk) int


2.name(char)

foodtype model


1.id(pk) int


2.name(char)
employee model

1.id(pk) int


2.user(one2one to django user)
3.name(char, not null)
4.photo(default null)
5.role(choice) admin, waiter
Download 14.2 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling