2019-04-24 Fred Gleason <fredg@paravelsystems.com>

* Modified the 'Rot' column in the 'Cart Report' in rdlibrary(1)
	to display to show 'WTD' for 'By Weight' and 'ORD' for
	'By Specified Order'.
This commit is contained in:
Fred Gleason
2019-04-24 13:05:25 -04:00
parent b807ab0598
commit 9775e7ad32
2 changed files with 10 additions and 13 deletions

View File

@@ -208,7 +208,7 @@ void ListReports::GenerateCartReport(QString *report)
"CART.TITLE,"+ // 04
"CART.ARTIST,"+ // 05
"CART.CUT_QUANTITY,"+ // 06
"CART.PLAY_ORDER,"+ // 07
"CART.USE_WEIGHTING,"+ // 07
"CART.ENFORCE_LENGTH,"+ // 08
"CART.LENGTH_DEVIATION,"+ // 09
"CART.OWNER "+ // 10
@@ -278,18 +278,11 @@ void ListReports::GenerateCartReport(QString *report)
//
// Play Order
//
switch((RDCart::PlayOrder)q->value(7).toInt()) {
case RDCart::Sequence:
*report+="SEQ ";
break;
case RDCart::Random:
*report+="RND ";
break;
default:
*report+="??? ";
break;
if(q->value(7).toString()=="Y") {
*report+="WTD ";
}
else {
*report+="ORD ";
}
//