You are here

function merci_bucket_node_settings in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Same name and namespace in other branches
  1. 6.2 includes/database.inc \merci_bucket_node_settings()
  2. 7.2 includes/database.inc \merci_bucket_node_settings()
1 call to merci_bucket_node_settings()
merci_load_item_settings in merci_migrate/merci_items.inc

File

merci_migrate/merci_items.inc, line 172

Code

function merci_bucket_node_settings($vid) {
  if (!$vid) {
    return;
  }
  return db_query("SELECT merci_late_fee_per_hour, merci_rate_per_hour, merci_fee_free_hours FROM {merci_bucket_node} WHERE vid = :vid", array(
    ':vid' => $vid,
  ))
    ->fetch(PDO::FETCH_ASSOC);
}