]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Смена картинки
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 25 Jun 2024 14:28:07 +0000 (17:28 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 25 Jun 2024 14:28:07 +0000 (17:28 +0300)
erp24/actions/timetable/AddFactHandAction.php
erp24/web/images/avatar-empty.png [new file with mode: 0644]

index 779701775ba116f9c013960b0bf2a3e6387996c8..50edac458c07bfbb54bfbbdd9691013d08339851 100644 (file)
@@ -58,7 +58,7 @@ class AddFactHandAction extends Action
                         $checkIn->time = [$model->shift_start, $model->shift_end][$index];
                         $checkIn->lat = null;
                         $checkIn->lon = null;
-                        $checkIn->photo = 'images/next.png';
+                        $checkIn->photo = 'images/avatar-empty.png';
                         $checkIn->device_id = AdminDevice::findOne(['admin_id' => $model->admin_id])->id ?? 0;
                         $checkIn->type_id = in_array($model->shift_id, [5, 8]) ? AdminCheckin::TYPE_APPEAR :
                             [AdminCheckin::TYPE_START, AdminCheckin::TYPE_END][$index];
diff --git a/erp24/web/images/avatar-empty.png b/erp24/web/images/avatar-empty.png
new file mode 100644 (file)
index 0000000..f7ed51c
Binary files /dev/null and b/erp24/web/images/avatar-empty.png differ