Esempio n. 1
0
        public ActionResult InvoicesDetailsMode6(int id) //id = InvoiceID
        {
            Invoices_Details viewInvoices_Details = new Invoices_Details();

            viewInvoices_Details.toPrint      = true;
            viewInvoices_Details.showToClient = false;
            viewInvoices_Details.invoice      = Invoices.GetInvoice(id);

            viewInvoices_Details.invoiceLines    = Invoices.GetInvoiceLines(id);
            viewInvoices_Details.numberOfColumns = viewInvoices_Details.invoice.NumberOfColumns;

            viewInvoices_Details.InvoiceType = viewInvoices_Details.invoice.InvoiceTypeDesc;

            return(View("InvoicesDetails", "Print", viewInvoices_Details));
        }