+ if (!get_post('group_no'))
+ {
+ $input_error = 1;
+ if (get_post('debtor_no'))
+ display_error(_("This customer has no branches. Please define at least one branch for this customer first."));
+ else
+ display_error(_("There are no tax groups defined in the system. At least one tax group is required before proceeding."));
+ set_focus('debtor_no');
+ }