Example #1
0
 public function actionBackbill()
 {
     if (isset($_POST['id'])) {
         $id = $_POST['id'];
     }
     if ($id != null) {
         Sell::updateAll(['status' => 0], 'id=:id', [':id' => $id]);
     }
 }