EMPLOYEE PHOTO

Discussion in 'Free Source Codes' started by SANTHOSH C KURIAN, Mar 19, 2015.

    
  1. SANTHOSH C KURIAN

    SANTHOSH C KURIAN Active Member


    This code facilitates to link employee photograph to EMPLOYEE MASTER, the same can be fetched to PAY SLIP and EMPLOYEE PROFILE, both onscreen and prints. Button is created (F5) in PAY SLIP and EMPLOYEE PROFILE to display and hide photograph as per users requirements.
    Detailed screen captures are here, enjoy, thanks & regards to all - cks
     

    Attached Files:



  2. Mahesh Sethi

    Mahesh Sethi Member



  3. mpal2311

    mpal2311 Active Member


    Great.
     


  4. mahgs

    mahgs Member


    Great Work sir
     


  5. admin

    admin Administrator Staff Member


    Excellent Santosh JI :) Keep it up. :):):):) We need members like you who can help others :)
     


  6. Harry459

    Harry459 New Member


    Great Job Santosh bhai. Kudos to you! :)
     


  7. pudkedheeraj

    pudkedheeraj Member


    it is very good sir, thank you for sharing it..
     



  8. nice and it's usefull ../
     


  9. syedasirali

    syedasirali New Member


    not workiong for me
     


  10. vijendra singh

    vijendra singh New Member


    Excellent.....................
     


  11. MANU PARAKKAL

    MANU PARAKKAL New Member


    i have down loaded the text and pasted in the folder. and its added in the local tdl but an error is shown . pls help
     
    Last edited: Sep 8, 2015


  12. Rajsrisrimal

    Rajsrisrimal Member


    Sir,
    Same can we do for Sundry Debtors/Sundry Creditors ?
    If possible, Please provide code.
    Thanks in Advance
     


  13. Ranjani

    Ranjani New Member


    Hi Mr. Santhosh C Kurian,
    I want to attache image in Sales order voucher and also it's printout. I was Add a new field for image path in inventory level of the sales order voucher I can't get the image in print out please help me
     


  14. nasir

    nasir Member


    HI SIR
    I HAVE PROBLEM WITH THIS TDL
    I AM USING TALLY ERP 9.1.1

    ERROR. ATRIBUTE PeRIBUistent IS NOT VALID FOR VARIABLE

    KINDLY HELP ME
    MAKE CORRECTION PLZ
    THANKS
     


  15. NMS

    NMS Member


    Hi Nasir,
    It will not work in Tally Erp 9.1.1 Use Latest Version..
     


  16. taresh suda

    taresh suda New Member


    where is source file
     


  17. tulip

    tulip New Member


    Hi sir,
    where is the code?
     


  18. grn

    grn New Member


    Hi sir,
    where is the code?
     


  19. tulip

    tulip New Member


    Dear Santosh Bhai,
    Please give code sir.
     


  20. ErSunny

    ErSunny New Member



  21. BALU

    BALU New Member


    SUPER SIR, CODE NOT THERE PL.UPDATE SIR
     


  22. ankur daga

    ankur daga Member


    can u update the source code please.
     


  23. ankur daga

    ankur daga Member


    can u update the source code please.
     


  24. ankur daga

    ankur daga Member


    can u update the source code please. Source code is missing
     


  25. kishoreji

    kishoreji New Member


    [*Part: Employee ParentInfo]
    Delete:Lines
    Left Part:InfoPart
    Right Part:StfImgPart

    [Part:InfoPart]
    Lines : Employee DisplayName, Employee Parent, Employee GrandParent, Employee ForPayroll, +
    Employee IsEmployeeGroup, Employee DateofJoin, PhotoLine
    Line : Employee Define Salary, Employee DeactivationDate, Employee ReasonsForLeaving
    Local : Field : Short Prompt : Width : @@NameWidth + 2
    SpaceRight : 0.5

    [Line:photoLine]
    Field:Short Prompt, StaffPhoto
    Local: Field: Short Prompt: Info:$$LocaleString:"Link Photograph:"
    Space Bottom: 0.25

    [Field:StaffPhoto]
    Use:Name Field
    Storage:StaffPhoto

    [System:UDF]
    StaffPhoto:String:1020

    [Part:StfImgPart]
    Line:StfImgLine
    Image:Staff
    Width: 20% Screen
    Height: 20% Screen
    Horizontal Alignment : Top
    Vertical:No

    [Resource: Staff]
    Source: $StaffPhoto
    Resource Type: Jpeg

    [Line:StfImgLine]
    Field:StfImgFld

    [Field:StfImgFld]

    Set as:""

    ;;========================================================================================;;
    ;;Following Code is to add a button to show and hide photograph (variable definitions) - Krishna Kishore

    [#Form: Payslip]
    Add:Button:photoButton

    [Key:photoButton]
    Key:F5
    Action:Set:Show Photo:If ##ShowPhoto = "Display Photo" Then "Hide Photo" Else "Display Photo"
    Title:If ##ShowPhoto = "Display Photo" Then "Hide Photo" Else "Display Photo"

    [Variable:Show Photo]
    Type:String
    Persistent:Yes

    [System:Variable]
    Show Photo:Display Photo

    ;;==========================================================================================;;
    ;;Following Code is to fetch employee photograph in pay slip +
    ;; with an option to show and hide photograph both on screen and in print mode - Krishna Kishore


    [*Part: Payslip Emp Dtls]
    Option:payslip Emp Dtls With Photo:##ShowPhoto = "Display Photo"
    Option:payslip Emp Dtls Without Photo:##ShowPhoto = "Hide Photo"

    [!Part:payslip Emp Dtls With Photo]
    Parts:payslip Left Emp Dtls , Payslip Right Emp Dtls, EmpPhotoPart
    Local:part:payslip Left Emp Dtls:Width:40% Screen
    Local:part:payslip Right Emp Dtls:Width:40% Screen
    Synchronize:$$InPrintMode

    [!Part:payslip Emp Dtls Without Photo]
    Part:payslip Left Emp Dtls , Payslip Right Emp Dtls,Empty

    [Part:EmpPhotoPart]
    Line:EmpPhotoLine
    Space Left:0
    Image:EmpPhoto
    Width: 20% Screen
    Height: 10% Screen
    Horizontal Alignment : Right
    Vertical:No


    [Resource: EmpPhoto]
    Source: $StaffPhoto:CostCentre:##CostCentreName
    Resource Type: Jpeg

    [Line:EmpPhotoLine]
    Field:EmpPhotoFld

    [Field:EmpPhotoFld]
    Type:String
    Set as:""

    ;;======================================================================================;;
    ;;Following Code is to add hide/show button to Single Employee Profile +
    ;; along with to fetch photograph of the employee - Krishna Kishore

    [#Form: Single Employee Details]
    Add:Button:photoButton
    Add:part:After:DSP AccTitles:prfPhtPart

    [Part:prfPhtPart]
    Part:Empty, EmpPhotoPart, Empty
    Local:part:Empty:Width:40% Screen
    Invisible:##ShowPhoto = "Hide Photo"

    ;;=========================================================================================;;

    ;;End of File
     


Share This Page