Cleaned code
This commit is contained in:
@@ -104,11 +104,7 @@ export class PurchaseOrderTable implements OnInit {
|
|||||||
try {
|
try {
|
||||||
const deliverer = delivererForm.choiceDelivererForm.getRawValue();
|
const deliverer = delivererForm.choiceDelivererForm.getRawValue();
|
||||||
|
|
||||||
const today = new Date();
|
const date = new Date().toISOString().split('T')[0]; // yyyy-mm-dd
|
||||||
const date = today.toISOString().split('T')[0]; // yyyy-mm-dd
|
|
||||||
|
|
||||||
const futureDate = new Date(today);
|
|
||||||
futureDate.setMonth(today.getMonth() + 2);
|
|
||||||
|
|
||||||
let trackingValue = 'TRK-';
|
let trackingValue = 'TRK-';
|
||||||
const idStr = purchaseOrder.id?.toString() ?? '';
|
const idStr = purchaseOrder.id?.toString() ?? '';
|
||||||
|
|||||||
Reference in New Issue
Block a user