mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
0d508d67f1
* 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
18 lines
188 B
PHP
18 lines
188 B
PHP
<?php
|
|
|
|
namespace App\DataMapper;
|
|
|
|
/**
|
|
* ClientSettings
|
|
*/
|
|
class BaseSettings
|
|
{
|
|
|
|
public function __construct($obj)
|
|
{
|
|
foreach($obj as $key => $value)
|
|
$this->{$key} = $value;
|
|
}
|
|
|
|
|
|
} |