;=====================================================================
; TDL Name    : Party Closing Balance Column in Day Book
; Purpose     : Shows the party Closing Balance (Dr/Cr) column in Day Book
; Load        : Tally > F1 Help > TDL & Add-On > Manage Local TDL
; Website     : gyanamrittdl.com (Free TDL)
;=====================================================================

[Field: PrtyClBal001]
    Use      : Name Field
    Set as   : if $$IsEmpty:$PartyLedgerName then "" else if $$IsDr:$ClosingBalance:Ledger:$PartyLedgerName then $$LocaleString:($ClosingBalance:Ledger:$PartyLedgerName) + " Dr" else $$LocaleString:($ClosingBalance:Ledger:$PartyLedgerName) + " Cr"
    Width    : 16
    Color    : Blue
    Style    : Small Bold
	Border:Thin Right

;----------------------------- DAY BOOK ------------------------------
[#Line: DBTitle1]
    Add   : Field : At Beginning : PrtyClBal001
    Local : Field : PrtyClBal001 : Set as : "PARTY BAL"

[#Line: DBTitle2]
    Add   : Field : At Beginning : PrtyClBal001
    Local : Field : PrtyClBal001 : Set as : ""

[#Line: DSP VchDetail]
    Add   : Field : At Beginning : PrtyClBal001

;============================ END ====================================
