Revision 355

Date:
2013/05/29 12:42:10
Author:
ahitrov
Revision Log:
Bug
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/webshop/comps/contenido/webshop/delivery.html

     
    177 177 $document->postman_id( $user->id );
    178 178 $document->etime( $now->ymd('-').' '.$now->hms );
    179 179 if ( $m->comp_exists('/comps/letters/order_delivered.msn') ) {
    180 my $profile = $keeper->{users}->get_profile( id => $order->uid );
    180 my $profile = $keeper->{users}->get_profile( id => $document->uid );
    181 181 my $mailfrom = ref $project->params && $project->params->{mailfrom} ? $project->params->{mailfrom} : undef;
    182 182 if ( $profile && $mailfrom ) {
    183 183 my $sendmail = {
    184 184 to => $profile->name.' <'.$profile->email.'>',
    185 185 from => 'Интернет-магазин <'.$mailfrom.'>',
    186 186 subject => 'Подтверждение доставки',
    187 body => $m->scomp('/comps/letters/order_delivered.msn', profile => $profile, order => $order),
    187 body => $m->scomp('/comps/letters/order_delivered.msn', profile => $profile, order => $document),
    188 188 };
    189 189 $m->comp('/inc/sendmail.msn', email => $sendmail);
    190 190 }