/**
  * @codeCoverageIgnore
  *
  * @param ReportHelperInterface $helper
  */
 public function __construct(ReportHelperInterface $helper)
 {
     parent::__construct();
     $this->helper = $helper;
     View::share('title', trans('firefly.reports'));
     View::share('mainTitleIcon', 'fa-line-chart');
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.budgets'));
     View::share('mainTitleIcon', 'fa-tasks');
     View::share('hideBudgets', true);
 }
Example #3
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', 'Tags');
     View::share('mainTitleIcon', 'fa-tags');
     View::share('hideTags', true);
     $this->tagOptions = ['nothing' => 'Just a regular tag.', 'balancingAct' => 'The tag takes at most two transactions; an expense and a transfer. They\'ll balance each other out.', 'advancePayment' => 'The tag accepts one expense and any number of deposits aimed to repay the original expense.'];
     View::share('tagOptions', $this->tagOptions);
 }
Example #4
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', 'Tags');
     View::share('mainTitleIcon', 'fa-tags');
     View::share('hideTags', true);
     $this->tagOptions = ['nothing' => trans('firefly.regular_tag'), 'balancingAct' => trans('firefly.balancing_act'), 'advancePayment' => trans('firefly.advance_payment')];
     View::share('tagOptions', $this->tagOptions);
 }
Example #5
0
 /**
  * @codeCoverageIgnore
  *
  * @param ReportHelperInterface $helper
  */
 public function __construct(ReportHelperInterface $helper)
 {
     parent::__construct();
     $this->helper = $helper;
     $this->accountHelper = app('FireflyIII\\Helpers\\Report\\AccountReportHelperInterface');
     $this->budgetHelper = app('FireflyIII\\Helpers\\Report\\BudgetReportHelperInterface');
     $this->balanceHelper = app('FireflyIII\\Helpers\\Report\\BalanceReportHelperInterface');
     View::share('title', trans('firefly.reports'));
     View::share('mainTitleIcon', 'fa-line-chart');
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.transactions'));
     View::share('mainTitleIcon', 'fa-repeat');
     $maxFileSize = Steam::phpBytes(ini_get('upload_max_filesize'));
     $maxPostSize = Steam::phpBytes(ini_get('post_max_size'));
     $uploadSize = min($maxFileSize, $maxPostSize);
     View::share('uploadSize', $uploadSize);
 }
Example #7
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.csv'));
     View::share('mainTitleIcon', 'fa-file-text-o');
     if (Config::get('firefly.csv_import_enabled') === false) {
         throw new FireflyException('CSV Import is not enabled.');
     }
     $this->wizard = app('FireflyIII\\Helpers\\Csv\\WizardInterface');
     $this->data = app('FireflyIII\\Helpers\\Csv\\Data');
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.bills'));
     View::share('mainTitleIcon', 'fa-calendar-o');
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.reports'));
     View::share('mainTitleIcon', 'fa-line-chart');
 }
Example #10
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.categories'));
     View::share('mainTitleIcon', 'fa-bar-chart');
 }
Example #11
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     // create chart generator:
     $this->generator = app('FireflyIII\\Generator\\Chart\\Report\\ReportChartGeneratorInterface');
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.currencies'));
     View::share('mainTitleIcon', 'fa-usd');
 }
 /**
  * ConfigurationController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', strval(trans('firefly.administration')));
     View::share('mainTitleIcon', 'fa-hand-spock-o');
 }
Example #14
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     // create chart generator:
     $this->generator = App::make('FireflyIII\\Generator\\Chart\\Budget\\BudgetChartGenerator');
 }
 /**
  * Create a new password controller instance.
  *
  * @codeCoverageIgnore
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->middleware('guest');
 }
Example #16
0
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.piggyBanks'));
     View::share('mainTitleIcon', 'fa-sort-amount-asc');
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('mainTitleIcon', 'fa-paperclip');
     View::share('title', trans('firefly.attachments'));
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('mainTitleIcon', 'fa-credit-card');
     View::share('title', trans('firefly.accounts'));
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     // create chart generator:
     $this->generator = app(PiggyBankChartGeneratorInterface::class);
 }
 /**
  * HelpController constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     // create chart generator:
     $this->generator = app('FireflyIII\\Generator\\Chart\\Bill\\BillChartGenerator');
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.transactions'));
     View::share('mainTitleIcon', 'fa-repeat');
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('mainTitleIcon', 'fa-file-archive-o');
     View::share('title', trans('firefly.export_data'));
 }
Example #24
0
 /**
  * Create a new authentication controller instance.
  *
  * @codeCoverageIgnore
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->middleware('guest', ['except' => 'getLogout']);
 }
Example #25
0
 /**
  * RuleController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.rules'));
     View::share('mainTitleIcon', 'fa-random');
 }
 /**
  * @codeCoverageIgnore
  */
 public function __construct()
 {
     parent::__construct();
     View::share('title', trans('firefly.preferences'));
     View::share('mainTitleIcon', 'fa-gear');
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     View::share('mainTitleIcon', 'fa-archive');
     View::share('title', trans('firefly.import_data_full'));
 }