Add cash date for cash on delivery payment method. Add date-time field on checkout page only when cash on delivery payment method selected.
cash_date
information will be saved in quote_payment and sales_order_payment tables in additional_information
column.
1. order cash date with Date picker in checkout page Magento2 when cash on delivery payment method is selected.
2. Admin system configuration to display cash date date picker or not.
3. Display order cash date on sales order view page at admin and also at frontend.
4. Display order cash date in sales order email template.
5. Display order cash date in order PDF (For all PDFs).