Steps to reproduce issue:
- Install Magento CE 2.0.0 with sample data.
- Ensure that developer mode is turned on.
- Go to Stores > Configuration > SALES > Tax > Shopping Cart Display Settings and change the "Include Tax In Order Total" value to "Yes".
- Go to Sales > Orders > Create New Order
- You will see this error:
Notice: Undefined index: tax in vendor/magento/module-sales/Block/Adminhtml/Order/Create/Totals/Grandtotal.php on line 77 Full backtrace available here
This problem occurs because the \Magento\Tax\Model\Sales\Total\Quote\Tax::collect collector only returns a value if there are items in a quote. And since the quote won't contain any items, the "tax" collector isn't present in the totals array. I'll be submitting a PR to fix this shortly.