* Fixes for travis * Additional settings variables at the company and client level * Implement accessor for client settings * Currency symbol or code setter * Implement custom JS number and currency formatter * Implement VueX state management for client settings * Move settings logic into its own class * Working on client settings * client settings * Move Client Settings helper into PHP * Move translation helper into its own class * Working on Client Settings * fixes for client settings * Client setting defaults * fixes for .env * Fixes for Travis
21 lines
No EOL
518 B
TypeScript
21 lines
No EOL
518 B
TypeScript
export default class ClientSettings {
|
|
|
|
timezone_id:number
|
|
language_id:number
|
|
currency_id:number
|
|
default_task_rate:number
|
|
send_reminders:boolean
|
|
show_tasks_in_portal:boolean
|
|
custom_message_dashboard:string
|
|
custom_message_unpaid_invoice:string
|
|
custom_message_paid_invoice:string
|
|
custom_message_unapproved_quote:string
|
|
show_currency_symbol:boolean
|
|
show_currency_code:boolean
|
|
industry_id:number
|
|
size_id:number
|
|
|
|
constructor(init?:Partial<ClientSettings>) {
|
|
(<any>Object).assign(this, init);
|
|
}
|
|
} |