Revision 788

Date:
2020/03/20 15:57:56
Author:
ahitrov
Revision Log:
delete order only with mandatory key

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/webshop/lib/webshop/Order.pm

     
    142 142 $self->store;
    143 143 }
    144 144
    145 sub delete {
    146 my $self = shift;
    147 my %opts = @_;
    148 if ( $opts{mandatory} ) {
    149 $self->SUPER::delete;
    150 }
    151 $self->reject;
    152 }
    145 153
    146 154 sub class_name
    147 155 {