Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -85,6 +85,7 @@ func ExportCustomerBalancePDFHandler(_ *sql.DB) http.HandlerFunc {
|
||||
selectedDate,
|
||||
params.CariSearch,
|
||||
detailed,
|
||||
"Cari Bakiye Listesi",
|
||||
summaries,
|
||||
detailsByMaster,
|
||||
)
|
||||
@@ -233,6 +234,7 @@ func drawCustomerBalancePDF(
|
||||
selectedDate string,
|
||||
searchText string,
|
||||
detailed bool,
|
||||
reportTitle string,
|
||||
summaries []balanceSummaryPDF,
|
||||
detailsByMaster map[string][]models.CustomerBalanceListRow,
|
||||
) {
|
||||
@@ -251,7 +253,11 @@ func drawCustomerBalancePDF(
|
||||
pdf.SetFont("dejavu", "B", 15)
|
||||
pdf.SetTextColor(149, 113, 22)
|
||||
pdf.SetXY(marginL, marginT)
|
||||
pdf.CellFormat(120, 7, "Cari Bakiye Listesi", "", 0, "L", false, 0, "")
|
||||
title := strings.TrimSpace(reportTitle)
|
||||
if title == "" {
|
||||
title = "Cari Bakiye Listesi"
|
||||
}
|
||||
pdf.CellFormat(120, 7, title, "", 0, "L", false, 0, "")
|
||||
|
||||
pdf.SetFont("dejavu", "", 9)
|
||||
pdf.SetTextColor(20, 20, 20)
|
||||
|
||||
Reference in New Issue
Block a user