{{I18n 'ContractCode'}}

{{Code}}

{{I18n 'To'}}
{{#if EndDate}} {{parseDate EndDate 'DD/MM/YYYY'}} {{else}} - {{/if}}
{{I18n 'Since'}}
{{parseDate StartDate 'DD/MM/YYYY'}}

{{#if LastVersion.StartDate}} {{#ifCond LastVersion.StartDate '!=' Since}}
{{I18n 'VersionStartDate'}} {{parseDate LastVersion.StartDate 'DD/MM/YYYY'}}
{{/ifCond}} {{/if}}
{{I18n 'Center'}}:
{{SupplyPoint.Facility.Center.Code}} - {{SupplyPoint.Facility.Center.Name}}
{{I18n 'SupplyPoint'}}:
{{SupplyPoint.CUPS}}
{{SupplyPoint.Facility.FacilityType.Name}} - {{SupplyPoint.Facility.Name}}
{{I18n 'Titular'}}:
{{LastVersion.Titular.CIF}} - 
{{LastVersion.Titular.Name}}
{{I18n 'Payer'}}:
{{LastVersion.Payer.CIF}} - 
{{LastVersion.Payer.Name}}
{{I18n 'Marketer'}}:
{{Marketer.Name}}
{{I18n 'Rate'}}:
{{LastVersion.Rate.Name}}
{{#if LastVersion.Rate.HasMeasureType}}
{{I18n 'MeasureType'}}:
{{#ifCond LastVersion.Rate.MeasureType '==' 0}}{{I18n 'LowMeasure'}}{{/ifCond}} {{#ifCond LastVersion.Rate.MeasureType '==' 1}}{{I18n 'MediumMeasure'}}{{/ifCond}} {{#ifCond LastVersion.Rate.MeasureType '==' 2}}{{I18n 'HighMeasure'}}{{/ifCond}}
{{/if}} {{#if LastVersion.Rate.HasKVTransform}}
{{I18n 'KVTransform'}}:
{{LastVersion.Rate.KVTransform}} KVAs
{{/if}}
{{I18n 'ContractedPowers'}} (kW):
{{#if LastVersion.Potency1}}
P1
{{LastVersion.Potency1}}
{{/if}} {{#if LastVersion.Potency2}}
P2
{{LastVersion.Potency2}}
{{/if}} {{#if LastVersion.Potency3}}
P3
{{LastVersion.Potency3}}
{{/if}} {{#if LastVersion.Potency4}}
P4
{{LastVersion.Potency4}}
{{/if}} {{#if LastVersion.Potency5}}
P5
{{LastVersion.Potency5}}
{{/if}} {{#if LastVersion.Potency6}}
P6
{{LastVersion.Potency6}}
{{/if}}
{{I18n 'InvoiceAddress'}}:
{{Address}}
{{I18n 'IBAN'}}:
{{IBAN}}
{{I18n 'BIC'}}:
{{BIC}}
{{#if Email1}}
{{I18n 'Email'}}1:
{{Email1}}
{{/if}} {{#if Email2}}
{{I18n 'Email'}}2:
{{Email2}}
{{/if}} {{#if Email3}}
{{I18n 'Email'}}3:
{{Email3}}
{{/if}}