Create function sendDeviceInfor to mail
This commit is contained in:
		
							parent
							
								
									869008a066
								
							
						
					
					
						commit
						e7ede1a3b9
					
				| 
						 | 
					@ -53,6 +53,7 @@ export const sendDeviceInfora = async () => {
 | 
				
			||||||
              linesInventory[index],
 | 
					              linesInventory[index],
 | 
				
			||||||
              linesInventory[index + 1]
 | 
					              linesInventory[index + 1]
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
 | 
					            let backgroundColor = index%2===0?"rgb(200 200 200 / 39%)":"white"
 | 
				
			||||||
            const showInventory = [];
 | 
					            const showInventory = [];
 | 
				
			||||||
            let check = true;
 | 
					            let check = true;
 | 
				
			||||||
            let begin = 0;
 | 
					            let begin = 0;
 | 
				
			||||||
| 
						 | 
					@ -154,7 +155,7 @@ export const sendDeviceInfora = async () => {
 | 
				
			||||||
                      extraItem: "yes",
 | 
					                      extraItem: "yes",
 | 
				
			||||||
                    });
 | 
					                    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    html += `<tr><td>${PID}</td>
 | 
					                    html += `<tr style='background-color:${backgroundColor}'><td>${PID}</td>
 | 
				
			||||||
                  <td>${VID}</td>
 | 
					                  <td>${VID}</td>
 | 
				
			||||||
                  <td>${SN}</td>
 | 
					                  <td>${SN}</td>
 | 
				
			||||||
                  <td></td>
 | 
					                  <td></td>
 | 
				
			||||||
| 
						 | 
					@ -203,7 +204,7 @@ export const sendDeviceInfora = async () => {
 | 
				
			||||||
                      extraItem: "no",
 | 
					                      extraItem: "no",
 | 
				
			||||||
                    });
 | 
					                    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    html += `<tr><td>${PID}</td>
 | 
					                    html += `<tr style='background-color:${backgroundColor}'><td>${PID}</td>
 | 
				
			||||||
                  <td>${VID}</td>
 | 
					                  <td>${VID}</td>
 | 
				
			||||||
                  <td>${SN}</td>
 | 
					                  <td>${SN}</td>
 | 
				
			||||||
                  <td>${RAM}</td>
 | 
					                  <td>${RAM}</td>
 | 
				
			||||||
| 
						 | 
					@ -246,7 +247,7 @@ export const sendDeviceInfora = async () => {
 | 
				
			||||||
                      extraItem: "yes",
 | 
					                      extraItem: "yes",
 | 
				
			||||||
                    });
 | 
					                    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    html += `<tr><td>${PID}</td>
 | 
					                    html += `<tr style='background-color:${backgroundColor}'><td>${PID}</td>
 | 
				
			||||||
                  <td>${VID}</td>
 | 
					                  <td>${VID}</td>
 | 
				
			||||||
                  <td>${SN}</td>
 | 
					                  <td>${SN}</td>
 | 
				
			||||||
                  <td></td>
 | 
					                  <td></td>
 | 
				
			||||||
| 
						 | 
					@ -264,7 +265,7 @@ export const sendDeviceInfora = async () => {
 | 
				
			||||||
                      extraItem: "no",
 | 
					                      extraItem: "no",
 | 
				
			||||||
                    });
 | 
					                    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    html += `<tr><td>${PID}</td>
 | 
					                    html += `<tr style='background-color:${backgroundColor}'><td>${PID}</td>
 | 
				
			||||||
                  <td>${VID}</td>
 | 
					                  <td>${VID}</td>
 | 
				
			||||||
                  <td>${SN}</td>
 | 
					                  <td>${SN}</td>
 | 
				
			||||||
                  <td></td>
 | 
					                  <td></td>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue