Class InvoiceDocumentController


  • @Controller
    @Scope("tenant")
    @RequestMapping("/my-company/organization-management/invoicedocument")
    public class InvoiceDocumentController
    extends AbstractSearchPageController
    Controller for invoice download and invoice details.
    • Constructor Detail

      • InvoiceDocumentController

        public InvoiceDocumentController()
    • Method Detail

      • invoiceDownload

        @ResponseBody
        @RequestMapping(value="/invoicedownload",
                        method={GET,POST})
        public void invoiceDownload​(@RequestParam("invoiceCode")
                                    java.lang.String invoiceCode,
                                    org.springframework.ui.Model model,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
        Invoice download functionality.
      • invoiceDetails

        @RequestMapping(value="/invoicedetails",
                        method=GET)
        public java.lang.String invoiceDetails​(@RequestParam("invoiceCode")
                                               java.lang.String invoiceCode,
                                               org.springframework.ui.Model model,
                                               org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel,
                                               javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
                                        throws CMSItemNotFoundException
        Throws:
        CMSItemNotFoundException