Plugin Directory

Changeset 3017880


Ignore:
Timestamp:
01/05/2024 04:13:19 PM (2 years ago)
Author:
aldeng
Message:

4.4.4

Location:
event-agent/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • event-agent/trunk/README.txt

    r3017151 r3017880  
    88Requires PHP:      7.0
    99Requires at least: 4.6
    10 Tested up to:      6.3
    11 Stable tag:        4.4.3
    12 Version:           4.4.3
     10Tested up to:      6.4
     11Stable tag:        4.4.4
     12Version:           4.4.4
    1313License:           GPLv2 or later
    1414License URI:       http://www.gnu.org/licenses/gpl-2.0.html
  • event-agent/trunk/admin/js/events-vue.js

    r2962240 r3017880  
    796796            },
    797797
    798             getTierCapacity: function (venueId) {
    799                 if (this.event && this.venues) {
    800                     for (var venue of this.venues) {
    801                         if (venue.id === venueId) {
    802                             return venue.capacity;
    803                         }
    804                     }
     798            getTierCapacity: function (venueId, hybridVenueId) {
     799                if (this.event && this.venues.length !== 0) {
     800                    let venue = this.venues.find(({ id }) => id === venueId);
     801                    let hybridVenue = this.venues.find(({ id }) => id === hybridVenueId);
     802                    return venue.capacity + (typeof hybridVenue !== 'undefined' ? hybridVenue.capacity : 0);
    805803                }
    806804                return this.event.capacity;
  • event-agent/trunk/admin/partials/events.php

    r2962240 r3017880  
    430430                                        </template>
    431431                                        <template slot-scope="scope">
    432                                             <el-input-number size="small" v-model="scope.row.numLeft" :step="1" :min="0" :max="getTierCapacity(event.venueId)"></el-input-number>
     432                                            <el-input-number size="small" v-model="scope.row.numLeft" :step="1" :min="0" :max="getTierCapacity(event.venueId, event.hybridVenueId)"></el-input-number>
    433433                                        </template>
    434434                                    </el-table-column>
  • event-agent/trunk/event-agent.php

    r3017151 r3017880  
    1111 * Plugin URI:        https://www.eventagent.ai/
    1212 * Description:       EventAgent.ai combines a next generation event management system with AI-powered marketing to maximize your sales.  AI makes all the difference.
    13  * Version:           4.4.3
     13 * Version:           4.4.4
    1414 * Requires at least: 5.0
    1515 * Requires PHP:      7.0
     
    2525}
    2626
    27 define( 'EVENT_AGENT_VERSION', '4.4.3' );
     27define( 'EVENT_AGENT_VERSION', '4.4.4' );
    2828
    2929require_once dirname(__FILE__).'/includes/activate.php';
Note: See TracChangeset for help on using the changeset viewer.