Hi,
I'm trying to create a shortcode to return the available credit for the current user/group. How can I pull the data that is displayed in the 'Company Credit' tab on the user account?
On a slightly related note, is there a way to for a subaccount to have their own credit? I want both the approval function and company credit, but the subaccounts uses the same pool of credits as the main.
If that's not possible, can the transaction history table be modified to show the user orders' name in the notes.