# Order Status

[loop search=" fi=transactions.raw sf=username se=[data session username] ml=1000 "] [calc] $out = <<'EOF'; | [loop-data transactions nitems] | [loop-data transactions subtotal] | [loop-data transactions payment_tax] | [loop-data transactions shipping] | EOF $out .= "$status
"; $tmp = q![loop-data transactions order_number]!; if(! $testit{$tmp}++) { $status = q{[loop-data transactions status]}; $previous_summary = $summary; $summary = < |  |  |  | Payment/Tax | Shipping |  | Summary $out EOF return ''; } if ($testit{$tmp} == 2) { $status = ''; my $return = $previous_summary || ''; $return .= '
' if $previous_summary; $return .= < | Order number | Quantity | Price | Item Description | Item Code | Order Status |  | $tmp $out EOF return $return; } return " $out"; [/calc] [/loop] [calc]$summary[/calc]