Commit c96be096c1d8fc12e56caba9158eabe128ecb968
Merge remote-tracking branch 'origin/master'
Showing
4 changed files
with
332 additions
and
352 deletions
Show diff stats
frontend/controllers/CabinetController.php
| ... | ... | @@ -148,7 +148,10 @@ |
| 148 | 148 | |
| 149 | 149 | public function actionNotifications() |
| 150 | 150 | { |
| 151 | - return $this->render('notifications'); | |
| 151 | + $table = Report::find()->all(); | |
| 152 | + return $this->render('notifications', [ | |
| 153 | + 'table' => $table, | |
| 154 | + ]); | |
| 152 | 155 | } |
| 153 | 156 | |
| 154 | 157 | public function actionUsers() | ... | ... |
frontend/models/Report.php
| ... | ... | @@ -118,7 +118,14 @@ |
| 118 | 118 | 'play_count', |
| 119 | 119 | ] |
| 120 | 120 | ); |
| 121 | + | |
| 121 | 122 | } |
| 122 | 123 | parent::afterSave($insert, $changedAttributes); |
| 123 | 124 | } |
| 125 | + | |
| 126 | + public function beforeSave($insert) | |
| 127 | + { | |
| 128 | + $this->royalty = $this->sum * 0.8 * 0.805; | |
| 129 | + return parent::beforeSave($insert); | |
| 130 | + } | |
| 124 | 131 | } | ... | ... |
frontend/views/cabinet/notifications.php
| 1 | 1 | <?php |
| 2 | + use frontend\models\Report; | |
| 2 | 3 | use yii\web\View; |
| 3 | 4 | |
| 4 | 5 | /** |
| 5 | 6 | * @var View $this |
| 7 | + * @var Report[] $table | |
| 6 | 8 | */ |
| 7 | 9 | ?> |
| 8 | 10 | <div class="style cab_content_list"> |
| ... | ... | @@ -22,161 +24,25 @@ |
| 22 | 24 | <td>Кількість публічних сповіщень твору</td> |
| 23 | 25 | <td>Загальна Тривалість звучання твору<br/>(год.:хвил.: сек.) 0:00:00</td> |
| 24 | 26 | </tr> |
| 25 | - | |
| 26 | - <tr> | |
| 27 | - <td>1</td> | |
| 28 | - <td><span class="name-songs">ЕЩЁ НЕ ВЕЧЕР</span></td> | |
| 29 | - <td>Лайма Вайкуле</td> | |
| 30 | - <td>Р.Паулс</td> | |
| 31 | - <td>И.Р. Резник</td> | |
| 32 | - <td>—</td> | |
| 33 | - <td>100</td> | |
| 34 | - <td>1</td> | |
| 35 | - <td>—</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>2</td> | |
| 39 | - <td><span class="name-songs">ЛИСТЬЯ ЖЁЛТЫЕ</span></td> | |
| 40 | - <td>Лайма Вайкуле</td> | |
| 41 | - <td>Р.Паулс</td> | |
| 42 | - <td>Я. Петерс / И.Д. Шаферан</td> | |
| 43 | - <td>—</td> | |
| 44 | - <td>80</td> | |
| 45 | - <td>1</td> | |
| 46 | - <td>—</td> | |
| 47 | - </tr> | |
| 48 | - <tr> | |
| 49 | - <td>3</td> | |
| 50 | - <td><span class="name-songs">ОГОНЬКИ</span></td> | |
| 51 | - <td>Лайма Вайкуле</td> | |
| 52 | - <td>Р.Паулс</td> | |
| 53 | - <td>В.Сєрова</td> | |
| 27 | + <?php | |
| 28 | + $i = 1; | |
| 29 | + foreach ($table as $row) { | |
| 30 | + ?> | |
| 31 | + <tr> | |
| 32 | + <td><?=$i?></td> | |
| 33 | + <td><span class="name-songs"><?=$row->intellectualProperty->title?></span></td> | |
| 34 | + <td><?=$row->artist?></td> | |
| 35 | + <td>-</td> | |
| 36 | + <td>-</td> | |
| 54 | 37 | <td>—</td> |
| 55 | - <td>60</td> | |
| 56 | - <td>1</td> | |
| 38 | + <td><?=$row->royalty?></td> | |
| 39 | + <td><?=$row->count?></td> | |
| 57 | 40 | <td>—</td> |
| 58 | - </tr> | |
| 59 | - <tr> | |
| 60 | - <td></td> | |
| 61 | - <td></td> | |
| 62 | - <td></td> | |
| 63 | - <td></td> | |
| 64 | - <td></td> | |
| 65 | - <td></td> | |
| 66 | - <td></td> | |
| 67 | - <td></td> | |
| 68 | - <td></td> | |
| 69 | - </tr> | |
| 70 | - <tr> | |
| 71 | - <td></td> | |
| 72 | - <td></td> | |
| 73 | - <td></td> | |
| 74 | - <td></td> | |
| 75 | - <td></td> | |
| 76 | - <td></td> | |
| 77 | - <td></td> | |
| 78 | - <td></td> | |
| 79 | - <td></td> | |
| 80 | - </tr> | |
| 81 | - <tr> | |
| 82 | - <td></td> | |
| 83 | - <td></td> | |
| 84 | - <td></td> | |
| 85 | - <td></td> | |
| 86 | - <td></td> | |
| 87 | - <td></td> | |
| 88 | - <td></td> | |
| 89 | - <td></td> | |
| 90 | - <td></td> | |
| 91 | - </tr> | |
| 92 | - <tr> | |
| 93 | - <td></td> | |
| 94 | - <td></td> | |
| 95 | - <td></td> | |
| 96 | - <td></td> | |
| 97 | - <td></td> | |
| 98 | - <td></td> | |
| 99 | - <td></td> | |
| 100 | - <td></td> | |
| 101 | - <td></td> | |
| 102 | - </tr> | |
| 103 | - <tr> | |
| 104 | - <td></td> | |
| 105 | - <td></td> | |
| 106 | - <td></td> | |
| 107 | - <td></td> | |
| 108 | - <td></td> | |
| 109 | - <td></td> | |
| 110 | - <td></td> | |
| 111 | - <td></td> | |
| 112 | - <td></td> | |
| 113 | - </tr> | |
| 114 | - <tr> | |
| 115 | - <td></td> | |
| 116 | - <td></td> | |
| 117 | - <td></td> | |
| 118 | - <td></td> | |
| 119 | - <td></td> | |
| 120 | - <td></td> | |
| 121 | - <td></td> | |
| 122 | - <td></td> | |
| 123 | - <td></td> | |
| 124 | - </tr> | |
| 125 | - <tr> | |
| 126 | - <td></td> | |
| 127 | - <td></td> | |
| 128 | - <td></td> | |
| 129 | - <td></td> | |
| 130 | - <td></td> | |
| 131 | - <td></td> | |
| 132 | - <td></td> | |
| 133 | - <td></td> | |
| 134 | - <td></td> | |
| 135 | - </tr> | |
| 136 | - <tr> | |
| 137 | - <td></td> | |
| 138 | - <td></td> | |
| 139 | - <td></td> | |
| 140 | - <td></td> | |
| 141 | - <td></td> | |
| 142 | - <td></td> | |
| 143 | - <td></td> | |
| 144 | - <td></td> | |
| 145 | - <td></td> | |
| 146 | - </tr> | |
| 147 | - <tr> | |
| 148 | - <td></td> | |
| 149 | - <td></td> | |
| 150 | - <td></td> | |
| 151 | - <td></td> | |
| 152 | - <td></td> | |
| 153 | - <td></td> | |
| 154 | - <td></td> | |
| 155 | - <td></td> | |
| 156 | - <td></td> | |
| 157 | - </tr> | |
| 158 | - <tr> | |
| 159 | - <td></td> | |
| 160 | - <td></td> | |
| 161 | - <td></td> | |
| 162 | - <td></td> | |
| 163 | - <td></td> | |
| 164 | - <td></td> | |
| 165 | - <td></td> | |
| 166 | - <td></td> | |
| 167 | - <td></td> | |
| 168 | - </tr> | |
| 169 | - <tr> | |
| 170 | - <td></td> | |
| 171 | - <td></td> | |
| 172 | - <td></td> | |
| 173 | - <td></td> | |
| 174 | - <td></td> | |
| 175 | - <td></td> | |
| 176 | - <td></td> | |
| 177 | - <td></td> | |
| 178 | - <td></td> | |
| 179 | - </tr> | |
| 41 | + </tr> | |
| 42 | + <?php | |
| 43 | + $i++; | |
| 44 | + } | |
| 45 | + ?> | |
| 180 | 46 | </table> |
| 181 | 47 | </div> |
| 182 | 48 | </div> | ... | ... |
frontend/views/layouts/cabinet.php
| ... | ... | @@ -27,18 +27,18 @@ |
| 27 | 27 | ] |
| 28 | 28 | ) |
| 29 | 29 | ?> |
| 30 | - <div class="cabinet_header-title"><span>Система обліку використання інтелектуальної власності</span></div> | |
| 31 | - | |
| 32 | - <div class="checkbox-header-cabinet"> | |
| 33 | - <form action=""> | |
| 34 | - <div class="custom-buttons-slide"> | |
| 35 | - <a href="#">Автор</a> | |
| 36 | - <input type="checkbox" class="custom-check-slide" name="q2"> | |
| 37 | - <a href="#">Видавець</a> | |
| 38 | - </div> | |
| 39 | - </form> | |
| 40 | - <?php | |
| 41 | - $js = <<<EOT | |
| 30 | + <div class="cabinet_header-title"><span>Система обліку використання інтелектуальної власності</span></div> | |
| 31 | + | |
| 32 | + <div class="checkbox-header-cabinet"> | |
| 33 | + <form action=""> | |
| 34 | + <div class="custom-buttons-slide"> | |
| 35 | + <a href="#">Автор</a> | |
| 36 | + <input type="checkbox" class="custom-check-slide" name="q2"> | |
| 37 | + <a href="#">Видавець</a> | |
| 38 | + </div> | |
| 39 | + </form> | |
| 40 | + <?php | |
| 41 | + $js = <<<EOT | |
| 42 | 42 | var widthCheckSlider = ($('.checkbox-header-cabinet') |
| 43 | 43 | .width()) / 2 |
| 44 | 44 | $('.checkbox-header-cabinet') |
| ... | ... | @@ -63,197 +63,301 @@ var widthCheckSlider = ($('.checkbox-header-cabinet') |
| 63 | 63 | } |
| 64 | 64 | ); |
| 65 | 65 | EOT; |
| 66 | - $this->registerJs($js); | |
| 67 | - ?> | |
| 68 | - </div> | |
| 69 | - | |
| 70 | - <div class="head-wr-login"> | |
| 71 | - <a href="#" class="btn_mails"><span>23</span></a> | |
| 72 | - | |
| 73 | - <div class="name-wrapp-login"> | |
| 74 | - <span class="name_" style="background: url('/images/cabinet/ico/ico-5.png')0 50% no-repeat">Дмитро (фізична особа)</span> | |
| 75 | - <div id="hidden_list_head" class="_off"> | |
| 76 | - <ul> | |
| 77 | - <li><span class="s_">Киев</span></li> | |
| 78 | - </ul> | |
| 79 | - </div> | |
| 80 | - </div> | |
| 66 | + $this->registerJs($js); | |
| 67 | + ?> | |
| 68 | + </div> | |
| 69 | + | |
| 70 | + <div class="head-wr-login"> | |
| 71 | + <a href="#" class="btn_mails"><span>23</span></a> | |
| 72 | + | |
| 73 | + <div class="name-wrapp-login"> | |
| 74 | + <span class="name_" style="background: url('/images/cabinet/ico/ico-5.png')0 50% no-repeat">Дмитро (фізична особа)</span> | |
| 75 | + <div id="hidden_list_head" class="_off"> | |
| 76 | + <ul> | |
| 77 | + <li><span class="s_">Киев</span></li> | |
| 78 | + </ul> | |
| 79 | + </div> | |
| 81 | 80 | </div> |
| 81 | + </div> | |
| 82 | 82 | </div> |
| 83 | 83 | <div class="section-box-content"> |
| 84 | - <div class="sidebar-cab"> | |
| 85 | - <?php | |
| 86 | - echo Menu::widget( | |
| 87 | - [ | |
| 88 | - 'options' => [ | |
| 89 | - 'class' => 'list-cab', | |
| 90 | - ], | |
| 91 | - 'encodeLabels' => false, | |
| 92 | - 'activeCssClass' => 'active-li', | |
| 93 | - 'items' => [ | |
| 94 | - [ | |
| 95 | - 'label' => Html::tag('span', '', [ | |
| 96 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-1.png') 50% 50% no-repeat", | |
| 97 | - ]).Html::tag('span', '', [ | |
| 98 | - 'class' => 'act_bg', | |
| 99 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-1-act.png') 50% 50% no-repeat", | |
| 100 | - ]).'Особисті дані', | |
| 101 | - 'url' => ['cabinet/index'], | |
| 102 | - ], | |
| 103 | - [ | |
| 104 | - 'label' => Html::tag('span', '', [ | |
| 105 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-2.png') 50% 50% no-repeat", | |
| 106 | - ]).Html::tag('span', '', [ | |
| 107 | - 'class' => 'act_bg', | |
| 108 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-2-act.png') 50% 50% no-repeat", | |
| 109 | - ]).'Мої соавтори', | |
| 110 | - 'url' => ['cabinet/authors'], | |
| 111 | - 'options' => [ | |
| 112 | - 'class' => 'disabled', | |
| 113 | - ], | |
| 114 | - ], | |
| 115 | - [ | |
| 116 | - 'label' => Html::tag('span', '', [ | |
| 117 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-3.png') 50% 50% no-repeat", | |
| 118 | - ]).Html::tag('span', '', [ | |
| 119 | - 'class' => 'act_bg', | |
| 120 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-3-act.png') 50% 50% no-repeat", | |
| 121 | - ]).'Рахунки', | |
| 122 | - 'url' => ['cabinet/bills'], | |
| 123 | - 'options' => [ | |
| 124 | - 'class' => 'disabled', | |
| 125 | - ], | |
| 126 | - ], | |
| 127 | - [ | |
| 128 | - 'label' => Html::tag('span', '', [ | |
| 129 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-4.png') 50% 50% no-repeat", | |
| 130 | - ]).Html::tag('span', '', [ | |
| 131 | - 'class' => 'act_bg', | |
| 132 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-4-act.png') 50% 50% no-repeat", | |
| 133 | - ]).'Адреси', | |
| 134 | - 'url' => ['cabinet/addresses'], | |
| 135 | - 'options' => [ | |
| 136 | - 'class' => 'disabled', | |
| 137 | - ], | |
| 138 | - ], | |
| 139 | - [ | |
| 140 | - 'label' => Html::tag('span', '', [ | |
| 141 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-5.png') 50% 50% no-repeat", | |
| 142 | - ]).Html::tag('span', '', [ | |
| 143 | - 'class' => 'act_bg', | |
| 144 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-5-act.png') 50% 50% no-repeat", | |
| 145 | - ]).'Додадково', | |
| 146 | - 'url' => ['cabinet/additional'], | |
| 147 | - 'options' => [ | |
| 148 | - 'class' => 'disabled', | |
| 149 | - ], | |
| 150 | - ], | |
| 151 | - [ | |
| 152 | - 'label' => Html::tag('span', '', [ | |
| 153 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6.png') 50% 50% no-repeat", | |
| 154 | - ]).Html::tag('span', '', [ | |
| 155 | - 'class' => 'act_bg', | |
| 156 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-act.png') 50% 50% no-repeat", | |
| 157 | - ]).'Каталог ОІВ', | |
| 158 | - 'url' => ['cabinet/properties'], | |
| 159 | - 'items' => [ | |
| 160 | - [ | |
| 161 | - 'label' => Html::tag('span', '', [ | |
| 162 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1.png') 50% 50% no-repeat", | |
| 163 | - ]).Html::tag('span', '', [ | |
| 164 | - 'class' => 'act_bg', | |
| 165 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1-act.png') 50% 50% no-repeat", | |
| 166 | - ]).'продаж ОІВ', | |
| 167 | - 'url' => ['cabinet/sales'], | |
| 168 | - 'options' => [ | |
| 169 | - 'class' => 'second-list', | |
| 170 | - ], | |
| 171 | - ], | |
| 172 | - [ | |
| 173 | - 'label' => Html::tag('span', '', [ | |
| 174 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2.png') 50% 50% no-repeat", | |
| 175 | - ]).Html::tag('span', '', [ | |
| 176 | - 'class' => 'act_bg', | |
| 177 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2-act.png') 50% 50% no-repeat", | |
| 178 | - ]).'список ОІВ', | |
| 179 | - 'url' => ['cabinet/list'], | |
| 180 | - 'options' => [ | |
| 181 | - 'class' => 'second-list', | |
| 182 | - ], | |
| 183 | - ] | |
| 184 | - ] | |
| 185 | - ], | |
| 186 | - [ | |
| 187 | - 'label' => Html::tag('span', '', [ | |
| 188 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-7.png') 50% 50% no-repeat", | |
| 189 | - ]).Html::tag('span', '', [ | |
| 190 | - 'class' => 'act_bg', | |
| 191 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-7-act.png') 50% 50% no-repeat", | |
| 192 | - ]).'Мої надходження', | |
| 193 | - 'url' => ['cabinet/arrivals'], | |
| 194 | - ], | |
| 195 | - [ | |
| 196 | - 'label' => Html::tag('span', '', [ | |
| 197 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8.png') 50% 50% no-repeat", | |
| 198 | - ]).Html::tag('span', '', [ | |
| 199 | - 'class' => 'act_bg', | |
| 200 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-act.png') 50% 50% no-repeat", | |
| 201 | - ]).'Звіти', | |
| 202 | - 'url' => ['cabinet/reports'], | |
| 203 | - 'items' => [ | |
| 204 | - [ | |
| 205 | - 'label' => Html::tag('span', '', [ | |
| 206 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1.png') 50% 50% no-repeat", | |
| 207 | - ]).Html::tag('span', '', [ | |
| 208 | - 'class' => 'act_bg', | |
| 209 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1-act.png') 50% 50% no-repeat", | |
| 210 | - ]).'звіт з кількістью сповіщень', | |
| 211 | - 'url' => ['cabinet/notifications'], | |
| 212 | - 'options' => [ | |
| 213 | - 'class' => 'second-list', | |
| 214 | - ], | |
| 215 | - ], | |
| 216 | - [ | |
| 217 | - 'label' => Html::tag('span', '', [ | |
| 218 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2.png') 50% 50% no-repeat", | |
| 219 | - ]).Html::tag('span', '', [ | |
| 220 | - 'class' => 'act_bg', | |
| 221 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2-act.png') 50% 50% no-repeat", | |
| 222 | - ]).'звіт у розрізі користувачів', | |
| 223 | - 'url' => ['cabinet/users'], | |
| 224 | - 'options' => [ | |
| 225 | - 'class' => 'second-list', | |
| 226 | - ], | |
| 227 | - ] | |
| 228 | - ] | |
| 229 | - ], | |
| 230 | - [ | |
| 231 | - 'label' => Html::tag('span', '', [ | |
| 232 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-9.png') 50% 50% no-repeat", | |
| 233 | - ]).Html::tag('span', '', [ | |
| 234 | - 'class' => 'act_bg', | |
| 235 | - 'style' => "background: url('/images/cabinet/icon-menu/ico-9-act.png') 50% 50% no-repeat", | |
| 236 | - ]).'допомога', | |
| 237 | - 'url' => ['cabinet/help'], | |
| 238 | - 'options' => [ | |
| 239 | - 'class' => 'disabled', | |
| 240 | - ], | |
| 241 | - ], | |
| 242 | - ], | |
| 243 | - ] | |
| 244 | - ); | |
| 245 | - ?> | |
| 246 | - </div> | |
| 247 | - | |
| 248 | - <div class="content-forms"> | |
| 249 | - <?php | |
| 250 | - echo $content; | |
| 251 | - ?> | |
| 252 | - </div> | |
| 84 | + <div class="sidebar-cab"> | |
| 85 | + <?php | |
| 86 | + echo Menu::widget( | |
| 87 | + [ | |
| 88 | + 'options' => [ | |
| 89 | + 'class' => 'list-cab', | |
| 90 | + ], | |
| 91 | + 'encodeLabels' => false, | |
| 92 | + 'activeCssClass' => 'active-li', | |
| 93 | + 'items' => [ | |
| 94 | + [ | |
| 95 | + 'label' => Html::tag( | |
| 96 | + 'span', | |
| 97 | + '', | |
| 98 | + [ | |
| 99 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-1.png') 50% 50% no-repeat", | |
| 100 | + ] | |
| 101 | + ) . Html::tag( | |
| 102 | + 'span', | |
| 103 | + '', | |
| 104 | + [ | |
| 105 | + 'class' => 'act_bg', | |
| 106 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-1-act.png') 50% 50% no-repeat", | |
| 107 | + ] | |
| 108 | + ) . 'Особисті дані', | |
| 109 | + 'url' => [ 'cabinet/index' ], | |
| 110 | + ], | |
| 111 | + [ | |
| 112 | + 'label' => Html::tag( | |
| 113 | + 'span', | |
| 114 | + '', | |
| 115 | + [ | |
| 116 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-2.png') 50% 50% no-repeat", | |
| 117 | + ] | |
| 118 | + ) . Html::tag( | |
| 119 | + 'span', | |
| 120 | + '', | |
| 121 | + [ | |
| 122 | + 'class' => 'act_bg', | |
| 123 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-2-act.png') 50% 50% no-repeat", | |
| 124 | + ] | |
| 125 | + ) . 'Мої соавтори', | |
| 126 | + 'url' => [ 'cabinet/authors' ], | |
| 127 | + 'options' => [ | |
| 128 | + 'class' => 'disabled', | |
| 129 | + ], | |
| 130 | + ], | |
| 131 | + [ | |
| 132 | + 'label' => Html::tag( | |
| 133 | + 'span', | |
| 134 | + '', | |
| 135 | + [ | |
| 136 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-3.png') 50% 50% no-repeat", | |
| 137 | + ] | |
| 138 | + ) . Html::tag( | |
| 139 | + 'span', | |
| 140 | + '', | |
| 141 | + [ | |
| 142 | + 'class' => 'act_bg', | |
| 143 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-3-act.png') 50% 50% no-repeat", | |
| 144 | + ] | |
| 145 | + ) . 'Рахунки', | |
| 146 | + 'url' => [ 'cabinet/bills' ], | |
| 147 | + 'options' => [ | |
| 148 | + 'class' => 'disabled', | |
| 149 | + ], | |
| 150 | + ], | |
| 151 | + [ | |
| 152 | + 'label' => Html::tag( | |
| 153 | + 'span', | |
| 154 | + '', | |
| 155 | + [ | |
| 156 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-4.png') 50% 50% no-repeat", | |
| 157 | + ] | |
| 158 | + ) . Html::tag( | |
| 159 | + 'span', | |
| 160 | + '', | |
| 161 | + [ | |
| 162 | + 'class' => 'act_bg', | |
| 163 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-4-act.png') 50% 50% no-repeat", | |
| 164 | + ] | |
| 165 | + ) . 'Адреси', | |
| 166 | + 'url' => [ 'cabinet/addresses' ], | |
| 167 | + 'options' => [ | |
| 168 | + 'class' => 'disabled', | |
| 169 | + ], | |
| 170 | + ], | |
| 171 | + [ | |
| 172 | + 'label' => Html::tag( | |
| 173 | + 'span', | |
| 174 | + '', | |
| 175 | + [ | |
| 176 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-5.png') 50% 50% no-repeat", | |
| 177 | + ] | |
| 178 | + ) . Html::tag( | |
| 179 | + 'span', | |
| 180 | + '', | |
| 181 | + [ | |
| 182 | + 'class' => 'act_bg', | |
| 183 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-5-act.png') 50% 50% no-repeat", | |
| 184 | + ] | |
| 185 | + ) . 'Додадково', | |
| 186 | + 'url' => [ 'cabinet/additional' ], | |
| 187 | + 'options' => [ | |
| 188 | + 'class' => 'disabled', | |
| 189 | + ], | |
| 190 | + ], | |
| 191 | + [ | |
| 192 | + 'label' => Html::tag( | |
| 193 | + 'span', | |
| 194 | + '', | |
| 195 | + [ | |
| 196 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6.png') 50% 50% no-repeat", | |
| 197 | + ] | |
| 198 | + ) . Html::tag( | |
| 199 | + 'span', | |
| 200 | + '', | |
| 201 | + [ | |
| 202 | + 'class' => 'act_bg', | |
| 203 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-act.png') 50% 50% no-repeat", | |
| 204 | + ] | |
| 205 | + ) . 'Каталог ОІВ', | |
| 206 | + 'url' => [ 'cabinet/properties' ], | |
| 207 | + 'items' => [ | |
| 208 | + [ | |
| 209 | + 'label' => Html::tag( | |
| 210 | + 'span', | |
| 211 | + '', | |
| 212 | + [ | |
| 213 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1.png') 50% 50% no-repeat", | |
| 214 | + ] | |
| 215 | + ) . Html::tag( | |
| 216 | + 'span', | |
| 217 | + '', | |
| 218 | + [ | |
| 219 | + 'class' => 'act_bg', | |
| 220 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1-act.png') 50% 50% no-repeat", | |
| 221 | + ] | |
| 222 | + ) . 'продаж ОІВ', | |
| 223 | + 'url' => [ 'cabinet/sales' ], | |
| 224 | + 'options' => [ | |
| 225 | + 'class' => 'second-list', | |
| 226 | + ], | |
| 227 | + ], | |
| 228 | + [ | |
| 229 | + 'label' => Html::tag( | |
| 230 | + 'span', | |
| 231 | + '', | |
| 232 | + [ | |
| 233 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2.png') 50% 50% no-repeat", | |
| 234 | + ] | |
| 235 | + ) . Html::tag( | |
| 236 | + 'span', | |
| 237 | + '', | |
| 238 | + [ | |
| 239 | + 'class' => 'act_bg', | |
| 240 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2-act.png') 50% 50% no-repeat", | |
| 241 | + ] | |
| 242 | + ) . 'список ОІВ', | |
| 243 | + 'url' => [ 'cabinet/list' ], | |
| 244 | + 'options' => [ | |
| 245 | + 'class' => 'second-list', | |
| 246 | + ], | |
| 247 | + ], | |
| 248 | + ], | |
| 249 | + ], | |
| 250 | + [ | |
| 251 | + 'label' => Html::tag( | |
| 252 | + 'span', | |
| 253 | + '', | |
| 254 | + [ | |
| 255 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-7.png') 50% 50% no-repeat", | |
| 256 | + ] | |
| 257 | + ) . Html::tag( | |
| 258 | + 'span', | |
| 259 | + '', | |
| 260 | + [ | |
| 261 | + 'class' => 'act_bg', | |
| 262 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-7-act.png') 50% 50% no-repeat", | |
| 263 | + ] | |
| 264 | + ) . 'Мої надходження', | |
| 265 | + 'url' => [ 'cabinet/arrivals' ], | |
| 266 | + ], | |
| 267 | + [ | |
| 268 | + 'label' => Html::tag( | |
| 269 | + 'span', | |
| 270 | + '', | |
| 271 | + [ | |
| 272 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8.png') 50% 50% no-repeat", | |
| 273 | + ] | |
| 274 | + ) . Html::tag( | |
| 275 | + 'span', | |
| 276 | + '', | |
| 277 | + [ | |
| 278 | + 'class' => 'act_bg', | |
| 279 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-act.png') 50% 50% no-repeat", | |
| 280 | + ] | |
| 281 | + ) . 'Звіти', | |
| 282 | + 'url' => [ 'cabinet/reports' ], | |
| 283 | + 'items' => [ | |
| 284 | + [ | |
| 285 | + 'label' => Html::tag( | |
| 286 | + 'span', | |
| 287 | + '', | |
| 288 | + [ | |
| 289 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2.png') 50% 50% no-repeat", | |
| 290 | + ] | |
| 291 | + ) . Html::tag( | |
| 292 | + 'span', | |
| 293 | + '', | |
| 294 | + [ | |
| 295 | + 'class' => 'act_bg', | |
| 296 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2-act.png') 50% 50% no-repeat", | |
| 297 | + ] | |
| 298 | + ) . 'звіт у розрізі користувачів', | |
| 299 | + 'url' => [ 'cabinet/users' ], | |
| 300 | + 'options' => [ | |
| 301 | + 'class' => 'second-list', | |
| 302 | + ], | |
| 303 | + ], | |
| 304 | + [ | |
| 305 | + 'label' => Html::tag( | |
| 306 | + 'span', | |
| 307 | + '', | |
| 308 | + [ | |
| 309 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1.png') 50% 50% no-repeat", | |
| 310 | + ] | |
| 311 | + ) . Html::tag( | |
| 312 | + 'span', | |
| 313 | + '', | |
| 314 | + [ | |
| 315 | + 'class' => 'act_bg', | |
| 316 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1-act.png') 50% 50% no-repeat", | |
| 317 | + ] | |
| 318 | + ) . 'звіт з кількістью сповіщень', | |
| 319 | + 'url' => [ 'cabinet/notifications' ], | |
| 320 | + 'options' => [ | |
| 321 | + 'class' => 'second-list', | |
| 322 | + ], | |
| 323 | + ], | |
| 324 | + ], | |
| 325 | + ], | |
| 326 | + [ | |
| 327 | + 'label' => Html::tag( | |
| 328 | + 'span', | |
| 329 | + '', | |
| 330 | + [ | |
| 331 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-9.png') 50% 50% no-repeat", | |
| 332 | + ] | |
| 333 | + ) . Html::tag( | |
| 334 | + 'span', | |
| 335 | + '', | |
| 336 | + [ | |
| 337 | + 'class' => 'act_bg', | |
| 338 | + 'style' => "background: url('/images/cabinet/icon-menu/ico-9-act.png') 50% 50% no-repeat", | |
| 339 | + ] | |
| 340 | + ) . 'допомога', | |
| 341 | + 'url' => [ 'cabinet/help' ], | |
| 342 | + 'options' => [ | |
| 343 | + 'class' => 'disabled', | |
| 344 | + ], | |
| 345 | + ], | |
| 346 | + ], | |
| 347 | + ] | |
| 348 | + ); | |
| 349 | + ?> | |
| 350 | + </div> | |
| 351 | + | |
| 352 | + <div class="content-forms"> | |
| 353 | + <?php | |
| 354 | + echo $content; | |
| 355 | + ?> | |
| 356 | + </div> | |
| 253 | 357 | </div> |
| 254 | 358 | <div class="section-box-footer"> |
| 255 | - <a class="btn_create_footer" href="#">Створити</a> | |
| 256 | - <a class="btn_remove_footer" href="#">Видалити</a> | |
| 359 | + <a class="btn_create_footer" href="#">Створити</a> | |
| 360 | + <a class="btn_remove_footer" href="#">Видалити</a> | |
| 257 | 361 | </div> |
| 258 | 362 | <?php |
| 259 | 363 | $this->endContent(); | ... | ... |