;; ============================================================
;; Product   : Party Mobile Show in Group Summary
;; Store     : www.gyanamrittdl.com
;; Support   : WhatsApp +91 79924 46290
;; For       : TallyPrime
;; ============================================================
;; What it does : Adds a MOBILE column in Group Summary
;;                (e.g. Sundry Debtors / Sundry Creditors).
;;                Mobile number shows on ledger lines only.
;;                Trial Balance and other reports do not change.
;; How to load  : F1 Help > TDL & Add-On > Manage Local TDL
;;                > Load TDL on Startup : Yes > give this file path.
;; ============================================================

;------------------------- ON / OFF VARIABLE -------------------------
[Variable: GAF60Show]
    Type    : Logical
    Default : No

[System: Variable]
    GAF60Show : No

[#Report: Group Summary]
    Variable : GAF60Show
    Set      : GAF60Show : Yes

;------------------------------ FIELD --------------------------------
[Field: GAF60 MobileF]
    Use    : Name Field
    Set as : $LedgerMobile
    Width  : 11
    Style  : Small
    Color  : Blue
    Border : Thin Right

;--------------------------- TITLE LINES -----------------------------
[#Line: DSP ItemTitle]
    Option : GAF60 TitleBlank : ##GAF60Show

[#Line: DSP CmpTitle]
    Option : GAF60 TitleBlank : ##GAF60Show

[#Line: DSP DateTitle]
    Option : GAF60 TitleBlank : ##GAF60Show

[#Line: DSP AmtOneTitle]
    Option : GAF60 TitleText : ##GAF60Show

[#Line: DSP AmtTwoTitle]
    Option : GAF60 TitleBlank : ##GAF60Show

[#Line: DSP Totals]
    Option : GAF60 TitleBlank : ##GAF60Show

[!Line: GAF60 TitleBlank]
    Add   : Field : At Beginning : GAF60 MobileF
    Local : Field : GAF60 MobileF : Set as : ""

[!Line: GAF60 TitleText]
    Add   : Field : At Beginning : GAF60 MobileF
    Local : Field : GAF60 MobileF : Set as : "MOBILE"
    Local : Field : GAF60 MobileF : Style  : Small Bold

;--------------------------- LEDGER LINE -----------------------------
[#Line: DSP AccLine]
    Option : GAF60 AccOpt : ##GAF60Show

[!Line: GAF60 AccOpt]
    Add : Field : At Beginning : GAF60 MobileF

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