diff --git a/resources/tailwind-app/components/Checkin/CheckinSuccessBanner.vue b/resources/tailwind-app/components/Checkin/CheckinSuccessBanner.vue index 26aa2cb11..a294c8feb 100644 --- a/resources/tailwind-app/components/Checkin/CheckinSuccessBanner.vue +++ b/resources/tailwind-app/components/Checkin/CheckinSuccessBanner.vue @@ -12,6 +12,12 @@ const pointsDisabled = computed( props.data.points?.calculation?.reason === PointReason.Value3 || props.data.points?.calculation?.reason === PointReason.Value4, ); + +const reducedPoints = computed( + () => + props.data.points?.calculation?.reason === PointReason.Value1 || + props.data.points?.calculation?.reason === PointReason.Value2, +); @@ -30,6 +36,17 @@ const pointsDisabled = computed( }} + + {{ trans('checkin.points.could-have') }} + {{ + trans('checkin.points.full', { + points: (data.points.calculation.base + data.points.calculation.distance).toString(), + }) + }} + + + {{ trans('checkin.points.forced') }} +