Merge pull request #17590 from deepeshgarg007/inactive_items_row_develop

fix: Do not append row if item is sold within days since last ordered