bookingCopy function
dynamic
bookingCopy()
Implementation
bookingCopy(){
var text = "";
for (var item in ordersDataCache){
var statusName = "";
for (var status in appSettings.statuses)
if (item.status == status.id)
statusName = getTextByLocale(status.name, locale);
text = "$text${item.id}\t${item.customerName}\t$statusName\t${getTextByLocale(item.providerName, locale)}"
"\t${item.countProducts}\t${getPriceString(item.total)}\t${appSettings.getDateTimeString(item.time)}\n";
}
Clipboard.setData(ClipboardData(text: text));
}