I am working with https://github.com/mateuszmarkowski/jQuery-Seat-Charts in my Symofny project.. I defined my seat numbers..
$(document).ready(function() {
var firstSeatLabel = 1;
var rowRange = 'abcdefghijklmnopqrstuvwxyz'.split('');
var sc = $('#seat-map').seatCharts({
map: [
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
'eeeee_eeeee',
],
naming : {
top : false,
getLabel : function (character, row, column) {
return rowRange[row - 1].toUpperCase() + column;
},
}
});
});
It looks like this
Now I need to add to my database row each field individually. I worked with my Symfony logic but it's JavaScript that I can not handle. Any suggestions?