Set the Assest Rental Status

Parameters

id

ID of the Asset Rental.

val

Status to be set for the Asset Rental (0 - Rented, 1 - Returned).

asset

The ID of the asset rented for that record.

Example

FM_api('AssetRental_setStatus', ['id' => '6', 'val' => '1', 'asset' => '13'])

On Success

"{"ok":1}"