tien_nemo

test load data

...@@ -20,7 +20,7 @@ class OcrController extends Controller ...@@ -20,7 +20,7 @@ class OcrController extends Controller
20 $request->validate([ 20 $request->validate([
21 'customer_name_text' => 'required|string', 21 'customer_name_text' => 'required|string',
22 'customer_name_xy' => 'required|string', 22 'customer_name_xy' => 'required|string',
23 - 'tpl_name' => 'unique:mst_template', 23 + 'template_name' => 'unique:mst_template,tpl_name',
24 ]); 24 ]);
25 25
26 // Lưu vào bảng mst_template 26 // Lưu vào bảng mst_template
...@@ -50,7 +50,7 @@ class OcrController extends Controller ...@@ -50,7 +50,7 @@ class OcrController extends Controller
50 $imgPath = ("image/data_picking_detail_1754967679.jpg"); 50 $imgPath = ("image/data_picking_detail_1754967679.jpg");
51 51
52 52
53 - $templateName = 'nemo_4'; 53 + $templateName = 'nemo';
54 /// Lấy từ request hoặc mặc định 54 /// Lấy từ request hoặc mặc định
55 55
56 56
......