@welldot/utils

getActivePermit

The permit production compliance is judged by: among the active / activependingrenewal permits on today, the one with the latest start.

getActivePermit(well, today?): Permit | undefined

The permit production compliance is judged by: among the active / active_pending_renewal permits on today, the one with the latest start.

Parameters

well

Well

today?

string = ...

Returns

Permit | undefined