diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index ce36406..4d05410 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -970,6 +970,9 @@ export const warrantyApi = { refresh(id) { return api.post(`/warranty/${id}/refresh`) }, + syncDell() { + return api.post('/warranty/sync/dell') + }, report() { return api.get('/warranty/report') } diff --git a/frontend/src/components/WarrantyPanel.vue b/frontend/src/components/WarrantyPanel.vue index be152b7..f546404 100644 --- a/frontend/src/components/WarrantyPanel.vue +++ b/frontend/src/components/WarrantyPanel.vue @@ -14,12 +14,12 @@ Tag {{ w.servicetag }} - Manage warranties + Add / manage
No warranty on record. - Add one + Add one
diff --git a/frontend/src/views/warranty/WarrantiesList.vue b/frontend/src/views/warranty/WarrantiesList.vue index faccf36..f6d3e69 100644 --- a/frontend/src/views/warranty/WarrantiesList.vue +++ b/frontend/src/views/warranty/WarrantiesList.vue @@ -2,7 +2,12 @@
@@ -137,14 +142,17 @@