Fix at server 21/02/23

This commit is contained in:
root
2023-02-22 09:11:47 +08:00
parent d222bd2c59
commit 0ae4612118
5 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class CartController extends Controller
$total_surat = 0;
foreach ($cart as $index1 => $data) {
$fileMarhun = FileMarhun::where('lelongbid_id', $data['id'])->get();
$fileMarhun = FileMarhun::where('lelongbid_id', $data['id'])->where('photo_type', 1)->get();
if ($fileMarhun->isNotEmpty()) {
$cart[$index1]['filemarhun'] = $fileMarhun;
}