Revision 428
- Date:
- 2014/03/11 08:58:06
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/plugins/webshop/comps/contenido/webshop/components/order_form.msn
103 103 % $prop->{temp_hidden} = 1; 104 104 % if ( exists $prop->{lookup_opts} ) { 105 105 % my $doc = $keeper->get_document_by_id( $object->$field, class => $prop->{lookup_opts}{class} ); 106 <tr><td><% $doc->name %></td></tr> 106 <tr><td><% ref $doc ? $doc->name : 'Не определено' %></td></tr> 107 107 % } elsif ( $prop->{type} eq 'status' ) { 108 108 % my ($case) = grep { $_->[0] == $object->$field } @{$prop->{cases}}; 109 109 <tr><td><% ref $case ? $case->[1] : '<span style="color:red;">Значение: '.$object->$field.'</span>' %></td></tr>