Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I create an expense record, the provider field has no information in it.
Where should this be coming from? I have several organisations created and ticked as provider (and customer).
Comments
Comment #1
Mark_Watson27 CreditAttribution: Mark_Watson27 commentedLooking at the code it uses itself as a reference. So it will list any provider that has been set before on an expense.
Comment #2
Magnity CreditAttribution: Magnity commentedwe'll get this in the documentation...
Comment #3
Mark_Watson27 CreditAttribution: Mark_Watson27 commentedAs an alternative, should @Magnity wish to explore it, changing the
stormexpense_autocomplete
function instormexpense.admin.inc
to the following will list all active providers that the user has access permissions forComment #4
Magnity CreditAttribution: Magnity commentedYes - that'd be a useful change.
Comment #5
Magnity CreditAttribution: Magnity commentedCommitted.
I've also added a brief note to the Storm Expense section of the README.txt, but this needs a lot of work to expand still.