Automatic retrieval of the Novinca mark on the product
We need to remove the Novinka mark if, from the moment the product is added to the base.
date() Less than 30 days have passed, for example, and if more. I mean, compare the current date with the date of addition to the base.
Just like one of the options. ♪ ♪
You complete the current date and date of the product (from the OBD) and find the difference between them (e.g. in the days). If this difference is less than a certain amount (e.g. product added not earlier than a week ago), you'll take the Novinka mark.
Something like that. ♪ ♪