Loads of changes

This commit is contained in:
2014-02-24 23:53:12 +11:00
parent 66d4c89679
commit b710954bdd
10 changed files with 357 additions and 251 deletions

View File

@@ -247,9 +247,9 @@ function booking_menu() {
'type' => MENU_NORMAL_ITEM,
);
$items['admin/booking/paypal'] = array(
'title' => 'Booking Paypal Summary',
'description' => 'List paypal payments',
$items['admin/booking/payments'] = array(
'title' => 'Booking Payment Summary',
'description' => 'List all payments',
'page callback' => 'booking_report_paypal_payments',
'access arguments' => array('access reports'),
'type' => MENU_NORMAL_ITEM,
@@ -528,15 +528,6 @@ function booking_node_access($node, $op, $account) {
array('!account' => $account->uid, '!op' => $op, '!type' => $type, '@info' => var_export($account, TRUE)));
}
*/
/*
if ($op == 'view')
return user_access('view all bookings', $account);
if ($op == 'create')
return user_access('create bookings', $account);
if ($op == 'update' || $op == 'delete')
return user_access('edit bookings', $account);
*/
}