public function actionPrintvoucher($id)
 {
     $model = MyFormat::loadModelByClass($id, 'FiPaymentVoucher');
     if ($model) {
         $dataTmp = FiPaymentVoucherDetail::getDataWithWithVoucherID($id, 'type');
     } else {
         throw new CHttpException(400, 'Invalid request. Please do not repeat this request again.');
     }
     $this->render('payment_vouchers/print_voucher', array('actions' => $this->listActionsCanAccess, 'model' => $model, 'dataTmp' => $dataTmp));
 }