Files
bodyshop-media-server/util/pathGenerators.ts
2022-05-03 17:30:24 -07:00

14 lines
414 B
TypeScript

import path from "path";
import { FolderPaths } from "./serverInit";
export function PathToRoFolder(ro_number: string) {
return path.join(FolderPaths.Jobs, ro_number);
}
export function PathToRoBillsFolder(ro_number: string) {
return path.join(FolderPaths.Jobs, ro_number, FolderPaths.BillsSubDir);
}
export function PathToVendorBillsFile(vendor: string) {
return path.join(FolderPaths.Vendors, vendor);
}