Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.6 kB
1
Indexable
Never
@foreach (var table in vm.PriceTable)
                    {
                    <tr>
                        <td class="pricing-table__table-text">@table.Text</td>
                         
                        @if (table.HasElectricityDeal)
                        {

                            @if (table.NordpoolPrice)
                            {
                                <td class="pricing-table_tax">
                                    <div class="deals__deal-info__price" id="dealPricingChartApp" data-dictionary="@epcvm.Dictionary"></div>
                                </td>
                            }
                            else
                            {
                                <td class="pricing-table_tax">
                                        @table.ElectricityDeal.PriceWithoutVAT @Umbraco.GetDictionaryValue("kwh")
                                </td>
                            }

                            
                    
                            @if(table.HasPriceWithoutTax) {
                                    <td class="pricing-table_tax">@table.PriceWithoutTax @Umbraco.GetDictionaryValue("kwh")</td>
                            }
                            @if (table.HasPriceWithTax)
                            {
                                    <td class="pricing-table_tax">@table.PriceWithTax @Umbraco.GetDictionaryValue("kwh")</td>
                            }
                        }
                        </tr>
                    }