public function updateAboveSetPriceDiscount(StoreAboveSetPriceDiscount $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, 			'code' => $request->code, 			'amount' => $request->amount, 			'is_percentage' => $request->boolean('is_percentage'), 			'active' => $request->boolean('active'), 			'type' => Discount::ABOVE_SET_PRICE_DISCOUNT, 		]);  		$id->storeDiscountItems();  		return $this->redirectFromSave('discounts.list'); 	}