middleware/recordOverview.js
function (cb) {

                    let footerActions = req.linz.model.linz.formtools.overview.footerActions;

                    if (!footerActions.length) {
                        return cb();
                    }

                    parseDisabledProperties(req.linz.record, footerActions)
                        .then((parsedActions) => {

                            footerActions = parsedActions;

                            return cb();

                        })
                        .catch(cb);

                }
function (cb) {

                    let footerActions = req.linz.model.linz.formtools.overview.footerActions;

                    if (!footerActions.length) {
                        return cb();
                    }

                    parseDisabledProperties(req.linz.record, footerActions)
                        .then((parsedActions) => {

                            footerActions = parsedActions;

                            return cb();

                        })
                        .catch(cb);

                }
function ( cb ) { let footerActions = req . linz . model . linz . formtools . overview . footerActions ; if ( ! footerActions . length ) { return cb ( ) ; } parseDisabledProperties ( req . linz . record , footerActions ) . then ( ( parsedActions ) => { footerActions = parsedActions ; return cb ( ) ; } ) . catch ( cb ) ; }
Check if we need to process custom footer actions.
Check if we need to process custom footer actions .