X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FPriceSource%2FDiscount.pm;h=66f9532c5ebf19661becfb51440d5d3aaefa0aa2;hb=ef351df30360376cf16a1c5ce64be8e0ff630a5a;hp=a7475eae2d84e610e877d5feecda191d4e45a5e0;hpb=9f66626118ec0cdcee8082b3d81f288bbfa23648;p=kivitendo-erp.git diff --git a/SL/PriceSource/Discount.pm b/SL/PriceSource/Discount.pm index a7475eae2..66f9532c5 100644 --- a/SL/PriceSource/Discount.pm +++ b/SL/PriceSource/Discount.pm @@ -4,7 +4,7 @@ use strict; use parent 'SL::DB::Object'; use Rose::Object::MakeMethods::Generic ( - scalar => [ qw(discount description spec price_source invalid missing) ], + scalar => [ qw(discount description spec price_source invalid missing unknown) ], 'scalar --get_set_init' => [ qw(priority) ], ); @@ -51,7 +51,7 @@ __END__ =head1 NAME -SL::PriceSource::Discount - contrainer to pass calculated discounts around +SL::PriceSource::Discount - container to pass calculated discounts around =head1 SYNOPSIS @@ -75,7 +75,7 @@ SL::PriceSource::Discount - contrainer to pass calculated discounts around ); # invalid discount - SL::PriceSource::Dicount->new( + SL::PriceSource::Discount->new( discount => $original_discount, spec => $original_spec, description => $original_description, @@ -133,6 +133,12 @@ discount are no longer valid, and that the discount should be changed. If discount is missing, you do not need to supply anything except C. +=item C + +OPTIONAL. Boolean indicator that this discount was not computed for performance +reasons. This is only valid for PriceSources flagged as C. This discount +must be ignored. + =back =head1 SEE ALSO