Revision 304

Date:
2013/04/10 11:16:24
Author:
ahitrov
Revision Log:
Баги
Files:

Legend:

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

     
    47 47 </tr>
    48 48 </table>
    49 49
    50 % my @properties = $object->structure();
    51 <pre><% Dumper \@properties %></pre>
    52 50 <center>
    53 51 <table width="98%" cellpadding="1" cellspacing="0" border="0">
    54 52
    55 53 <%perl>
    56 54
    57 # my @properties = $object->structure();
    55 my @properties = $object->structure();
    58 56
    59 57 for (0..$#properties)
    60 58 {
  • utf8/plugins/webshop/comps/contenido/webshop/delivery.html

     
    77 77 my $new;
    78 78 my $now = Contenido::DateTime->new;
    79 79
    80 my $active_rights = $m->comp('/contenido/webshop/subs/user_rights.msn');
    81
    80 82 if ($id && ($id !~ /\D/) && ($id > 0)) {
    81 83 $document = $keeper->get_document_by_id($id, class=>$class);
    82 84 if ( $clone && exists $document->{'attributes'}->{'dtime'} ) {
  • utf8/plugins/webshop/comps/contenido/webshop/facility.html

     
    78 78 my $new;
    79 79 my $now = Contenido::DateTime->new;
    80 80
    81 my $active_rights = $m->comp('/contenido/webshop/subs/user_rights.msn');
    82
    81 83 if ($id && ($id !~ /\D/) && ($id > 0)) {
    82 84 $document = $keeper->get_document_by_id($id, class=>$class);
    83 85 if ( $clone && exists $document->{'attributes'}->{'dtime'} ) {
  • utf8/plugins/webshop/lib/webshop/Order.pm

     
    59 59 mandatory => 1, rel => 'Не указан город' },
    60 60 { 'attr' => 'metro', 'type' => 'string', 'rusname' => 'Ближайшее метро', manager_hidden => 1, postshow => 1 },
    61 61 { 'attr' => 'timeline', 'type' => 'string', 'rusname' => 'Предпочтительное время', postshow => 1, },
    62 { 'attr' => 'description', 'type' => 'text', 'rusname' => 'Описание для курьера', rows => 5, postshow => 1 },
    62 { 'attr' => 'description', 'type' => 'text', 'rusname' => 'Описание для курьера', rows => 5, postshow => 1, faciledit => 1 },
    63 63 { 'attr' => 'facility_comment', 'type' => 'text', 'rusname' => 'Описание проблем с комплектацией', rows => 5, manager_hidden => 1, faciledit => 1 },
    64 64 { 'attr' => 'delivery_comment', 'type' => 'text', 'rusname' => 'Описание проблем с доставкой', rows => 5, manager_hidden => 1, postedit => 1 },
    65 65 )