Added bills upload & list
This commit is contained in:
13
util/pathGenerators.ts
Normal file
13
util/pathGenerators.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user