Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace App\Http\Controllers; |
||
18 | public function dashboard() |
||
19 | { |
||
20 | $categories = $this->categoryRepository->allAPI(); |
||
21 | $stockEmptyAlert = intval( $this->settingRepository->getValue(SettingRepository::STOCK_EMPTY_ALERT) ); |
||
22 | |||
23 | return view('stock.app')->with('categories', $categories) |
||
24 | ->with('stockEmptyAlert', $stockEmptyAlert); |
||
25 | } |
||
26 | |||
28 |