Revision 256

Date:
2012/10/11 07:52:25
Author:
ahitrov
Revision Log:
Отображение размера в админке
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/webshop/comps/contenido/webshop/components/order_browse.msn

     
    18 18 <table width="100%" border="0" cellpadding="4" cellspacing="0" class="tlistdocs">
    19 19 <tr bgcolor="#efefef">
    20 20 <th><a href="javascript:delete_check()" onclick="delete_check(); return false;"><img src="/contenido/i/actions/delete.gif" width="14" height="17" alt="Удаление документов" align="absmiddle" border="0" hspace="1"></a></th>
    21 <th>#</th>
    21 22 %
    22 23 % foreach (@$columns) {
    23 24 <th><% $_->{shortname} || $_->{rusname} %></th>
     
    32 33 %
    33 34 % next unless ref($document);
    34 35 % my $document_access = $user->section_accesses($user, $document->section);
    36 % my $style = $document->contenido_status_style ? ' style="'.$document->contenido_status_style.'"' : '';
    37 % my ($a1, $a2) = $href ? ('<a href="./'.$href.'?id='.$document->id.($params_unclassed ? '&'.$params_unclassed : '').'"'.$style.'>','</a>') : ('','');
    35 38 %
    36 39 <tr valign="top">
    37 40 <td nowrap>\
     
    42 45 &nbsp;
    43 46 % }
    44 47 </td>
    48 <td><span<% $style %> class="<% $document->status ? '':'hiddensect' %>"><% $a1.$document->id.$a2 %></span></td>
    45 49 %
    46 50 % for my $col (@$columns) {
    47 51 % if ($col->{attr} eq 'dtime') {
     
    53 57 % }
    54 58 %
    55 59 % } elsif ($col->{attr} eq 'name') {
    56 % my $style = $document->contenido_status_style ? ' style="'.$document->contenido_status_style.'"' : '';
    57 % my ($a1, $a2) = $href ? ('<a href="./'.$href.'?id='.$document->id.($params_unclassed ? '&'.$params_unclassed : '').'"'.$style.'>','</a>') : ('','');
    58 60 <td><span<% $style %> class="<% $document->status ? '':'hiddensect' %>">\
    59 61 %
    60 62 % my $name=$document->name ? $document->name : 'Безымянный документ N'.$document->id;
  • utf8/plugins/webshop/comps/contenido/webshop/components/order_form.msn

     
    19 19 <form enctype="multipart/form-data" action="<% $action %>" method="POST" name="form" onSubmit="javascript:Save()">
    20 20
    21 21 <table border="0" width="100%" cellspacing="0" cellpadding="6">
    22 <tr>
    22 <tr><td style="font:bold 15px;" align="center">ID = <% $object->id %></td>
    23 23 <td align="right">
    24 24 <input type="submit" value="Сохранить" class="input_btn">
    25 25 <input type="submit" name="_save_and_leave" value="Сохранить и выйти" class="input_btn">
  • utf8/plugins/webshop/comps/contenido/webshop/components/order_list.msn

     
    13 13 <th>Артикул</th>
    14 14 <th>Название</th>
    15 15 <th>Цвет</th>
    16 <th>Размер</th>
    16 17 <th>Цена</th>
    17 18 <th>Кол-во</th>
    18 19 <th>Сумма</th>
     
    29 30 % }
    30 31 </td>
    31 32 <td><% $obj->articul %></td>
    32 <td><% $obj->name %></td>
    33 <td><% $obj->colour %></td>
    33 <td><a href="/contenido/document.html?class=<% $obj->class %>&id=<% $obj->id %>" target="_blank"><% $obj->name %></a></td>
    34 <td><% $obj->colour || '&nbsp;' %></td>
    35 <td><% $obj->size || '&nbsp;' %></td>
    34 36 % if ( $context ) {
    35 37 <td class="number"><% $obj->price %></td>
    36 38 <td class="number"><% $obj->number %></td>
  • utf8/plugins/webshop/lib/webshop/SQL/Order.pm

     
    127 127 'attr' => 'dtime',
    128 128 'type' => 'datetime',
    129 129 'rusname' => 'Заказ подтвержден',
    130 'shortname' => 'Дата',
    130 131 'column' => 1,
    131 132 'postshow' => 1,
    132 133 'facilshow' => 1,