fix some bugs

This commit is contained in:
2026-07-18 15:15:46 +03:30
parent eedde65be6
commit 8b1983e0f8
@@ -155,8 +155,9 @@ class ProductController extends SuperController
], 5, true);
return response()->json(true);
}
public function show($id, AssetSummaryService $assetSummaryService){
public function show($id){
$customer = auth('customer')->user();
$assetSummaryService = app(AssetSummaryService::class);
$query = Product::/*with(['walletMy as wallet'])->*/findOrFail($id);
$wallet = $query->walletMy;