14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
import path from "path";
|
|
import { FolderPaths } from "./serverInit.js";
|
|
|
|
export function PathToRoFolder(jobid: string) {
|
|
return path.join(FolderPaths.Jobs, jobid);
|
|
}
|
|
|
|
export function PathToRoBillsFolder(jobid: string) {
|
|
return path.join(FolderPaths.Jobs, jobid, FolderPaths.BillsSubDir);
|
|
}
|
|
export function PathToVendorBillsFile(vendorid: string) {
|
|
return path.join(FolderPaths.Vendors, vendorid);
|
|
}
|