software:eventsmanager
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:eventsmanager [2013/06/16 18:42] – created superwizard | software:eventsmanager [2013/06/16 18:52] (current) – superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Export Transactions ====== | ||
- | + | From: http:// | |
- | From: | + | |
$results = $wpdb-> | $results = $wpdb-> | ||
Line 7: | Line 7: | ||
echo $results[' | echo $results[' | ||
} | } | ||
+ | | ||
+ | | ||
+ | From: http:// | ||
+ | |||
+ | total transaction amount by adding a new exportable column. | ||
+ | |||
+ | /** | ||
+ | * Adds columns in the bookings tables | ||
+ | * @param array $template | ||
+ | * @param EM_Bookings_Table $EM_Bookings_Table | ||
+ | * @return string | ||
+ | */ | ||
+ | function my_em_bookings_table_cols_template($template, | ||
+ | $template[' | ||
+ | return $template; | ||
+ | } | ||
+ | add_action(' | ||
+ | |||
+ | /** | ||
+ | * @param string $val | ||
+ | * @param string $col | ||
+ | * @param EM_Booking $EM_Booking | ||
+ | */ | ||
+ | function my_em_custom_booking_form_cols_txn_price($val, | ||
+ | global $wpdb; | ||
+ | $var = $wpdb-> | ||
+ | return em_get_currency_formatted($var); | ||
+ | } | ||
+ | add_filter(' |
software/eventsmanager.1371408154.txt.gz · Last modified: 2013/06/16 18:42 by superwizard