Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Xero 'ID' vars for clarity. If invoice UUID is passed in add it to the invoice #167

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

mattwire
Copy link
Contributor

Clarify some variables. I was looking into #165 and getting confused.

@civibot civibot bot added the master label Oct 31, 2024
Comment on lines +292 to +296
if (!empty($xeroInvoiceUUID)) {
if (!empty($xeroContactUUID)) {
$new_invoice['InvoiceID'] = $xeroContactUUID;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only "change". The variable was being passed in but never used, now it will be if available (same as what is done on contact).

@mattwire mattwire mentioned this pull request Oct 31, 2024
@eileenmcnaughton eileenmcnaughton merged commit 3d92acb into eileenmcnaughton:master Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants