function merci_resource_node_settings in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2
Same name and namespace in other branches
- 7.3 merci_migrate/merci_items.inc \merci_resource_node_settings()
- 7.2 includes/database.inc \merci_resource_node_settings()
1 call to merci_resource_node_settings()
- merci_load_item_settings in includes/
api.inc
File
- includes/
database.inc, line 22 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_resource_node_settings($vid) {
if (!$vid) {
return;
}
return db_fetch_array(db_query("SELECT merci_late_fee_per_hour, merci_rate_per_hour, merci_fee_free_hours, merci_min_cancel_hours, merci_autocheckout, merci_autocheckin, merci_selfcheckout FROM {merci_resource_node} WHERE vid = %d", $vid));
}