mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
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:
@@ -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 ";
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user