'format' => 'raw',
'value' => function ($model) {
if (!empty($model->checkin_start_id)) {
- return !empty($photo = $model->checkinStart->photo) ? Html::img($photo, ['alt' => 'selfie', 'height' => '100px']) : null;
+ return !empty($photo = $model->checkinStart->photo) ? Html::img("/$photo", ['alt' => 'selfie', 'height' => '100px']) : null;
};
},
],
'format' => 'raw',
'value' => function ($model) {
if (!empty($model->checkin_end_id)) {
- return !empty($photo = $model->checkinEnd->photo) ? Html::img($photo, ['alt' => 'selfie', 'height' => '100px']) : null;
+ return !empty($photo = $model->checkinEnd->photo) ? Html::img("/$photo", ['alt' => 'selfie', 'height' => '100px']) : null;
};
},
],
'format' => 'raw',
'value' => function ($model) {
if (!empty($model->checkin_start_id)) {
- return !empty($photo = $model->checkinStart->photo) ? Html::img($photo, ['alt' => 'selfie', 'height' => '100px']) : null;
+ return !empty($photo = $model->checkinStart->photo) ? Html::img("/$photo", ['alt' => 'selfie', 'height' => '100px']) : null;
};
},
],
'format' => 'raw',
'value' => function ($model) {
if (!empty($model->checkin_end_id)) {
- return !empty($photo = $model->checkinEnd->photo) ? Html::img($photo, ['alt' => 'selfie', 'height' => '100px']) : null;
+ return !empty($photo = $model->checkinEnd->photo) ? Html::img("/$photo", ['alt' => 'selfie', 'height' => '100px']) : null;
};
},
]