Jump to content

Photo

restrict by date a button in invoice details


  • Please log in to reply
No replies to this topic

#1 juanholgado

juanholgado

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts

Posted 13 June 2019 - 17:56

I want to make a conditional so that the button to see the order can only be seen when we are in the current quarter,
 
I tried, for example for the third quarter
 
if Year (Order.OrderDate) = Year (Now) and Month (Order.OrderDate) <10 and Month (Order.OrderDate)> 6
 
but I get an error,
 
How could I do it?
 
Thank you