<div class="subscriptionTemplate">
    <h3>{{translate 'detailSubscription'}}</h3>
    <div class="pdfReportBar">
        {{#each reportId in model.SubscriptionReports}}
        {{crystal-report reportContext='Anmeldung' storedPdf=true reportId=reportId dataKey=model.Subscription.IdSubscription target='_blank'}}
        {{/each}}
    </div>
    <button type="button" class="textButton treeViewButton" {{action 'editCurrent'}}>
        {{#if isWorking}}
        {{icon 'loadingAnimation'}}
        {{else}}
        {{icon 'edit'}}
        {{/if}}
        <div>{{translate 'edit'}}</div>
    </button>
    {{#each progress in model.WorkProgresses}}
    {{onla-work-progress model=progress allSDs=model.SubscriptionDetails currentProgress=model.Subscription.CurrentWorkProgressId openForEdit='openWorkProgress'}}
    {{/each}}
    {{outlet}}
</div>
