72e1a8c142
Build Docker Image / build-frontend (push) Successful in 38s
Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local> Co-authored-by: ISMAIL MASSERAN <topaz@Mac.dlinkrouter.local> Reviewed-on: #8
1.4 KiB
1.4 KiB
If you does't know what is this you probably in wrong project
--- for all ip
CREATE USER 'kaunteruser'@'%' IDENTIFIED BY 'your_password';
--- for specific ip
CREATE USER 'kaunteruser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON kaunter_erahn.* TO 'kaunteruser'@'%';
FLUSH PRIVILEGES;
ADDITIONAL NOTE
customers/v2/index.blade.php is modal to register customer
Min Komoditi = RM5000
System Flowchart
Proses Gadaian
- Pelanggan datang bawa marhun
- Teller daftar maklumat pelanggan jika pelanggan baharu
- Serah marhun ke penilai untuk timbang
- Teller daftar marhun di sistem berdasarkan maklumat dari penilai
- Penilai print SAG dan serah marhun ke Khazanah (PC/PPC) - khazanah can still scan still scan though
- Khazanah scan barcode dekat SAG untuk masuk ke dalam peti besi
- table involved - gadai.semakbarcode (default is blank, after is Lulus)
- DONE
Setup new branch command:
- Duplicate previous branch table - use erahn_{{name}}
SET FOREIGN_KEY_CHECKS = 0;
SET SESSION group_concat_max_len = 1000000;
SELECT GROUP_CONCAT(
CONCAT('TRUNCATE TABLE `', table_name, '`')
SEPARATOR '; '
) INTO @sql
FROM information_schema.tables
WHERE table_schema = DATABASE();
SELECT @sql; --- copy the output and paste it
SET FOREIGN_KEY_CHECKS = 1;
- Add new cawangan kod on master_erahn.arrahn_master_db and and kaunter_erahn.cawangan
- Register new cawangan detail in erahn_{{name}}.cawangan