|
|
|
@ -102,7 +102,10 @@ class Recovery extends Controller |
|
|
|
|
foreach ($data['list'] as $key => $value) { |
|
|
|
|
$data['list'][$key]['is_cancel'] = 0; |
|
|
|
|
$data['list'][$key]['is_success'] = 0; |
|
|
|
|
$data['list'][$key]['recovery_image'] = !empty($image_list[$value['recovery_id']]) ?: ''; |
|
|
|
|
$data['list'][$key]['recovery_image'] = ''; |
|
|
|
|
if (!empty($image_list[$value['recovery_id']])) { |
|
|
|
|
$data['list'][$key]['recovery_image'] = $image_list[$value['recovery_id']]; |
|
|
|
|
} |
|
|
|
|
if ($value['order_status'] == RecoveryStatusEnum::ACCEPTED) { |
|
|
|
|
$data['list'][$key]['is_cancel'] = 1; |
|
|
|
|
$data['list'][$key]['is_success'] = 1; |
|
|
|
|