From 6a973df2362439a61425f767511cb02395b56737 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 26 Aug 2015 17:58:08 +0200 Subject: [PATCH] Typos in Doku --- SL/PriceSource/Base.pm | 12 ++++++------ SL/PriceSource/Price.pm | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SL/PriceSource/Base.pm b/SL/PriceSource/Base.pm index 513f3d44e..8233c58bd 100644 --- a/SL/PriceSource/Base.pm +++ b/SL/PriceSource/Base.pm @@ -123,19 +123,19 @@ L. =item C -Must return a translated name to be used in frontend. Will be used, to +Must return a translated name to be used in the frontend. Will be used to distinguish the origin of different prices. =item C -Must return a list of all prices that you algorithm can recommend the user +Must return a list of all prices that your algorithm can recommend to the user for the current situation. Each price must have a unique spec that can be used to recreate it later. Try to be brief, no one needs 20 different price suggestions. =item C -Must return a list of all prices that you algorithm can recommend the user +Must return a list of all prices that your algorithm can recommend to the user for the current situation. Each discount must have a unique spec that can be used to recreate it later. Try to be brief, no one needs 20 different discount suggestions. @@ -178,7 +178,7 @@ C or C set. =item * Be aware that all 8 types of record will be passed to your algorithm. If you -don't serve some of them, just return emptry lists on C and +don't serve some of them, just return empty lists on C and C =item * @@ -189,7 +189,7 @@ created records there might be fields not set at all. =item * Records will not be calculated. If you need tax data or position totals, you -need to invoke that for yourself. +need to invoke that yourself. =item * @@ -198,7 +198,7 @@ Accessor methods might not be present in some of the record types. =item * You do not need to do price factor and row discount calculation. These will be -done automatically afterwards. You do have to include customer/vendor discount +done automatically afterwards. You do have to include customer/vendor discounts if your price interacts with those. =item * diff --git a/SL/PriceSource/Price.pm b/SL/PriceSource/Price.pm index b17fb36d8..0ecc8b002 100644 --- a/SL/PriceSource/Price.pm +++ b/SL/PriceSource/Price.pm @@ -51,7 +51,7 @@ __END__ =head1 NAME -SL::PriceSource::Price - contrainer to pass calculated prices around +SL::PriceSource::Price - container to pass calculated prices around =head1 SYNOPSIS @@ -116,7 +116,7 @@ A ref to the creating algorithm. =item C -OPTIONAL. Prices may supply a numerical priority. Higher will trump over lower, even when +OPTIONAL. Prices may supply a numerical priority. Higher will trump lower, even when supplying higher prices. Defaults to 3 (as in middle of 1-5). =item C -- 2.20.1