DEV Community

thienkrik - small shop
thienkrik - small shop

Posted on

Split in-store and online sales so the overview shows each share

When every sale lands in one income line, the month-end total cannot tell you which channel is carrying the shop. Splitting sales into two categories — in-store sales and online sales — makes the overview answer that question at a glance.

The setup is small: each sale row picks one of the two categories when it is recorded. The overview then adds each category separately and shows its share of total income, so no filtering through individual rows is needed at month-end.

In my November 2026 sample: total income 40,640,000 VND, with in-store sales at 26,800,000 VND (65.9%) and online sales at 12,940,000 VND (31.8%). Seeing both shares side by side makes it clear where most of the month's income came from.

Do you record in-store and online sales separately, or in one combined line?

Disclosure: this post was drafted with AI assistance and reviewed by the author.

Top comments (0)