|
@@ -82,7 +82,7 @@ discard block |
|
|
block discarded – undo |
|
82
|
82
|
date($L->{$time - $transaction['created'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['created']) |
|
83
|
83
|
) |
|
84
|
84
|
: '-'; |
|
85
|
|
- $paid = $transaction['paid'] |
|
|
85
|
+ $paid = $transaction['paid'] |
|
86
|
86
|
? $L->to_locale( |
|
87
|
87
|
date($L->{$time - $transaction['paid'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['paid']) |
|
88
|
88
|
) |
|
@@ -94,8 +94,7 @@ discard block |
|
|
block discarded – undo |
|
94
|
94
|
: '-'; |
|
95
|
95
|
$username = User::instance()->username($transaction['user']); |
|
96
|
96
|
$class = |
|
97
|
|
- $transaction['confirmed'] ? 'cs-block-success.cs-text-success' : |
|
98
|
|
- ($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error'); |
|
|
97
|
+ $transaction['confirmed'] ? 'cs-block-success.cs-text-success' : ($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error'); |
|
99
|
98
|
$tag = "td.$class"; |
|
100
|
99
|
return [ |
|
101
|
100
|
[ |
Please login to merge, or discard this patch.