how to make title invisible in ledger report in $ Printmode

Discussion in 'Free Source Codes' started by bikash agarwal, Oct 17, 2023.

    

  1. hello sir,
    can anyone help me ... body part is invisible in printmode , but title BALANCE is comming which also i want invisible in printmode ...

    please some members Help :(:(

    code


    ;;-------------------------------ShowRunnBalance

    [#Report:Ledger Vouchers]
    Set: ShowrunBalance:Yes
    set:invisible:$$InPrintmode


    [#Field : DSP VchLedBalance]
    Add:Border:Thin left
    Invisible : $$InPrintMode
     

    Attached Files:




  2. R
    Red line needs to be corrected


    body is invisible in printmode ... but not the title ... that also i want
     
    Last edited: Oct 17, 2023


  3. Suyash Narnolia

    Suyash Narnolia New Member


    Hi Bikash..
    Issue was solved in our chat. Posting the solution here for community to benefit

    The correct field is to modify is DSP VchLedBalTitle

    Solution:
    [#Field: DSP VchLedBalTitle]
    Set as : If $$InPrintMode then "" Else $$LocaleString:"Balance"

    OR

    [#Field: DSP VchLedBalTitle]
    Inactive : $$InPrintMode
     
    Vashisth and Gagan Jyoti like this.




  4. dfas

    dfas New Member


    what if we want to hide it in print mode , only when a certain condition is fulfilled , like when we are giving a particular discount to our customers
     


Share This Page