Sajil al-Duyun — Debt Tracking App
تطبيق سجل الديون هو تطبيق أندرويد لإدارة ديون الزبائن في السوبرماركت العراقية. يتيح التطبيق لأصحاب المتاجر والموظفين تسجيل الديون اليومية، متابعتها، وإدارة حسابات الزبائن بطريقة سهلة وآمنة.
- 👥 نظام متعدد المستخدمين — مالك + موظفين، مع صلاحيات مختلفة لكل دور
- 🔐 بصمة الإصبع + كلمة مرور — دخول آمن وسريع
- 📊 تسجيل الديون — إضافة ديون جديدة مع تحديد خطة السداد (30 يوم / مفتوح)
- ✅ نظام الموافقات — طلبات الموظفين تحتاج موافقة المالك
- 🔒 قفل تلقائي — عند تجاوز المدة أو السقف المحدد
- 💾 نسخ احتياطي JSON — تصدير واستيراد جميع البيانات
- 📄 تقرير نصي — تصدير تقرير للطباعة أو المشاركة
- ⏰ تذكير يومي — تذكير بالنسخ الاحتياطي كل صباح
- 📱 بصمة الأصبع — دعم بصمة الأصبع لتسجيل الدخول السريع
Sajil al-Duyun is an Android app for tracking customer debts in Iraqi supermarkets. It enables store owners and workers to record daily debts, monitor them, and manage customer accounts easily and securely.
- 👥 Multi-user system — Owner + Workers with role-based permissions
- 🔐 Fingerprint + PIN — Secure and fast login
- 📊 Debt recording — Add new debts with plan selection (30-day / Unlimited)
- ✅ Approval system — Worker requests need owner approval
- 🔒 Auto-lock — When debt exceeds limit or days overdue
- 💾 JSON backup — Export and import all data
- 📄 Text report — Export printable/shareable reports
- ⏰ Daily reminder — Backup reminder every morning
- 📱 Biometric auth — Fingerprint support for quick login
![]() |
![]() |
![]() |
![]() |
| اللون | الاستخدام | Hex |
|---|---|---|
| أخضر غامق جداً | الخلفية الرئيسية | #0D2117 |
| أصفر/ليموني | النصوص المميزة والأزرار | #CFFF04 |
| أخضر متوسط | النصوص الثانوية | #6B9E7A |
| أحمر | الأخطاء والتنبيهات | #FF4444 |
| برتقالي | التحذيرات | #FF8C00 |
| التقنية | الاستخدام |
|---|---|
| Kotlin | لغة التطوير |
| Material Design 3 | واجهة المستخدم |
| Room Database | قاعدة البيانات المحلية |
| AndroidX Biometric | بصمة الأصبع |
| WorkManager | المهام المجدولة (النسخ الاحتياطي) |
| FileProvider | مشاركة الملفات |
| RSA-2048 | تشفير تراخيص التطبيق |
- Go to the Releases page
- Download the latest
app-debug.apk - Open it on your Android device and install
⚠️ Enable "Install from unknown sources" in your device settings if prompted.
git clone https://github.com/InFinity0088/sajil-alduyun.git
cd sajil-alduyun
./gradlew assembleDebug
# APK will be at: app/build/outputs/apk/debug/app-debug.apk- Exports all debts, users, and history as a single
.jsonfile - Share via any app (email, cloud, messaging)
- Select a previously exported
.jsonbackup - All data is restored to the database
- Exports a human-readable
.txtreport - Good for printing or sharing as a document
The app uses RSA-2048 digital signatures for license verification:
python3 generate_code.py setup # Owner setup code
python3 generate_code.py renew # Renewal code
The license generator is at ~/Desktop/license_tools/ (local only — never committed).
InFinity0088



