Okay
  Public Ticket #2681623
Hide Employee column
Closed

Comments

  •  11
    Christian started the conversation

    Dear TMS Plugins Support,

    As I am (for now) a one-man-show, having an employee column in the customer's panel is quite bad...also considering I am not an employee :)

    I know I can change the name per se using poedit, but I was wondering if there is some code that can completely hide that column from the customer's panel.

    Thank you kindly!


    best,

    Christian

  • [deleted] replied

    Hi, Christian!

    Thank you for choosing Amelia.

    In order to change the label "Employee", please go to Amelia -> Settings -> Labels, and replace Employee/Employees with a more suitable word.

    If you want to hide the Employee from the Customer Panel on the front-end, you'll have to use a custom CSS. Please provide us with log-in credentials to the Panel and we'll find the CSS selectors you need to use.

    Looking forward to hearing from you.

  •   Christian replied privately
  •   Christian replied privately
  • [deleted] replied

    Hi, Christian!

    Sorry for the delayed response, we don't work on weekends.

    I've forwarded your inquiry to our developers. Once they reply, I'll get back to you with their solution.

    Best Regards.

  • [deleted] replied

    Hi, Christian!

    It's me againsmile.png

    So, our developers sent this code:

    <style>
    .am-assigned {display: none !important;}
    .am-cabinet-list-head {display: none !important;}
    .am-cabinet-flex-row-middle-align > .am-cabinet-limited-col:nth-child(2) {width: 75% !important;}
    .am-cabinet-flex-row-middle-align > .am-cabinet-limited-col:nth-child(3) {display: none !important;}
    .am-cabinet-row > .el-col {width: 50% !important;}
    </style>

    Please insert it into a page with the Customer Panel.

    Hope it will work.

    Best Regards.

  •  11
    Christian replied

    Dear Liza!

    Perfect! The code works brilliantly! Thank you so much!

    Best wishes,

    Christian

  • [deleted] replied

    Christian,

    Thank you for your feedback!

    I'm glad to know it worked.

    If you have any further questions or issues, please feel free to open a new ticket, we'll be happy to help.


  •  11
    Christian replied

    Dear Liza,

    I just noticed: with that code, in the events, the number of periods still appears, which is very confusing. How do you hide that column as well? I have attached a screenshot

    Thank you!

  • [deleted] replied

    Hi, Christian!

    Please replace the previous code with this one:

    <style>
    .am-cabinet-list-head {display: none !important;}
    .am-cabinet-dashboard-appointments .am-cabinet-flex-row-middle-align .am-cabinet-limited-col:nth-child(2) {width: 75% !important;}
    .am-cabinet-dashboard-appointments .am-cabinet-flex-row-middle-align .am-cabinet-limited-col:nth-child(3) {display: none !important;}
    .am-cabinet-dashboard-appointments .am-cabinet-flex-row-middle-align .am-cabinet-limited-col:nth-child(3) {display: none !important;}
    .am-cabinet-dashboard-events .am-cabinet-row > div:nth-child(2) > div > div:nth-child(1) {
      visibility: hidden !important;
    }
    .am-cabinet-dashboard-events .am-cabinet-row > div:nth-child(2) > div > div:nth-child(3) {
      right: 20px !important;
      position: absolute !important;
    }
    </style>

    Hope that will work the way you require.

    Looking forward to hearing from you.


  •  11
    Christian replied

    Dear Liza!

    Thank you, it works brilliantly! Great support!

    Best wishes,

    Christian

  • [deleted] replied

    Christian,

    You're welcome! Glad to know we could help.

    Please feel free to contact us if you have any other questions.

    Best Regards.