Re:cash register till sheet...
Most registers can be programmed for different departments (at least I think that's what you call them). You can program each department for different items such as appetizers, entrees, drinks, alcohol/wine, desserts, take-out, or anything else you want to calculate separately. Your X and Z will give you this information at the end of the shift/day.
I did not do that in my business, but I did do a very simple Excel spreadsheet that totaled my daily lunch, dinner, credit cards, cash & checks, and take out. All I did was input the sales figures and my daily totals and monthly total was automatically updated in the spreadsheet.
I've never gotten into the daily "profit" reports as food costs are continually changing. Unless you're willing to update your entire food cost list once or twice a week you aren't going to get a true profit report. I believe food cost/profit reports are more accurately looked at on a monthly basis. But that's only my opinion. Do what works best for your business.