% if ( $show eq 'html' ) { <& "/contenido/components/title.msn", %ARGS &> % } % if ( $errstr ) { % if ( $show eq 'html' ) {
<% $errstr %>
% } else { % $m->out($errstr); % } % } else { % if ( $show eq 'html' ) { % } else { С даты <% $from->dmy('.') %> По дату <% $to->dmy('.') %> % if ( $status ) { Со статусом <% $status_opts{$status} %> % } % } % if ( @coupons ) { % if ( $show eq 'html' ) {# | Название | Статус | Активен | К-во заказов | Сумма заказов | Сумма скидки | |
---|---|---|---|---|---|---|---|
с | по | ||||||
contenido_status_style ? ' style="' . $coupon->contenido_status_style . '"' : '' %> class="<% $coupon->status ? '':'hiddensect' %>" href="/contenido/webshop/coupon.html?id=<% $coupon->id %>"><% $coupon->id %> | contenido_status_style ? ' style="' . $coupon->contenido_status_style . '"' : '' %> class="<% $coupon->status ? '':'hiddensect' %>" href="/contenido/webshop/coupon.html?id=<% $coupon->id %>"><% $coupon->name %> | <% $status %> | <% $begin->dmy('.') %> | <% $end->dmy('.') %> | <% $coupon->{order_amount} %> | <% $coupon->{sum_total} %> | <% $coupon->{discount_total} %> |
В данном диапазоне дат с учетом выбранных условий купоны не найдены
% } else { В данном диапазоне дат с учетом выбранных условий купоны не найдены % } % } % } % if ( $show eq 'html' ) {