diff --git a/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php b/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php index 103db5a..7c80dd1 100644 --- a/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php +++ b/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php @@ -183,6 +183,11 @@ class Venue extends Base $row['venue_address'] = $seatMap['venue']['address'] ?? ''; $row['venue_image'] = $seatMap['venue']['image'] ?? ''; $row['zones_json'] = json_encode($seatMap['sections'] ?? [], JSON_UNESCAPED_UNICODE); + $row['venue_json'] = json_encode([ + 'name' => $seatMap['venue']['name'] ?? '', + 'address' => $seatMap['venue']['address'] ?? '', + 'image' => $seatMap['venue']['image'] ?? '', + ], JSON_UNESCAPED_UNICODE); $row['map_json'] = json_encode($seatMap['map'] ?? [], JSON_UNESCAPED_UNICODE); $info = $row; } diff --git a/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html b/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html new file mode 100644 index 0000000..5a17594 --- /dev/null +++ b/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html @@ -0,0 +1,453 @@ + + +
+ +