예제 #1
0
 public function removeRowAction()
 {
     if ($this->request->isPost() && $this->request->isXmlHttpRequest()) {
         $row = $this->invoiceService->getRowById($this->request->getPost()->rowId);
         if ($row) {
             $this->invoiceService->deleteRow($row);
         }
     }
     return $this->response;
 }