From ae89a44a374a7ab2585713eeedc2916a1c8f01f9 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 9 Jul 2019 00:52:31 +0000 Subject: [PATCH] Bug 22098: (follow-up) fix grammar/formating Perldoc - nubers => numbers - some vertical spacing - !}fmt -w65 - "contains of letters" => "containing letters" TEST PLAN --------- perldoc cataloguing/value_builder/stocknumberAV.pl apply patch perldoc cataloguing/value_builder/stocknumberAV.pl -- after the patch is more readable. Signed-off-by: Fridolin Somers Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- cataloguing/value_builder/stocknumberAV.pl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl index 395623eea6..3bf94da232 100755 --- a/cataloguing/value_builder/stocknumberAV.pl +++ b/cataloguing/value_builder/stocknumberAV.pl @@ -31,12 +31,15 @@ use Koha::AuthorisedValues; This plugin is based on authorised values INVENTORY. It is used for stocknumber computation. -If no prefix is submitted, or prefix does not contain only nubers, it returns the inserted code (= keep a field unchanged) -If a prefix is submited, we look for the highest stocknumber with this prefix, and return it incremented. -In this case, a stocknumber has this form : "PREFIX 0009678570". - - PREFIX contains of letters - - a space separator - - 10 digits, with leading 0s if needed +If no prefix is submitted, or prefix does not contain only +numbers, it returns the inserted code (= keep a field unchanged) + +If a prefix is submited, we look for the highest stocknumber +with this prefix, and return it incremented. + +In this case, a stocknumber has this form (e.g. "PREFIX 0009678570"): +PREFIX containing letters, a space separator, and +10 digits with leading 0s if needed =cut -- 2.39.5