Dev / models /models.go

Commit History

feat: single session enforcement + UI improvements
c6e89e6

Mhamdans17 commited on

feat: add max branches and cashiers limit, refine admin UI settings, implement tier-based qris fee
8879e0b

Mhamdans17 commited on

feat: Add flexible tenant subscription settings (member, voucher, multi-branch, multi-kasir)
88124cb

Mhamdans17 commited on

Update WhatsApp notification format, add voucher to order reports, and add tenant settings toggle
7121ebc

Mhamdans17 commited on

feat: add branch specific point settings
938b985

Mhamdans17 commited on

fix: expose PointHistories in Member JSON response
d1cbed4

Mhamdans17 commited on

feat: add optional NPWP field during registration
ac5c922

Mhamdans17 commited on

fix: add missing constraint cascades for wallet and points
17e3823

Mhamdans17 commited on

fix: set foreign key constraints to OnDelete:SET NULL to avoid deletion errors
ea73154

Mhamdans17 commited on

feat: add created_by_name for manual cashier input
77568d0

Mhamdans17 commited on

fix: disable bogus fk_orders_member generation by GORM using constraint:-
d98be82

Mhamdans17 commited on

fix: entirely remove PointHistory Member relation to avoid GORM auto-migrate bugs
11fca28

Mhamdans17 commited on

fix: explicit references:ID on Member relations to prevent GORM type altering
4800900

Mhamdans17 commited on

feat: track member creation details and point history log
a66f5d3

Mhamdans17 commited on

feat: backend for deposit wallet, fee deduction, and super admin manual adjust testing
c6a3ee4

Mhamdans17 commited on

feat: customizable fee structures per company from super admin panel
10b6d0b

Mhamdans17 commited on

feat: show member name and points earned in payment receipt
a90354c

Mhamdans17 commited on

feat: implement multi-tier point rules
4774488

Mhamdans17 commited on

fix: remove foreignKey tag to prevent AutoMigrate from making member_id a bigint
4d76e48

Mhamdans17 commited on

fix: rename MemberID to MemberCode in struct to prevent GORM type mismatch panic
fb74e1c

Mhamdans17 commited on

fix: explicit GORM references to prevent altering MemberID to bigint
ccc7ed3

Mhamdans17 commited on

feat: implement automated member points calculation
c91764d

Mhamdans17 commited on

feat: add Member service, points, and Kasir Name tracking
ae76db4

Mhamdans17 commited on

feat: add admin notification for new tenant and save customer info to send WA on webhook success
e70dcc5

Mhamdans17 commited on

feat: add TripayPaymentMethod field in Setting table for dynamic payment channel configuration
236d19a

Mhamdans17 commited on

feat: migrate global Tripay credentials to system settings table in DB
4e8a43c

Mhamdans17 commited on

feat: support dynamic tenant Tripay credentials and proxy via database
6fd3b19

Mhamdans17 commited on

perf: configure GORM logger slow threshold to 1500ms and add database indexes on foreign keys to completely resolve cross-region network latency and sequential scans
25eb4e0

Mhamdans17 commited on

fix: remove default:true GORM tags from IsActive fields to allow explicitly setting them to false during registration
e79019b

Mhamdans17 commited on

feat: migrate warungpos backend to Go with Tripay
edcf070

Mhamdans17 commited on