;=====================================================================
; TDL Name    : Month Name Column in Day Book and Ledger
; Purpose     : Adds a MONTH column (Jan, Feb...) in Day Book and Ledger Vouchers
; Load        : Tally > F1 Help > TDL & Add-On > Manage Local TDL
; Website     : gyanamrittdl.com (Free TDL)
;=====================================================================

[Field: MnthOfDate001]
    Use      : Name Field
    Set as   : if $$MonthOfDate:$Date = 1 then "Jan" else if $$MonthOfDate:$Date = 2 then "Feb" else if $$MonthOfDate:$Date = 3 then "Mar" else if $$MonthOfDate:$Date = 4 then "Apr" else if $$MonthOfDate:$Date = 5 then "May" else if $$MonthOfDate:$Date = 6 then "Jun" else if $$MonthOfDate:$Date = 7 then "Jul" else if $$MonthOfDate:$Date = 8 then "Aug" else if $$MonthOfDate:$Date = 9 then "Sep" else if $$MonthOfDate:$Date = 10 then "Oct" else if $$MonthOfDate:$Date = 11 then "Nov" else "Dec"
    Width    : 6
    Color    : Blue
    Style    : Small Bold
	Border:Thin Right

;----------------------------- DAY BOOK ------------------------------
[#Line: DBTitle1]
    Add   : Field : At Beginning : MnthOfDate001
    Local : Field : MnthOfDate001 : Set as : "MONTH"

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

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

;-------------------------- LEDGER VOUCHERS --------------------------
[#Line: DSP VchAccTitles]
    Add   : Field : At Beginning : MnthOfDate001
    Local : Field : MnthOfDate001 : Set as : "MONTH"

[#Line: LV OpeningBalance]
    Add   : Field : At Beginning : MnthOfDate001
    Local : Field : MnthOfDate001 : Set as : ""

[#Line: DSP VchAccDetail]
    Add   : Field : At Beginning : MnthOfDate001

[#Line: DSP VchClAmt]
    Add   : Field : At Beginning : MnthOfDate001
    Local : Field : MnthOfDate001 : Set as : ""

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