When you work in CMS, it is pretty common you have multiple roles and permission.
Setting Up Multi-Authentication in Laravel 5.4+ (Part 1)
Or from Forum
However, for my own appoach kind of different from above solution.
I am using subdomain to different out the session. So I do no need to duplicate the controller. I can use the same flow as main domain used.
I am sure you experience after export from some software. The number treated as String. And you can’t use it for doing calculation.
- Copy the data to new sheet or new workbook.
- paste in this formular `=IF(ISBLANK(B2),””,VALUE(B2))`
What this formular do is first check is the cell is it blank or not, if it is blank then show it is blank, else, show the value of that cell (this is the part convert it from string to number)
- Next, you just copy and paste the formula accordingly.
- Final step, you select all the formular area, then paste it as VALUE.
Below example, as you can see the yellow part is original data, it mixed with string and number. The little green arrow on the top left corner indicate you can convert it to other format, but you have to do it one by one.
On the green part is followed by formular converted it to number.
Thanks for reading!