public function updateSameProductMultipleTimesDiscount(StoreSameProductMultipleTimes $request, Discount $id): RedirectResponse 	{ 		$id->update([ 			'title' => $request->title, 			'max_use' => $request->max_use ?? 0, 			'period_from' => $request->period_from ? formatTimestamp($request->period_from, 'Y-m-d H:i:s', $request->user()->timezone) : null, 			'period_to' => $request->period_to ? formatTimestamp($request->period_to, 'Y-m-d H:i:s', $request->user()->timezone) : null, 			'active' => $request->boolean('active'), 			'type' => Discount::SAME_PRODUCT_MULTIPLE_TIMES_DISCOUNT, 		]);  		$id->storeDiscountItems();  		return $this->redirectFromSave('discounts.list'); 	}