fix product show
This commit is contained in:
@@ -384,7 +384,7 @@ class WalletController extends Controller
|
||||
return response()->json($records);
|
||||
}
|
||||
public function index_withdraw_physical(Request $request){
|
||||
$records = Withdraw::with(['customer','bank_account','Address',"Transaction.product"])->where("customer_id",auth('customer')->id())->whereBetween('sts', [49, 70]);
|
||||
$records = Withdraw::with(['customer','bank_account','Address',"Transaction.product.file"])->where("customer_id",auth('customer')->id())->whereBetween('sts', [49, 70]);
|
||||
TableEngine::create($records, $request->all())
|
||||
->initSearch(['customer.name'])
|
||||
->select([
|
||||
|
||||
@@ -70,6 +70,7 @@ class Transaction extends Model
|
||||
'amount',
|
||||
'trade_by_quantity',
|
||||
'metal_id',
|
||||
'file_id',
|
||||
]);
|
||||
}
|
||||
public function order()
|
||||
|
||||
Reference in New Issue
Block a user