@ticketboothapp/booking 1.2.80 → 1.2.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticketboothapp/booking",
3
- "version": "1.2.80",
3
+ "version": "1.2.81",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -885,7 +885,8 @@ export function AdminChangeBookingFlow({
885
885
  /** Public self-serve only: cannot reduce tickets below original counts. Provider-dashboard admins may reduce party size. */
886
886
  const changeBookingMinimumQuantities = useMemo(() => {
887
887
  if (!isCustomerSelfServeChange || !initialValues?.bookingItems?.length) return undefined;
888
- if (isAdmin && isProviderDashboardChange) return undefined;
888
+ // Any admin-facing change flow should allow lowering quantities.
889
+ if (isAdmin) return undefined;
889
890
  const m: Record<string, number> = {};
890
891
  for (const item of initialValues.bookingItems) {
891
892
  const key = item.category?.trim();
@@ -3710,7 +3711,6 @@ export function AdminChangeBookingFlow({
3710
3711
  quantities,
3711
3712
  addOnSelections,
3712
3713
  adminCustomReceiptLines,
3713
- editableCheckoutPriceSummaryLines,
3714
3714
  editableSummaryLineAmountInputs,
3715
3715
  editableSummaryLineLabelInputs,
3716
3716
  useAdminFeAuthoritativeQuote,
@@ -3726,7 +3726,6 @@ export function AdminChangeBookingFlow({
3726
3726
  quantities,
3727
3727
  addOnSelections,
3728
3728
  adminCustomReceiptLines,
3729
- editableCheckoutPriceSummaryLines,
3730
3729
  editableSummaryLineAmountInputs,
3731
3730
  editableSummaryLineLabelInputs,
3732
3731
  useAdminFeAuthoritativeQuote,