where('user_id', $dealer->user_id)->sum('total_amount'); return bcmul($total, '1', 2); } }