feat(nofitication): bow2 henkel orders

this is a special requet for inhouse when a new incoming goods it grabbed
This commit is contained in:
2025-06-10 16:23:25 -05:00
parent e1332e754a
commit ab23dcdfb8
4 changed files with 155 additions and 0 deletions

View File

@@ -107,6 +107,16 @@ export const note: any = [
releases: [1, 2, 3],
},
},
{
name: "bow2henkelincoming",
description:
"Checks for new incoming goods orders to be completed and sends an email for what truck and carrier it was",
checkInterval: 15,
timeType: "min",
emails: "blake.matthes@alpla.com",
active: false,
notifiySettings: { processTime: 15 },
},
];
export const notificationCreate = async () => {

View File

@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{!-- <link rel="stylesheet" href="styles/styles.css" /> --}}
{{> styles}}
</head>
<body>
<p>All,</p>
<p>New incomings goods have been received in the last {{time}}min.</p>
<table >
<thead>
<tr>
<th>Truck Number</th>
<th>Carrier</th>
<th>Add Date</th>
</tr>
</thead>
<tbody>
{{#each items}}
<tr>
<td>{{truckNumber}}</td>
<td>{{carrier}}</td>
<td>{{Add_Date}}</td>
</tr>
{{/each}}
</tbody>
</table>
<div>
<p>Thank you,</p>
<p>LST Team</p>
</div>
</body>
</html>