bethlakshmi / GBE

Code repository for the Great Boston Burlesque Expo
3 stars 0 forks source link

Event based inventory #128

Closed bethlakshmi closed 10 years ago

bethlakshmi commented 10 years ago

MARCUS - I assigned this to you, because IMO it's easiest to start with the data, and then design the GUI after... when you have a data layer ready, reassign it to me.

We want to have an inventory that shows the sum totals of sales for limited inventory items. For example

That doesn't translate directly to sold items, but it IS mapped to Events under the cover in the Edit Ticket Types area.

What we want is to turn the view around and show:

This may include adding some invisible event id types, like "the conference" which lasts for 3 days.

Action items:

markcockrum commented 10 years ago

API Complete. See the menu option Ticketing -> Attendance Report for an example of how it can be used. The API functionality can be found in gbe_ticketing.inc at the bottom.

Here is the header for the API function to be used.

/* function get_valid_transactions_for_event

function get_valid_transactions_for_event($EventId, &$Transactions, &$LimboTrans)

This function returns an array of Transaction objects, and an array of LimboTransaction objects, as defined in the gbe_ticketing.inc file. The last two parameters are call by reference.

The function show_transactions_by_event() just below gives an example of how to use the API function.

-Marcus

bethlakshmi commented 10 years ago

Why is it reopened? I'm thinking of doing a code port soon, should I hold off on ticketing related php? (that's OK if it's true, I still get some good stuff in with Scheduling.php and some legacy *.inc updates.

markcockrum commented 10 years ago

Let's close it. I've imported all the ticketing stuff to Live. :)

bethlakshmi commented 10 years ago

awesome!

On Wed, Jan 15, 2014 at 7:35 PM, Marcus DeBoyz notifications@github.comwrote:

Let's close it. I've imported all the ticketing stuff to Live. :)

— Reply to this email directly or view it on GitHubhttps://github.com/bethlakshmi/GBE/issues/128#issuecomment-32431426 .