|
@@ -711,7 +711,31 @@ public class SaleInvoiceController {
|
|
|
saleInvoice.setProductionClass(classEnt.getName());
|
|
|
}
|
|
|
}
|
|
|
- saleInvoice.setContacts(saleOrder.getLiaisonInfo());
|
|
|
+
|
|
|
+ if(saleOrder != null){
|
|
|
+ saleInvoice.setContacts(saleOrder.getSalesmanName());
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
String customerId = saleInvoice.getCustomer();
|
|
|
if (StringUtils.isNotBlank(customerId)) {
|