2:30 12 3 13 330 14 let's talk about this here a little more, okay, let's put a text here now Hello, good afternoon everyone, welcome to another class, I'm Rincão from the Rincão informatica channel, we're from this moment on, okay? doing our second class in a small series here of a practical example of a Slots team, we chose a barbershop to do this demonstration. This is the second class, in the first class we discuss the structure of the database and the pages that will make it up the barber shop in today's class we are going to build the booking page where the user logs in, the customer logs in and schedules a time for them to be seen after this class we are going to have another class which is the professional's barber page in that he checks the schedules he has per day, if he wants to cancel a schedule, he will cancel it and he will come back.
The time is available and there will only be these three classes. how does the structure of a time slot work ? clinics and that you choose a clinic and the professional you want and the specialty here we are learning as if it were just a barbershop and you go directly to the professional's page and do the structure that I created for the database allows you you create a home page with Campus with a search box configured so that you can pull up Various barbershops Various professionals and show the schedules of each one .
I've been on the channel for a year, I managed to learn how this is done last week and I want to share it with you because I spent almost a year to learn the mechanics that are done, so I want to share this with you for free so that we all have access If you are not subscribed to the channel I want to ask you to take advantage and subscribe on December 14th When I complete a year on the channel If I get 1 monetization subscribers I will be very happy if I don't get it either problem, the channel will continue, our intention is to grow, you know, I want to monetize the channel too, but our intention is to grow together and make technology and free content available to as many people as possible, this is the purpose of the channel when I created it. It activates the bell notifications so that you are notified of every new video, if you like it, give it a like, if you don't like it, you can dislike it too, okay, I want you to please interact now. Share our content, it helps to promote our content, and if in the videos you have, here all the playlists from our channel if you find any information in correct and you know the correction Please contact me on the communication channels that I have already made available here which is the email channel Rincon informatica @gmail.
com is the group on Rincão informatica's telegram on Rincão informatica's Facebook there's also the informatics profile on Instagram and you can also leave a comment directly on the video on YouTube and I'll respond as quickly as I can, okay, but I'll respond everyone who gets in touch with me and let's go there for another class because I know there are a lot of people who are anxious, just like I spent almost a year to get it and we're going to build our booking page today, okay, come on guys, so let's get started In our class we will come to our part of database tables and we will add some more Fields here to our tables and we will make an addition to our time slot in our time slot op set Ok let's start here p Our table, right in the scheduling table, we had created these fields here, we're going to add one more, it's going to be of the team type, right, the name team and it's going to be the text type , it's in our barbershop table, we had a barber, contact unavailable dates description of the barbershop specialty address is barbershop number we will add the other field here is also the team field and it will be of the team type, right, and a list, right in our team slot table, we had barbershop session Number and team, we will put one more field here, customer, it is like text contact of type text and it will add another field with the team name, okay, I'm going to put it in parentheses here, text, right, so we know because we already have a team, a team slot, right, opit set time, and it will be of type text this one is in the user table, let me check here barber shop contact photo name password gender user email user number we don't have any changes we come here in option sets it's in the option set team we are going to create an attribute here it will be called I'm going to write a name in English, ok session tro Number ok you can also put it here oh session number it's up to you ok put the name you want I'll write it here it doesn't need to have the dash either ok it's going to be like text right or better, it will be of the number type, okay, sorry, it is of the number type, so we created our attribute and we will assign the number to all our time slots here, so for example, in the first one, modify attributes, the Number session, this one will be the one we're going to do with all of them, this is two in sequence, right, I'm going to do it here and then when I finish we continue, I keep talking, ok, three, ok [Music] 4 1 2 3 4 here it is 5 at 11:5 at 11 :30 6 let's do it until the end here at 12:7 12:30 8 to 1 hour 9 1:30 10 2:11 right 230 12 3 13 3:30 14 4 15 4:30 16 5:17 5:30 18 6:19 6:30 20 7:21 7:30 22 and 8 hours 23 that we have 23 times here, right, let's go to Page Design now cool Let's put a group here, right, it's going to be the Raider group from the header, let's go, let me see, no, it's not the page, it's not just the group that I want to put the background on, it could be like this [Music] okay, let's come with text Central here, center the text in the color [Music] white, I think 18 is ok, the size centers horizontal and vertical and here it will just be for us to identify it, right bar bar arinc that's it, okay, we're going to copy this text here, this is just to make it appear, let's reduce the size of it here because I want it to be something like this, more or less organized Right, don't look ugly, here it will be the following, it will be Rio Rio de Janeiro and then we come here with the current date and time formatted in Custom Let's put your date, day, month, right, you can leave Font 14, let me see here how it is That's fine , yes, copy it with D, here it will be the logged in user, right, it will just be the one, I'll just put the current user, there's no one here, let me see, let me run it like Renato here, now it's how it's running, it's because it was without no one logged in, right current user name, okay, it's the name of the user, log in, current user, okay, we can reduce its size here, let's leave it like this, let's move it over here, right, And let's put it to the left here so it's closer there, let me see how far away it is. the other one is good, this one I can move it to the right, let me see to the left in this case, right? And we're going to put a little icon here so we can log out of the page, okay , right?
Shutdown, I think it's off, White, I already I'm going to do it here because I'm already in the habit of doing it, that's why I'm already building it, here you build it the way you want, it's just for us to see here Ok, when we click on it, right, we're going to log the user out log the result and it will go back to the navigation page V page index, right to the main page, okay, okay, we're going to come with another group here, now it's going to house our team slot times slot available, okay, it's going to be like team, right , let me put its size here 1080 Right, center it. I can put it here to 515. Let me bring it up here with control and I'm going to get the same color that I used up here, it's background flat color and I'm going to paste the color here , this on the page, I'm going to put its size from 615, right to We can bring this group down here.
Let's put a component here that is a network footer, right? socials, throw it on the page Okay, I'm going to remove this component from here, delete it, that's right, I'm going to change the color of the icons here, the text and the icons, it's just to give it a look And then, if you want to keep it here, just link the social networks of you, understand, or of the client you are working with, right? For example here, 2023 Barber Shop Rincão all right reserved means all rights reserved, okay, let's take this one out because it comes in a layout assembled, right, within a group already prepared for responsiveness As the purpose of the class is not that, I'm going to do it like this, my standards are fixed 0 60 here too, I think there is, I think that the way it is here, it will be possible to see what we want, right, let's see here's how it looks, ok, no problem at all Let's now create a repeat group of the time slots, it's coming here suddenly Let's put some more text here, right, cont control and and to centralize available times , remove formatting, center horizontally and vertically, not here in this case here horizontal and here vertical It's changing the color to White let's set it to 18 here we're going to come now with repeat group right contr control repeat group tr tr slot scheduling Okay I'm going to call him so you can put the name you want there 's no problem either, I won't remove the separator part of it put a white background rounded corners its content will be team and it will be all the teams it's all the teams Slots that we created here in our opit sets right it will demonstrate this we will put it here and it's going to remove the column feed, the height feed, let me leave it with let me see how much it is here because I already have the layout that I made, okay, I'm redoing it again so we can learn together, okay, so I'm doing it on top of the which I had already created, put it with 50 here for now and I'm going to put six columns ok And let's see here we're going to come now with the text ok let's do the configuration so it can appear here let me see how it's going, I'm liking it of the layout, let's move this up a little more, okay, let's put some text here, now we remove the formatting, leave it on the left side, even center it and round its fields, right rounded corners here, center the text, its content will be current C time display let me see here I'm going to create a group here then I'm going to group the two items I'm going to put an icon here too and I'm going to group it too let me see how if all the teams have already appeared here, all the teams are already appearing teams, see , let's give this some style here now and let's start putting together our structure of functions, you know, the mechanics of how our team works, notice that it has already appeared in the sequence of the time that we created there and the session Number that the we assigned it to each of them and it automatically appears here I think I have the color saved here, the text will be white, right, and the flat color background, let me see if the color is already saved here, paste it, let's bring it here and cont control and no esb let me see how it turned out now how high it is here let's leave it at 40 ok And let's put a padding on the left side of Let me see with 10 how much it will move down here ok I'll increase the font from it to 18 , let's paste the first conditional when this text when it says Tex isover, which is when you hover the mouse over it, we'll put a color on it, right, background color, a lighter color here, let me see how it looks like this, okay?
See, we come with an icon here now. Go paste it here, white color, no formatting, no pading, 0er. I remove the padding, its entire size 21 by 25, and it will be a circle, which is Circle in English, it's this one, let me see.
increase the PED here in the text, put 20, let me see beauty and in the icon, we're going to do the following, I'm going to group the text, right, and arrange not the component That's right, grouping this element into a group time slot schedules list or list of schedules Let's put the list of schedules here, it's in the L of this group, there's the icon what's going to happen here, wait here, let me ungroup it, let me reveal it here, wait, what I did is Corcel, let's group the two together, okay call group time slot hor list of times, right , we come to the icon, there's the first conditional on it, when this icon is hovered over it, what's going to happen, we're going to change the icon, which icon are we going to change? Circle again, right? And this one here has a little ok inside it, right ?
are we selecting beauty guys now what will happen when we click on the icon here, right we will create a scheduling pop-up here now okay And then we will start working on the mechanics Oops, new scheduling slot, I will remove the formatting you can leave the corners rounded, its content will be team, the size here, I think this one gives it, so when we first conditional, when we click on this icon here on the icon, we will show the popup, right, Element Actions popup new schedule and we will demonstrate the data there in the group but first let me configure the popup here, let's come with text copap width 372 360 okay let's leave it like this 360 40 Ctrl and center help new formatting center vertical and [Music] horizontal text White background the one we already copied, right, we're going to come with a group here, now its type is going to be team and it's going to be parental groups time, right, its content, we're going to come with new text here cont Control and let this go up a little more and Desc here a little more goes up what will be in this first text let's see here let me see his height 60 60 was a lot 60 Ok let's put it here user is enter eh current user name ok we're just going to open the reach tester here It's going to center both of them, okay, and the user, we're going to put a bodone on it here, a bigger border, right? Let me see how with size 18, here it centers the text in both ways and 18, we duplicate the text, okay, here, it's going to be right contact, okay? instead of being the name, it will be the contact, it doubles again, here , it will be the selected time and its content will be the parental book, the 40 groups, time display, it is to show the time that we selected here, right , and then now the We go back to the workflow When we show our popup we tell it to show the data display there in Grou, it's 4 groups time, let's see if it worked, oh 9:30 in the morning, ok, ok, the user presented the contact, no, because there shouldn't be any contact here, I I think I didn't put it, let me see, I'll put it now user Renata is out of contact, let's edit her contact to appear there 21 966 55 22 33 [Music] automatically appears now, right, we'll come with a button here, now it's popup design Button there you have it a button here CTR and Remove its formatting remove conditional so it doesn't change color You can leave it with 40 same shot pading put zero on all pads here it is And it will be the confirm button Let's put the color of the one we saw that the we're using it, see, no, we're using it, let me increase the font here to 18 Okay, we'll double it, okay ?
popup Element Actions Hide popup new schedule is when we click on the confirm button we will create the mechanic now to save our time slot let me put some more text here the formatting centralizes centralizes What size are these texts here 18 Let's leave this with 18 also this one will be the following, confirm the schedule Let's put it in place too C chado also bodone with edges with CTR and let me see how it turned out now the time that we selected appears, let me just give it a hit here to make it more distributed, this is the touch that I have, it's more or less cool, here it is, let me download this, let's download all of these here a little For us go down here and give it a little border, up there, there's a little white space. Oh , what's the width of the group here ? Let me see, okay, let's make our first appointment now, so when we click on our confirm button, we will open workflow and create a new team slot data thing Create a new thing what we will create a team slot, we are going to add the fields client contact s session Number and the text time here is where the client is the current user name are the fields of our popup the contact is the current user contact session Number is the parent GR groups time session Number and the Test time is the parent GR time display after that we will create a new thing in the database I also believe that it will be scheduling, it will have the fields customer date and the time slot, customer will be the current user, okay contact No, it 's not contact, don't let me see the result of the creation Step of Step one contact is here also the result of Step one creation cont is client [Music] client no this one is not the one here is the current user same is C Let's put the date here is also the date, it's the time slot, the current date, and the time slot is the pair of times display, don't let me see what it is here, wait, it's not the time slot, okay, let me see here, schedules, it's the team that I didn't rename here to I know which one it was, this is the text type, okay, it's the team here, the text type team, which will be the parent groups, time display, which is the time that appears there, which we selected, done that, we put a beep, right, appointment made, leave it I put here 3000 worlds to appear, which is already a long time, I'm going to go back to 2000 with the color green Centered font size 24 after that we're going to close the Element Actions popup id popup and we're going to send an email to the client, okay, let's configure an email here great for us to send it to who we will send the confirmation email to the current user right email is whoever is sending it Barb Shop or barbershop Rincão doesn't matter I like the name barbershop is cool what is the content of the title of the e-mail scheduling of delivery what will be the body of the message Hello comma Then I enter here with current us name is comma you or someone can put it like this ok did you do it an agent at our barbershop jeez It wasn't, it was nothing, comma, let me undo this here to see if I didn't give a damn.
ISO, did you or someone else make an appointment? Wow, why are you doing this here, do this to me? I wouldn't barber, if it was you, remember to arrive 15 minutes early to 15 minutes beforehand for your service PR see just so we can check Ah, something is missing here, I'm going to put it all here in green to know that we're making the new gathering but this will only happen under one condition, okay, we're going to come here from search for time slot comes back here client contact session Number time current client user name contact is equal equal ual in English is equal equal I think that's it being the same as the parental group times session Number and the time is equal to the parental groups time display is when count when the count is zero is zero so it will only register when there is nothing here in the database, it's in time slot, there 's nothing, it's empty, schedule is empty, let's click so we can see here, okay, confirm the appointment if we come here in appointments now created the new appointment with the date the client is there and the time here, but the client put it in and pulled up the email, let me see the addendum here the current user, it could be the email, the email itself is no problem, no, let me see if the name enters here, no, it does not, no problem, when we view it there, we will view it correctly, so it created the schedule here and created the time slot here as well, the name, the contact, the session number and the time slot number and the date that was created, okay, we go back to the workflow, we are going to create a new mechanic, a new trigger that will be what when an element is clicked which element the confirm button ok what are we going to do What are we going to delete something when the eh confirm button is clicked ok data team delete What are we going to delete search for time slot you will understand by client we just created and we want to delete calm contact session Number and team again that we just did it is current user name contact is the same as the current user contact session Number is the same as the parent groups time session Number and the team T is equal to 40 grp display we're going to delete it.
So what, we're going to delete item one, it's the first item, but let me put a red color here , which is a delete action, right? when let me copy the expression here to go faster, copy here let me see if it comes here straight to here P when it is greater than zero right now why Anderson Why Rincão that has to be when it is greater than zero so that when I click here again, for example, what time did we click and create here now session Number 9 time at 1 o'clock in the afternoon, right, let's check here, time slot session Number 1 o'clock in the afternoon, right, nine o'clock, right, so let's click again here to see if it does o 9 1 o'clock in the afternoon o 9 1 o'clock in the afternoon he deleted the time slot because he already had one and he kept the schedule so he doesn't let us create another one, right we are now going to put some conditionals here to that we cannot create a new appointment when this time has already been selected, this is the way I'm going to do it here, I've already found it in several scheduling systems, health plans, Out Center store services, these things where appointments are scheduled this is the way I'm going to do it here now it's the way I found if you build your application with a group with things here in responsive mode here in the group Oh you can put it in the collapse right so when you put it to put the collapse in the condition you enter it disappears from here and it runs the queue it doesn't remain the empty field here and only the available times will appear, let me tweak this look here, this is top, let's tweak it here, right? And there are how many here, there are four, right?
1 2 3 4 ? There's this empty space here ? let's centralize this here now and then we made the first correct schedule and the time slot mechanic is working let's disable the field now and if it turns out that that time is unavailable we come here, it's in the text we will paste a new conditional condition I I think the conditional is already copied, let me paste it here, yes, that's what happens, we 're going to do a search in the time slot, but instead of it being zero, we're going to put it if it's greater than zero, what's going to happen, we're going to put it a text What is the text that we are going to make [Music] unavailable which means that that time will not be available for a new appointment this element is visible, so when we make a appointment here it will count greater than zero and it will the text appears as available, OK, we come to the icon, OK, condition, a new conditional P is greater than zero, OK, the element is unclickable, OK, you can't click on it to be able to do the function, you click on it, but it has no action, it is left without action and we add another conditional Here it is greater than zer what is going to happen we are going to change the Icon, let's look here for circ with x and let's change the color of the icon to red let's see how it goes So, let me delete it Here is the correct schedule, there is no schedule at all, there is no time slot, let's do it again here now, let's schedule at 4 pm user contact time confirms schedule, scheduled, changed to unavailable, changed the icon to red and remains without action We can't use it anymore, so this time slot is unavailable and we come here and it has a time slot registered, right, we can't make an appointment at this time here anymore and it has the time slot registered too, okay, let's get others here, let me see if he he sent the email this one is available it's very high here let me make a change to it where is the unavailable text test Let's put it to the right to the right I don't think so There's nothing to do it won't stay like that, okay let me see if He sent the email now, I think it's 3pm and something let me update the page here, no, I'm not in the email of the rão informatico channel, won't let me change it here, that's why the Rincão informatica channel isn't showing up It hasn't arrived there yet, in a little while we'll check to see if the email has arrived here from me, the email will arrive here, so what drafts Spa isn't in the span or anything, it's not in the trash, I think but this is not new today, the tests that I had already done are not gone, in a little while we will check again, let's make more appointments here, schedule the time here at 130.
It's unavailable, we 'll see here, at four o'clock the appointment was scheduled. 1:30 time slot was scheduled too, Beauty, so we're here to finish today's class, okay, we're going to finish today's class here with the mission accomplished of having learned how our time slot works, like me I said here, this is the mechanic that I put in place so that the field appears like this, okay, we're going to have another class, right, in which the bar, the barber's page, shows the times that are scheduled, remember that this is a scheduling application, not it's a sale of sum control of nothing, it's just yes or no, it's scheduled or free and then we put a function there in the repeat group in which it will delete the appointment if the customer canceled the appointment, it deletes the appointment there and the schedule becomes available again here at the time, okay, let's do one more here, see how many we schedule here, it becomes unavailable, it appears here, right, the appointments, and the time slots are registered, time slot, right, and the appointment, let me see. see if it arrived here now what email is here for her for the user Renato Ah, that's explained, wait , it will never arrive canal informatica @gmail.
com okay, let's see here the one at 5 o'clock in the afternoon or scheduled at 5 o'clock last that we made the last registration team that we made, let's look here in our email, if it arrived, it arrived, at the same time, it was S, email, barbershop, hello, Renata, can you see if I'm coming, you or someone made the appointment? time now here it is Instant beauty guys we finish this class for today here I want to thank everyone who is subscribed to the channel and is with us to this day supporting our channel sharing the content liking giving dislike sharing questions suggestions asking communicating Thank you very much everyone , if you are not yet subscribed to our channel, take the opportunity to subscribe and activate the notification bell to always be informed of all the new videos we have, check out the other playlists we have on the Bubble platform, here we are There's a universal POS platform on the EAD Universal platform, then I'm going to do one on a streaming platform, OK, but it won't be for now, as I already have other appointments scheduled with you here, next classes that we'll start next week are ours school system management a system that is integrated with billing and student control, student registration, grades, you understand, and it is a system that can be accessed from anywhere you have the internet, so it fits into the management standard, and we will start this week That's it too, thank you very much to everyone so far, give it a go, let's subscribe if you haven't already subscribed so that we can reach 1,000 subscribers on the channel I want to celebrate my 1st birthday on December 14th.