Hide prices until admin sends the invoice, enforce status transitions, add customer/admin SMS+in-app notifications, schedule cash invoice reminders, and ship updated dist/prisma-client/deploy-bundle for git-pull deploys. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
504 B
JavaScript
13 lines
504 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.FALLBACK_MAX_METERAGE = void 0;
|
|
exports.resolveMaxMeterage = resolveMaxMeterage;
|
|
exports.FALLBACK_MAX_METERAGE = 5000;
|
|
function resolveMaxMeterage(companyValue, settingsValue) {
|
|
if (companyValue != null && companyValue > 0)
|
|
return companyValue;
|
|
if (settingsValue != null && settingsValue > 0)
|
|
return settingsValue;
|
|
return exports.FALLBACK_MAX_METERAGE;
|
|
}
|
|
//# sourceMappingURL=meterage.js.map
|