This commit is contained in:
2021-02-19 18:29:06 +00:00
parent 2961835fdb
commit 361dbdeed4
2 changed files with 44 additions and 14 deletions

View File

@@ -40,6 +40,30 @@ todo: WHEN HAVE WORKORDER FORM customer popup notes need to pop pop pop, forgot
However, I also find that incredibly annoying but I guess that's the point :)
## SERVER MISC ITEMS
todo: tax codes, taxable objects
Biz rules updated to prevent tax value changes to any of the following fields once it's been used on any item that has tax codes
name, taxa, taxb, taxontax
Biz rule to prevent change of active status to false if this taxcode is set as the global settings default tax code
/// <summary>
/// Returns true if passed in tax code ID
/// is used as the default anywhere in global settings
/// </summary>
/// <param name="TaxCodeID"></param>
/// <returns></returns>
public bool TaxCodeIsADefault(Guid TaxCodeID)
{
if(this.mTaxPartPurchaseID==TaxCodeID) return true;
if(this.mTaxPartSaleID==TaxCodeID) return true;
if(this.mTaxRateSaleID==TaxCodeID) return true;
return false;
}
Global settings object needs tax codes added for
private Guid mTaxPartPurchaseID;
private Guid mTaxPartSaleID;
private Guid mTaxRateSaleID;
PurchaseOrder needs to default tax codes when created from global settings
todo: GetWorkorderSerial/name from leaf nodes
traverse up the tree and fetch the serial number
@@ -123,9 +147,7 @@ todo: tax values and totals need to be calced at server and returned with record
put totals in PO header class as nonmapped fields and can calc at server
any update to items or anything really roundtrips to server and back with updated object returned which differs from other objects so need to acct for that.
todo: dynamically hide worequest columns if found to not be included
todo: maybe also insert a showwarehouses return nonmapped value with po and remove the fetch if can just hide column headers anyway
todo: change phrase "Actual cost" in translation to "Received cost"
PO UI for items:
Use ops-backup form list of backups as concept, it uses a v-data-table
It adapts to mobile view with horizontal card so perfect for that and will work for what I need.
@@ -143,6 +165,7 @@ PO todo
todo: test duplicate route
todo: test inventory affecting ops
reversals, updates, deletes etc
todo: test default tax codes are set
@@ -866,3 +889,8 @@ It's all done in Photoshop. Just take screenshots, then transform, rotate, disto
reply
MUSIC TO ADD TO COLLECTION
BOC - cities on flame
MID CENTURY MODERN TUNES - https://www.allmusic.com/album/ultra-lounge-vol-14-bossa-novaville-mw0000024024

View File

@@ -474,7 +474,7 @@ export default {
value: "displayPartNumber"
});
if (vm.showWarehouses) {
if (vm.obj.displayWarehouses) {
headers.push({
text: vm.$ay.t("PartWarehouse"),
align: "left",
@@ -521,17 +521,19 @@ export default {
value: "vendorPartNumber"
});
headers.push({
text: vm.$ay.t("PurchaseOrderItemPartRequestedByID"),
align: "left",
value: "displayRequestUser"
});
if (vm.obj.displayPartRequest) {
headers.push({
text: vm.$ay.t("PurchaseOrderItemPartRequestedByID"),
align: "left",
value: "displayRequestUser"
});
headers.push({
text: vm.$ay.t("PurchaseOrderItemWorkOrderNumber"),
align: "left",
value: "displayRequestWorkorder"
});
headers.push({
text: vm.$ay.t("PurchaseOrderItemWorkOrderNumber"),
align: "left",
value: "displayRequestWorkorder"
});
}
return headers;
},
itemList: function() {