You are here

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

Same name and namespace in other branches
  1. 6 merci.module \merci_display_reservation_status()
  2. 7.2 merci.module \merci_display_reservation_status()

Builds the form item for the status display.

Parameters

$form_state: Current form state.

$status: Current status

Return value

The form array.

1 string reference to 'merci_display_reservation_status'
merci_view in ./merci.module
Implementation of hook_view().

File

./merci.module, line 1227
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_display_reservation_status(&$form_state, $status) {
  $form['merci_reservation_status'] = array(
    '#type' => 'item',
    '#title' => t('Status'),
    '#value' => $status,
  );
  return $form;
}