Merge branch 'atie' into 'main'
update view image cdm page account See merge request online-sistem1/lelong!365
This commit is contained in:
@@ -609,7 +609,7 @@ class AccountController extends Controller
|
||||
$fileresit = FileResit::where('lelong_id', $lelong_id)
|
||||
->where('user_id', $user_id)
|
||||
->where('kodcaw', $caw_code)
|
||||
->where('photo_type', '=', '2')
|
||||
// ->where('photo_type', '=', '2')
|
||||
->get();
|
||||
// dd($fileresit);
|
||||
foreach ($fileresit as $index => $itemresit) {
|
||||
|
||||
@@ -41,9 +41,9 @@ class ResitPhotoService
|
||||
$fileresit_id = $resit->id;
|
||||
// dd($fileresit_id);;
|
||||
|
||||
$photo_type_name = $resit->photo_type === 1 ? '1' : '2';
|
||||
// $photo_type_name = $resit->photo_type === 1 ? '1' : '2';
|
||||
|
||||
$directory = $user_id.$DS.$lelong_id.$DS.$photo_type_name.$DS;
|
||||
$directory = $user_id.$DS.$lelong_id.$DS;
|
||||
// dd($directory);
|
||||
$imageExtension = $resit->file_type;
|
||||
// dd($imageExtension);
|
||||
|
||||
Reference in New Issue
Block a user