How to display sales difference between today and yesterday?

Here’s something that might help, it’s a bit complex.

Some useful links:

My code in the video for this section:

{{#gte totalYesterday totalToday}}
    <span class="lower">🔻 ${{totalYesterday}} Yesterday</span>
{{else}}
     <span class="higher">🔼 ${{totalYesterday}} Yesterday</span>
{{/gte}}