my $e = new_editor("authtoken" => $auth);
return $e->die_event unless $e->checkauth;
- return $e->die_event unless $e->allowed("CAPTURE_RESERVATION");
+ return $e->die_event unless $e->allowed("COPY_CHECKIN");
my $dt_parser = new DateTime::Format::ISO8601;
my $now = now DateTime; # sic
my $e = new_editor(authtoken => $auth);
return $e->die_event unless $e->checkauth;
- return $e->die_event unless $e->allowed("CAPTURE_RESERVATION");
+ return $e->die_event unless $e->allowed("COPY_CHECKIN");
my $uncaptured = get_uncaptured_bresv_for_brsrc(
$e, {"barcode" => $barcode}
my $e = new_editor("xact" => 1, "authtoken" => $auth);
return $e->die_event unless $e->checkauth;
- return $e->die_event unless $e->allowed('CAPTURE_RESERVATION');
+ return $e->die_event unless $e->allowed("COPY_CHECKIN");
my $here = $e->requestor->ws_ou;
my $reservation = $e->retrieve_booking_reservation([