Free person slots (up to 30), Páros 3 500 Ft
- Persons are free up to FREE_PERSON_SLOTS (30); packages give no person slots, the "+5 személy" add-on is retired (still known for old orders and payments in flight). At the cap: write to us, an admin grants more. - Páros 3 500 Ft; "bought one by one" prices without persons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -107,7 +107,7 @@ pub async fn create(
|
||||
admin: AdminUser,
|
||||
WithRejection(Json(req), _): Body<NewCodes>,
|
||||
) -> ApiResult<(StatusCode, Json<Value>)> {
|
||||
let package = packages::find(&req.package).ok_or(ApiError::NotFound("package"))?;
|
||||
let package = packages::on_sale(&req.package).ok_or(ApiError::NotFound("package"))?;
|
||||
if !(1..=MAX_BATCH).contains(&req.count) {
|
||||
return Err(ApiError::BadRequest(format!("count must be 1 to {MAX_BATCH}")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user