You are here

function merci_reservation_item_node_settings in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same name and namespace in other branches
  1. 7.3 merci_migrate/merci_items.inc \merci_reservation_item_node_settings()
  2. 7.2 includes/database.inc \merci_reservation_item_node_settings()

@file MERCI - Managed Equipment Reservation Checkout and Inventory

1 call to merci_reservation_item_node_settings()
merci_load_item_settings in includes/api.inc

File

includes/database.inc, line 8
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_reservation_item_node_settings($vid) {
  if (!$vid) {
    return;
  }
  return db_fetch_array(db_query("SELECT merci_default_availability, merci_sub_type, merci_item_status FROM {merci_reservation_item_node} WHERE vid = %d", $vid));
}