/**
  * @Author: ANH DUNG Jul 25, 2014
  * @Todo: remove inventory photo
  * @Param: $id 
  * @note: cùng chức năng với actionAjaxRemoveFileAll ở EnquiryController ngoài cùng
  */
 public function AjaxRemoveFileAll()
 {
     if (isset($_GET['InventoryPhotoId'])) {
         $model = ProInventoryPhoto::model()->findByPk($_GET['InventoryPhotoId']);
         if ($model) {
             if ($model->user_id == Yii::app()->user->id) {
                 $model->delete();
             }
         }
         die;
     }
 }
     }
     if ($idModelFile) {
         $response['code'] = true;
         $response['message'] = $idModelFile;
         $response['file_name'] = $model->file_name;
         $response['li'] = $this->builLiPhoto($model);
     }
 } else {
     $response['code'] = false;
     $response['message'] = $model->getError($ColumnNameFile);
 }