merge of commerce labeling

This commit is contained in:
Colin Kuskie 2006-02-08 18:13:39 +00:00
parent 8950b951bc
commit 6595290272
3 changed files with 19 additions and 5 deletions

View file

@ -111,10 +111,6 @@ sub delete {
undef $self;
}
sub deleteItem {
}
#-------------------------------------------------------------------
=head2 deleteItem ( itemId, itemType )

View file

@ -645,7 +645,13 @@ sub www_listTransactions {
@transactions = WebGUI::Commerce::Transaction->getTransactions(\%criteria);
$output .= '<table border="1">';
$output .= '<tr><th></th><th>Init Date</th><th>Completion Date</th><th>Amount</th><th>Shipping Cost</th><th>Status</th><th>Shipping Status</th></tr>';
$output .= '<tr><th></th>'.
'<th>'. $i18n->get('init date'). '</th>'.
'<th>'. $i18n->get('completion date'). '</th>'.
'<th>'. $i18n->get('amount'). '</th>'.
'<th>'. $i18n->get('shipping cost'). '</th>'.
'<th>'. $i18n->get('status'). '</th>'.
'<th>'. $i18n->get('shipping status'). '</th></tr>';
foreach $transaction (@transactions) {
$output .= '<tr bgcolor="#ddd">';
$output .= '<td>'.$session->icon->delete('op=deleteTransaction;tid='.$transaction->get('transactionId')).'</td>';

View file

@ -156,6 +156,18 @@ A loop containing the transactions in the transaction history. Within this loop
message => q|Delivered|,
lastUpdated => 1135291969,
},
'amount' => {
message => q|Amount|,
lastUpdated => 1139422433,
},
'shipping cost' => {
message => q|Shipping Cost|,
lastUpdated => 1139422453,
},
'status' => {
message => q|Status|,
lastUpdated => 1139422455,
},
};