|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="ar"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>نظام كاشير لمطعم Fast Food Store</title> |
| 7 | + <link rel="stylesheet" href="style.css"> |
| 8 | +</head> |
| 9 | +<body> |
| 10 | + <div class="container"> |
| 11 | + <h1>نظام كاشير لمطعم Fast Food Store</h1> |
| 12 | + |
| 13 | + <!-- قسم إضافة المنتجات --> |
| 14 | + <div class="product-entry"> |
| 15 | + <h2>إضافة منتج</h2> |
| 16 | + <input type="text" id="product-name" placeholder="أدخل اسم المنتج"> |
| 17 | + <input type="number" id="product-price" placeholder="أدخل سعر المنتج (لكل جرام) بالجنيه المصري"> |
| 18 | + <input type="number" id="product-weight" placeholder="أدخل وزن المنتج (بالجرامات)"> |
| 19 | + <button onclick="addProduct()">إضافة منتج</button> |
| 20 | + </div> |
| 21 | + |
| 22 | + <!-- قسم إدارة المخزون --> |
| 23 | + <div class="inventory-management"> |
| 24 | + <h2>إدارة المخزون</h2> |
| 25 | + <input type="text" id="inventory-name" placeholder="اسم المنتج"> |
| 26 | + <input type="number" id="inventory-quantity" placeholder="الكمية بالجرامات"> |
| 27 | + <button onclick="updateInventory()">تحديث المخزون</button> |
| 28 | + </div> |
| 29 | + |
| 30 | + <!-- قسم السلة --> |
| 31 | + <div class="cart"> |
| 32 | + <h2>السلة</h2> |
| 33 | + <ul id="cart-items"></ul> |
| 34 | + <p>الإجمالي: <span id="total-price">0.00</span> ج.م.</p> |
| 35 | + <p>التاريخ: <span id="invoice-date"></span></p> |
| 36 | + <p>رقم العميل: <input type="text" id="customer-number" placeholder="أدخل رقم العميل"></p> |
| 37 | + <button onclick="printInvoice()">طباعة الفاتورة</button> |
| 38 | + </div> |
| 39 | + |
| 40 | + <!-- قسم إعدادات الفاتورة --> |
| 41 | + <div class="invoice-settings"> |
| 42 | + <h2>إعدادات الفاتورة</h2> |
| 43 | + <input type="text" id="store-phone" placeholder="أدخل رقم الهاتف الخاص بالمتجر"> |
| 44 | + <input type="text" id="store-address" placeholder="أدخل عنوان المتجر"> |
| 45 | + <input type="file" id="store-logo" accept="image/*"> |
| 46 | + </div> |
| 47 | + |
| 48 | + <!-- قسم إدارة العملاء --> |
| 49 | + <div class="customer-management"> |
| 50 | + <h2>إدارة العملاء</h2> |
| 51 | + <input type="text" id="customer-name" placeholder="اسم العميل"> |
| 52 | + <input type="text" id="customer-phone" placeholder="رقم هاتف العميل"> |
| 53 | + <button onclick="addCustomer()">إضافة عميل</button> |
| 54 | + </div> |
| 55 | + |
| 56 | + <!-- قائمة المخزون --> |
| 57 | + <div class="inventory"> |
| 58 | + <h2>المخزون</h2> |
| 59 | + <ul id="inventory-items"></ul> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + <script src="script.js"></script> |
| 63 | +</body> |
| 64 | +</html> |
0 commit comments