{{#if fdl-product-data-LeadTime}}

  <div class="fdl__table{{mod}}">

    <div class="fdl-heading">
        <div class="fdl-col checkbox-col">Active</div>
        <div class="fdl-col input-col">Lead time</div>
        <div class="fdl-col last-modified-col">Last modified</div>
        <div class="fdl-col modified-by-col">Modified by</div>
        <div class="fdl-col delete-col"></div>
    </div>
    <div class="fdl-row hide">
        <div class="fdl-col checkbox-col">
            {{> checkbox id="1" checked="true"}}
        </div>

        <div class="fdl-col input-col">
            <div class="fdl-col__edit fdl-col__input">{{> form-row }}</div>
        </div>

        <div class="fdl-col last-modified-col">
        </div>

        <div class="fdl-col modified-by-col text-truncate">
        </div>

        <div class="fdl-col delete-col">
            <a href="#" class="icon" title="Remove" aria-label="Remove item">
                <span class="fas fa-trash"></span>
            </a>
        </div>
    </div>

    {{#if fdl-new-product-block}}
        {{#unless fdl-new-product.tableRowLeadTime}}
            <div class="fdl-row empty-row"></div>
        {{else}}
            {{#each fdl-new-product.tableRowLeadTime}}
                <div class="{{tableRowClass}}">
                    <div class="fdl-col checkbox-col">
                        {{> checkbox id=checkbox.id checked=checkbox.checked}}
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i4" value=tableCol.leadTime }}</div>
                    </div>

                    <div class="fdl-col last-modified-col">
                        {{tableCol.lastModified}}
                    </div>

                    <div class="fdl-col modified-by-col text-truncate">
                        {{tableCol.modifiedBy}}
                    </div>

                    <div class="fdl-col delete-col">
                        <a href="#" class="icon" title="Remove" aria-label="Remove item">
                            <span class="fas fa-trash"></span>
                        </a>
                    </div>

                </div>
            {{/each}}
        {{/unless}}
    {{else}}
        {{#unless fdl-product.tableRowLeadTime}}
            <div class="fdl-row empty-row"></div>
        {{else}}
            {{#each fdl-product.tableRowLeadTime}}
                <div class="{{tableRowClass}}">
                    <div class="fdl-col checkbox-col">
                        {{> checkbox id=checkbox.id checked=checkbox.checked}}
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i4" value=tableCol.leadTime }}</div>
                    </div>

                    <div class="fdl-col last-modified-col">
                        {{tableCol.lastModified}}
                    </div>

                    <div class="fdl-col modified-by-col text-truncate">
                        {{tableCol.modifiedBy}}
                    </div>

                    <div class="fdl-col delete-col">
                        <a href="#" class="icon" title="Remove" aria-label="Remove item">
                            <span class="fas fa-trash"></span>
                        </a>
                    </div>
                </div>
            {{/each}}
        {{/unless}}
    {{/if}}
  </div>


{{else if fdl-product-data-DeliveryPrice}}

  <div class="fdl__table{{mod}}">

    <div class="fdl-heading">
        <div class="fdl-col checkbox-col">Active</div>
        <div class="fdl-col input-col">Threshold</div>
        <div class="fdl-col input-col">Price value</div>
        <div class="fdl-col last-modified-col">Last modified</div>
        <div class="fdl-col modified-by-col">Modified by</div>
        <div class="fdl-col delete-col"></div>
    </div>
    <div class="fdl-row hide">
        <div class="fdl-col checkbox-col">
            {{> checkbox id="3" checked="true"}}
        </div>

        <div class="fdl-col input-col">
            <div class="fdl-col__edit fdl-col__input">{{> form-row}}</div>
        </div>

        <div class="fdl-col input-col">
            <div class="fdl-col__edit fdl-col__input">{{> form-row}}</div>
        </div>

        <div class="fdl-col last-modified-col"></div>

        <div class="fdl-col modified-by-col text-truncate"></div>

        <div class="fdl-col delete-col">
            <a href="#" class="icon" title="Remove" aria-label="Remove item">
                <span class="fas fa-trash"></span>
            </a>
        </div>
    </div>

    {{#if fdl-new-product-block}}
        {{#unless fdl-new-product.tableRowDeliveryPrice}}
            <div class="fdl-row empty-row"></div>
        {{else}}
            {{#each fdl-new-product.tableRowDeliveryPrice}}
                <div class="{{tableRowClass}}">
                    <div class="fdl-col checkbox-col">
                        {{> checkbox id=checkbox.id checked=checkbox.checked}}
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i1" value=tableCol.threshold}}</div>
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i1" value=tableCol.priceValue}}</div>
                    </div>

                    <div class="fdl-col last-modified-col">
                        {{tableCol.lastModified}}
                    </div>

                    <div class="fdl-col modified-by-col text-truncate">
                        {{tableCol.modifiedBy}}
                    </div>

                    <div class="fdl-col delete-col">
                        <a href="#" class="icon" title="Remove" aria-label="Remove item">
                            <span class="fas fa-trash"></span>
                        </a>
                    </div>
                </div>
            {{/each}}
        {{/unless}}
    {{else}}
        {{#unless fdl-product.tableRowDeliveryPrice}}
            <div class="fdl-row empty-row"></div>
        {{else}}
            {{#each fdl-product.tableRowDeliveryPrice}}
                <div class="{{tableRowClass}}">
                    <div class="fdl-col checkbox-col">
                        {{> checkbox id=checkbox.id checked=checkbox.checked}}
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i1" value=tableCol.threshold}}</div>
                    </div>

                    <div class="fdl-col input-col">
                        <div class="fdl-col__edit fdl-col__input">{{> form-row id="i1" value=tableCol.priceValue}}</div>
                    </div>

                    <div class="fdl-col last-modified-col">
                        {{tableCol.lastModified}}
                    </div>

                    <div class="fdl-col modified-by-col text-truncate">
                        {{tableCol.modifiedBy}}
                    </div>

                    <div class="fdl-col delete-col">
                        <a href="#" class="icon" title="Remove" aria-label="Remove item">
                            <span class="fas fa-trash"></span>
                        </a>
                    </div>
                </div>
            {{/each}}
        {{/unless}}
    {{/if}}
  </div>

{{/if}}