level up log names for orders
authorAdrian Oldham <adriann@visualthought.com.au>
Sat, 16 Mar 2013 05:03:51 +0000 (16:03 +1100)
committerAdrian Oldham <adriann@visualthought.com.au>
Sat, 16 Mar 2013 05:06:16 +0000 (16:06 +1100)
site/cgi-bin/modules/BSE/TB/Order.pm
site/cgi-bin/modules/BSE/UI/AdminShop.pm

index f6bd334..def3c67 100644 (file)
@@ -7,7 +7,7 @@ use vars qw/@ISA/;
 use Carp 'confess';
 use BSE::Shop::PaymentTypes;
 
-our $VERSION = "1.016";
+our $VERSION = "1.017";
 
 sub columns {
   return qw/id
@@ -638,7 +638,7 @@ sub new_stage {
      component => "shopadmin:orders:saveorder",
      object => $self,
      msg => $msg,
-     level => "info",
+     level => "notice",
      actor => $who || "U"
     );
 
index 34584c8..24d7d5c 100644 (file)
@@ -19,7 +19,7 @@ use BSE::Arrows;
 use BSE::Shop::Util qw(:payment order_item_opts nice_options payment_types);
 use BSE::CfgInfo qw(cfg_dist_image_uri);
 
-our $VERSION = "1.017";
+our $VERSION = "1.018";
 
 my %actions =
   (
@@ -951,7 +951,7 @@ sub _set_order_paid {
        $req->audit
          (
           component => "shopadmin:order:paid",
-          level => "info",
+          level => "notice",
           object => $order,
           msg => "Order " . $order->id . " marked paid",
          );
@@ -960,7 +960,7 @@ sub _set_order_paid {
        $req->audit
          (
           component => "shopadmin:order:unpaid",
-          level => "info",
+          level => "notice",
           object => $order,
           msg => "Order " . $order->id . " marked unpaid",
          );
@@ -1097,7 +1097,7 @@ sub req_order_save {
         component => "shopadmin:orders:saveorder",
         object => $order,
         msg => "New freight tracking code set: '" . $order->freight_tracking . "'",
-        level => "info",
+        level => "notice",
        );
     }
     if ($new_shipping_name) {
@@ -1106,7 +1106,7 @@ sub req_order_save {
         component => "shopadmin:orders:saveorder",
         object => $order,
         msg => "New shippping method set: '" . $order->shipping_name . "/" . $order->shipping_method . "'",
-        level => "info",
+        level => "notice",
        );
     }
     if ($new_stage) {