In find customer dialog, add a column for "Shipping Contact" parameter

This commit is contained in:
TianXing-Yi 2021-07-10 20:02:32 +08:00
parent 0061e21c4f
commit 002b391836

View File

@ -930,6 +930,8 @@ gnc_customer_search (GtkWindow *parent, GncCustomer *start, QofBook *book)
/* Build the column list in reverse order */ /* Build the column list in reverse order */
if (columns == NULL) if (columns == NULL)
{ {
columns = gnc_search_param_prepend (columns, _("Shipping Contact"), NULL, type,
CUSTOMER_SHIPADDR, ADDRESS_NAME, NULL);
columns = gnc_search_param_prepend (columns, _("Contact"), NULL, type, columns = gnc_search_param_prepend (columns, _("Contact"), NULL, type,
CUSTOMER_ADDR, ADDRESS_NAME, NULL); CUSTOMER_ADDR, ADDRESS_NAME, NULL);
columns = gnc_search_param_prepend (columns, _("Company"), NULL, type, columns = gnc_search_param_prepend (columns, _("Company"), NULL, type,