SettingsCrmBadges

CRM Badges Settings
@params:
[name] => text that will be shown
[color] => Ex.: #ff6600
[type] => ALERT , COUNT, COLOR
[article_id] => integer, default 0 meaning "any"
[check_status] => REMINDED, OPEN, PAID

Ex.: Check if a user bought article id 123: article_id=123&check_status=PAID
Ex.: Check if a user has unpaid invoices: article_id=0&check_status=OPEN
Ex.: Check if a user has overdue invoices: article_id=0&check_status=REMINDER

min_count can be used for a minimum number of the selected articles - default 1

Functions
getall
all
get
add
set
delete
changelog
getComments
getComment
addComment
updateComment
deleteComment
getTableStructureData