Sistem Informasi Penjualan berbasis web dengan fitur lengkap untuk manajemen transaksi, inventory, dan customer management. Dibangun dengan CodeIgniter 3 dan Bootstrap 4.
- Multi-level User Roles - Admin, User, dan role custom
- User Activation System - Admin dapat mengaktifkan/menonaktifkan user
- Secure Password Reset - Reset password dengan default password
- Role-based Menu Access - Kontrol akses menu berdasarkan role
- Customer Management - CRUD customer dengan import/export Excel
- Product Management - Manajemen barang dengan kode auto-generate
- User Management - Kelola user dengan aktivasi dan role assignment
- Sales Transaction - Pencatatan transaksi penjualan
- Auto-generate Transaction Code - Kode transaksi otomatis dengan format custom
- Transaction History - Riwayat transaksi lengkap dengan filter
- SweetAlert2 Integration - Toast notifications yang modern dan elegan
- Loading Indicators - Feedback visual saat proses form submission
- Confirmation Modals - Konfirmasi delete dengan SweetAlert2
- Image Preview - Preview gambar sebelum upload
- Responsive Design - Mobile-friendly dengan Bootstrap 4
- DataTables - Table dengan search, sort, dan pagination
- Date Picker - Input tanggal yang user-friendly
Pastikan sistem Anda telah terinstall:
- PHP >= 8.0
- MySQL >= 5.7
- Apache/Nginx Web Server
- Composer (optional)
-
Clone repository
git clone https://github.com/wokding/sifopenjualan.git cd sifopenjualan -
Setup Database
- Buat database baru di MySQL
CREATE DATABASE db_sip;
- Import database dari
database/db_sip.sql
mysql -u root -p db_sip < database/db_sip.sql -
Configure Application
Edit
application/config/database.php:$db['default'] = array( 'hostname' => 'localhost', 'username' => 'root', // Sesuaikan username MySQL 'password' => '', // Sesuaikan password MySQL 'database' => 'db_sip', );
Edit
application/config/config.php:$config['base_url'] = 'http://localhost:8000/'; // Sesuaikan URL
-
Run Application
Menggunakan PHP Built-in Server:
php -S localhost:8000
Atau setup dengan Apache/Nginx virtual host.
-
Login
Default credentials:
- Email: [email protected]
- Password: user123
sifopenjualan/
βββ application/
β βββ config/ # Configuration files
β βββ controllers/ # Controllers (Admin, Auth, User, Menu, Transaksi)
β βββ models/ # Models (Admin_model, Menu_model)
β βββ views/ # Views (admin, user, auth, menu)
β βββ helpers/ # Custom helpers (rupiah, bulan, kfa)
β βββ libraries/ # Custom libraries (Pdfgenerator, dompdf, MPDF)
βββ assets/
β βββ css/ # Stylesheets
β βββ js/ # JavaScript files
β βββ img/ # Images and uploads
β βββ vendor/ # Frontend libraries (Bootstrap, jQuery, DataTables)
βββ database/
β βββ db_sip.sql # Database schema and seed data
βββ system/ # CodeIgniter core files
- Akses semua fitur aplikasi
- Manage users dan aktivasi
- Full CRUD master data
- View dan manage semua transaksi
- Role & menu access management
- View profile dan edit profile
- Create dan manage transaksi pribadi
- View riwayat transaksi
- Limited menu access based on role
-
Master Pelanggan
- Add/Edit/Delete customer
- Import dari Excel
- Export ke Excel
-
Master Barang
- Add/Edit/Delete product
- Auto-generate kode barang
- Import/Export Excel
-
Transaksi Penjualan
- Create transaksi dengan detail
- Auto-generate nomor transaksi
- View dan print transaksi
| Technology | Version | Purpose |
|---|---|---|
| CodeIgniter | 3.1.11 | PHP Framework |
| PHP | 8.0+ | Backend Language |
| MySQL | 5.7+ | Database |
| Bootstrap | 4.6 | Frontend Framework |
| jQuery | 3.x | JavaScript Library |
| SweetAlert2 | 11 | Modern Alerts |
| DataTables | 1.10 | Table Plugin |
| MPDF/Dompdf | Latest | PDF Generation |
| Chart.js | 2.9 | Charts (Future) |
Coming soon - Screenshots aplikasi akan ditambahkan
Aplikasi ini tidak menggunakan REST API. Semua interaksi menggunakan traditional request-response pattern dengan CodeIgniter.
Kontribusi sangat diterima! Silakan baca CONTRIBUTING.md untuk detail proses submit pull request.
- Fork repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
Project ini dilisensikan under MIT License - lihat LICENSE file untuk detail.
- Ade Naufal Rianto - Initial work - wokding
- CodeIgniter - PHP Framework
- Bootstrap - Frontend Framework
- SB Admin 2 - Admin Template
- SweetAlert2 - Beautiful Alert Library
- DataTables - Table Plugin
Jika Anda menemukan bug atau memiliki saran, silakan buat issue baru.
- Dashboard dengan statistik dan charts
- Export PDF untuk laporan
- Kategori produk
- Discount system
- Multiple payment methods
- Stock management & alerts
- Return/Refund system
- Email notifications
- Advanced reporting
Made with β€οΈ by Developer Team