Monthly Archives: July 2020

Append Params to Current URL

Laravel:

https://stackoverflow.com/questions/54762882/how-to-add-extra-parameter-with-full-url-in-laravel-blade

UserC for Laravel-Permission

Example

 

RoleC for Laravel-Permission

Example

 

There is no role with id `123` Issue

With laravel-permission package, if you wanna delete a role and the role name is “123”, it seems the package will find it by ID automatically because it’s numerical.

Solution:

Change name from “123” to “v123”, etc.

Set explicit value of a cell

By data type

https://phpspreadsheet.readthedocs.io/en/latest/topics/accessing-cells/

Share data to all views

Middleware

Kernel

 

jQuery UI Datepicker & DateTimePicker Addon

Download

https://jqueryui.com/download

https://github.com/trentrichardson/jQuery-Timepicker-Addon

https://www.dropbox.com/s/qhwuvv3asnr0vs8/jquery_datetimepicker.zip?dl=0

HTML

Javascript:

 

Datatable with buttons

Download with extensions

https://datatables.net/download/

HTML

Javascript