|
|
@@ -16,7 +16,7 @@
|
|
16
|
16
|
</div>
|
|
17
|
17
|
<div class="flex items-center gap-2 mb-4">
|
|
18
|
18
|
<label for="lot-number" class="text-gray-700 font-medium">Lot No. :</label>
|
|
19
|
|
- <input id="lot-number" type="text" class="border border-gray-300 rounded px-4 py-2 focus:outline-blue-500" placeholder="Enter Lot No." name='lot_no'>
|
|
|
19
|
+ <input id="lot-number" type="text" class="border border-gray-300 rounded px-4 py-2 focus:outline-blue-500" placeholder="Enter Lot No." name='lot_no' required>
|
|
20
|
20
|
<button class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600" type="submit" name="search_lot">
|
|
21
|
21
|
🔍
|
|
22
|
22
|
</button>
|
|
|
@@ -64,5 +64,69 @@
|
|
64
|
64
|
</button>
|
|
65
|
65
|
</div>
|
|
66
|
66
|
</form>
|
|
|
67
|
+ {{ result }}
|
|
|
68
|
+
|
|
|
69
|
+ <div class="bg-white shadow-md rounded-md p-4">
|
|
|
70
|
+
|
|
|
71
|
+ <table class="w-full text-left border-collapse border border-gray-300">
|
|
|
72
|
+ <tbody>
|
|
|
73
|
+ <tr class="bg-blue-100">
|
|
|
74
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Product Code :</td>
|
|
|
75
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ result.PRO1 }}</td>
|
|
|
76
|
+ </tr>
|
|
|
77
|
+ <tr>
|
|
|
78
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Lot No. :</td>
|
|
|
79
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ result.PRO2 }}</td>
|
|
|
80
|
+ </tr>
|
|
|
81
|
+ <tr class="bg-blue-100">
|
|
|
82
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Customer :</td>
|
|
|
83
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ result.PRO1C }}</td>
|
|
|
84
|
+ </tr>
|
|
|
85
|
+ <tr>
|
|
|
86
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Pcs. :</td>
|
|
|
87
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ pcs }}</td>
|
|
|
88
|
+ </tr>
|
|
|
89
|
+ <tr class="bg-blue-100">
|
|
|
90
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Shape | Size :</td>
|
|
|
91
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ size_str }}</td>
|
|
|
92
|
+ </tr>
|
|
|
93
|
+ <tr>
|
|
|
94
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Specification :</td>
|
|
|
95
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">{{ spec }}</td>
|
|
|
96
|
+ </tr>
|
|
|
97
|
+ <tr class="bg-blue-100">
|
|
|
98
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Inspection Date :</td>
|
|
|
99
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700">22/06/2024</td>
|
|
|
100
|
+ </tr>
|
|
|
101
|
+ <tr>
|
|
|
102
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Inspection Indicate1 :</td>
|
|
|
103
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700"></td>
|
|
|
104
|
+ </tr>
|
|
|
105
|
+ <tr class="bg-blue-100">
|
|
|
106
|
+ <td class="border border-gray-300 px-4 py-2 font-medium text-gray-700">Inspection Indicate2 :</td>
|
|
|
107
|
+ <td class="border border-gray-300 px-4 py-2 text-gray-700"></td>
|
|
|
108
|
+ </tr>
|
|
|
109
|
+ </tbody>
|
|
|
110
|
+ </table>
|
|
|
111
|
+ </div>
|
|
67
|
112
|
</div>
|
|
|
113
|
+{% include "report/_hardnessout.html" %}
|
|
|
114
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
115
|
+{% include "report/_hardness_outin.html" %}
|
|
|
116
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
117
|
+{% include "report/_hardnessboth.html" %}
|
|
|
118
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
119
|
+{% include "report/_dimen.html" %}
|
|
|
120
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
121
|
+{% include "report/_dimen_app.html" %}
|
|
|
122
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
123
|
+{% include "report/_dimen_bal.html" %}
|
|
|
124
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
125
|
+{% include "report/_dim_bl_app_hard.html" %}
|
|
|
126
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
127
|
+{% include "report/_dim_bal_app_rot_hard.html" %}
|
|
|
128
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
129
|
+{% include "report/_t8p.html" %}
|
|
|
130
|
+<div class="border-t border-gray-300 my-4"></div>
|
|
|
131
|
+{% include "report/_cen.html" %}
|
|
68
|
132
|
{% endblock %}
|