Class EbillVatDirective
java.lang.Object
ch.tocco.nice2.optional.ordereinvoicing.impl.directive.EbillVatDirective
- All Implemented Interfaces:
Nice2TemplateDirective
,freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
Used by yellowbill output template to group order positions by vat code and return part of yellowbill xml
where for each vat code a tax element which the rate, total vat of this code and total net of this code is added.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorsConstructorDescriptionEbillVatDirective
(QueryBuilderFactory queryBuilderFactory, ActiveVatRateService activeVatRateService) -
Method Summary
-
Constructor Details
-
EbillVatDirective
public EbillVatDirective(QueryBuilderFactory queryBuilderFactory, ActiveVatRateService activeVatRateService)
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException - Specified by:
execute
in interfacefreemarker.template.TemplateDirectiveModel
- Throws:
freemarker.template.TemplateException
IOException
-