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