replaced section with stack for js/css
This commit is contained in:
		| @@ -48,15 +48,15 @@ | ||||
|     </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/icheck.min.js') }}"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/square/green.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         var text_yes = '{{ trans('general.yes') }}'; | ||||
|         var text_no = '{{ trans('general.no') }}'; | ||||
| @@ -85,4 +85,4 @@ | ||||
|             }); | ||||
|         }); | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -57,15 +57,15 @@ | ||||
| </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/icheck.min.js') }}"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/square/green.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         var text_yes = '{{ trans('general.yes') }}'; | ||||
|         var text_no = '{{ trans('general.no') }}'; | ||||
| @@ -90,4 +90,4 @@ | ||||
|             }); | ||||
|         }); | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -93,18 +93,18 @@ | ||||
| </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/bootstrap-datepicker.js') }}"></script> | ||||
|     <script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script> | ||||
|     <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-3-typeahead/4.0.1/bootstrap3-typeahead.min.js"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/datepicker3.css') }}"> | ||||
|     <link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         var item_row = '{{ $item_row }}'; | ||||
|  | ||||
| @@ -262,4 +262,4 @@ | ||||
|             }); | ||||
|         } | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -119,18 +119,18 @@ | ||||
|     </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/bootstrap-datepicker.js') }}"></script> | ||||
|     <script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script> | ||||
|     <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-3-typeahead/4.0.1/bootstrap3-typeahead.min.js"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/datepicker3.css') }}"> | ||||
|     <link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         var item_row = '{{ $item_row }}'; | ||||
|  | ||||
| @@ -290,4 +290,4 @@ | ||||
|             }); | ||||
|         } | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -264,17 +264,17 @@ | ||||
|     </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/bootstrap-datepicker.js') }}"></script> | ||||
|     <script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/datepicker3.css') }}"> | ||||
|     <link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         $(document).ready(function(){ | ||||
|             $(document).on('click', '#button-payment', function (e) { | ||||
| @@ -461,4 +461,4 @@ | ||||
|             }); | ||||
|         } | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -47,17 +47,17 @@ | ||||
| </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/bootstrap-datepicker.js') }}"></script> | ||||
|     <script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/datepicker3.css') }}"> | ||||
|     <link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         $(document).ready(function(){ | ||||
|             //Date picker | ||||
| @@ -102,4 +102,4 @@ | ||||
|             }); | ||||
|         }); | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
| @@ -54,17 +54,17 @@ | ||||
|     </div> | ||||
| @endsection | ||||
|  | ||||
| @section('js') | ||||
| @push('js') | ||||
|     <script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/bootstrap-datepicker.js') }}"></script> | ||||
|     <script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('css') | ||||
| @push('css') | ||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/datepicker/datepicker3.css') }}"> | ||||
|     <link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}"> | ||||
| @endsection | ||||
| @endpush | ||||
|  | ||||
| @section('scripts') | ||||
| @push('scripts') | ||||
|     <script type="text/javascript"> | ||||
|         $(document).ready(function(){ | ||||
|             //Date picker | ||||
| @@ -109,4 +109,4 @@ | ||||
|             }); | ||||
|         }); | ||||
|     </script> | ||||
| @endsection | ||||
| @endpush | ||||
|   | ||||
		Reference in New Issue
	
	Block a user