예제 #1
0
        protected void btnPrintReport_Click(object sender, EventArgs e)
        {
            if (this.WeekEndDate != null && this.WeekEndDate != new DateTime(1001, 1, 1))
            {
                string pdfpath = GenerateOdsPdf.GeneratePackingReportPDF(this.WeekEndDate);

                if (File.Exists(pdfpath))
                {
                    this.DownloadPDFFile(pdfpath);
                }
            }
        }
예제 #2
0
        protected void btnPrintReport_Click(object sender, EventArgs e)
        {
            if (this.WeekEndDate != null && this.WeekEndDate != new DateTime(1001, 1, 1))
            {
                string pdfpath = GenerateOdsPdf.GeneratePackingReportPDF(this.WeekEndDate, int.Parse(this.ddlShipmentMode.SelectedValue), int.Parse(this.ddlShippingAddress.SelectedValue));

                if (File.Exists(pdfpath))
                {
                    this.DownloadPDFFile(pdfpath);
                }
            }
        }