mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	v5.0.0 update
This commit is contained in:
		| @ -1,29 +1,29 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en" class="h-full"> | ||||
| <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | ||||
|  | ||||
| <head> | ||||
|     <meta charset="utf-8"> | ||||
|     <title>Crater - Self Hosted Invoicing Platform</title> | ||||
|     <script src="/assets/js/pace/pace.js"></script> | ||||
|     <link href="{{mix("/assets/css/crater.css")}}" rel="stylesheet" type="text/css"> | ||||
|     <meta name="viewport" content="width=device-width,initial-scale=1"> | ||||
|     <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600&display=swap" rel="stylesheet"> | ||||
|     <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon.png"> | ||||
|     <link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicons/favicon-32x32.png"> | ||||
|     <link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicons/favicon-16x16.png"> | ||||
|     <link rel="manifest" href="/assets/img/favicons/site.webmanifest"> | ||||
|     <link rel="mask-icon" href="/assets/img/favicons/safari-pinned-tab.svg" color="#5851d8"> | ||||
|     <link rel="shortcut icon" href="/assets/img/favicons/favicon.ico"> | ||||
|     <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png"> | ||||
|     <link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png"> | ||||
|     <link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png"> | ||||
|     <link rel="manifest" href="/favicons/site.webmanifest"> | ||||
|     <link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5851d8"> | ||||
|     <link rel="shortcut icon" href="/favicons/favicon.ico"> | ||||
|     <meta name="msapplication-TileColor" content="#ffffff"> | ||||
|     <meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml"> | ||||
|     <meta name="msapplication-config" content="/favicons/browserconfig.xml"> | ||||
|     <meta name="theme-color" content="#ffffff"> | ||||
|     <meta name="csrf-token" content="{{ csrf_token() }}"> | ||||
|  | ||||
|     @vite | ||||
| </head> | ||||
|  | ||||
| <body class="h-full overflow-x-hidden bg-gray-100 layout-default skin-crater font-base"> | ||||
|     <div id="app" class="h-full"> | ||||
|         <router-view></router-view> | ||||
|     </div> | ||||
|     <script type="text/javascript" src="{{mix('/assets/js/app.js')}}"></script> | ||||
| <body class="h-full overflow-hidden bg-gray-100 font-base"> | ||||
|  | ||||
|     <script type="module"> | ||||
|         window.Crater.start() | ||||
|     </script> | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
|  | ||||
| @ -391,8 +391,8 @@ | ||||
|                     @if($logo) | ||||
|                         <img class="header-logo" src="{{ $logo }}" alt="Company Logo"> | ||||
|                     @else | ||||
|                         @if($estimate->user->company) | ||||
|                             <h2 class="header-logo"> {{$estimate->user->company->name}} </h2> | ||||
|                         @if($estimate->customer->company) | ||||
|                             <h2 class="header-logo"> {{$estimate->customer->company->name}} </h2> | ||||
|                         @endif | ||||
|                     @endif | ||||
|                 </td> | ||||
|  | ||||
| @ -403,8 +403,8 @@ | ||||
|                 </td> | ||||
|                 @else | ||||
|                     <td width="60%" class="header-section-left" style="padding-top: 0px;"> | ||||
|                     @if($estimate->user->company) | ||||
|                         <h1 class="header-logo"> {{$estimate->user->company->name}} </h1> | ||||
|                     @if($estimate->customer->company) | ||||
|                         <h1 class="header-logo"> {{$estimate->customer->company->name}} </h1> | ||||
|                     @endif | ||||
|                     </td> | ||||
|                 @endif | ||||
|  | ||||
| @ -351,7 +351,7 @@ | ||||
|                     @if($logo) | ||||
|                         <img class="header-logo" src="{{ $logo }}" alt="Company Logo"> | ||||
|                     @else | ||||
|                         <h1 class="header-logo"> {{$estimate->user->company->name}} </h1> | ||||
|                         <h1 class="header-logo"> {{$estimate->customer->company->name}} </h1> | ||||
|                     @endif | ||||
|                 </td> | ||||
|                 <td width="50%" class="text-right company-address-container company-address"> | ||||
| @ -373,7 +373,7 @@ | ||||
|                     @endif | ||||
|                 </div> | ||||
|  | ||||
|                 <div @if($estimate->user->billingaddress) class="shipping-address-container shipping-address" @else class="shipping-address-container--left shipping-address" @endif> | ||||
|                 <div @if($estimate->customer->billingaddress) class="shipping-address-container shipping-address" @else class="shipping-address-container--left shipping-address" @endif> | ||||
|                     @if($shipping_address) | ||||
|                         <b>@lang('pdf_ship_to')</b> <br> | ||||
|                         {!! $shipping_address !!} | ||||
|  | ||||
| @ -2,6 +2,9 @@ | ||||
|     <tr class="item-table-heading-row"> | ||||
|         <th width="2%" class="pr-20 text-right item-table-heading">#</th> | ||||
|         <th width="40%" class="pl-0 text-left item-table-heading">@lang('pdf_items_label')</th> | ||||
|         @foreach($customFields as $field) | ||||
|             <th class="text-right item-table-heading">{{ $field->label }}</th> | ||||
|         @endforeach | ||||
|         <th class="pr-20 text-right item-table-heading">@lang('pdf_quantity_label')</th> | ||||
|         <th class="pr-20 text-right item-table-heading">@lang('pdf_price_label')</th> | ||||
|         @if($estimate->discount_per_item === 'YES') | ||||
| @ -30,6 +33,11 @@ | ||||
|                     {!! nl2br(htmlspecialchars($item->description)) !!} | ||||
|                 </span> | ||||
|             </td> | ||||
|             @foreach($customFields as $field) | ||||
|                 <td class="text-right item-cell" style="vertical-align: top;"> | ||||
|                     {{ $item->getCustomFieldValueBySlug($field->slug) }} | ||||
|                 </td> | ||||
|             @endforeach | ||||
|             <td | ||||
|                 class="pr-20 text-right item-cell" | ||||
|                 style="vertical-align: top;" | ||||
| @ -40,12 +48,12 @@ | ||||
|                 class="pr-20 text-right item-cell" | ||||
|                 style="vertical-align: top;" | ||||
|             > | ||||
|                 {!! format_money_pdf($item->price, $estimate->user->currency) !!} | ||||
|                 {!! format_money_pdf($item->price, $estimate->customer->currency) !!} | ||||
|             </td> | ||||
|             @if($estimate->discount_per_item === 'YES') | ||||
|                 <td class="pl-10 text-right item-cell" style="vertical-align: top;"> | ||||
|                     @if($item->discount_type === 'fixed') | ||||
|                         {!! format_money_pdf($item->discount_val, $estimate->user->currency) !!} | ||||
|                         {!! format_money_pdf($item->discount_val, $estimate->customer->currency) !!} | ||||
|                     @endif | ||||
|                     @if($item->discount_type === 'percentage') | ||||
|                         {{$item->discount}}% | ||||
| @ -53,7 +61,7 @@ | ||||
|                 </td> | ||||
|             @endif | ||||
|             <td class="text-right item-cell" style="vertical-align: top;"> | ||||
|                 {!! format_money_pdf($item->total, $estimate->user->currency) !!} | ||||
|                 {!! format_money_pdf($item->total, $estimate->customer->currency) !!} | ||||
|             </td> | ||||
|         </tr> | ||||
|         @php | ||||
| @ -68,32 +76,9 @@ | ||||
|     <table width="100%" cellspacing="0px" border="0" class="total-display-table @if(count($estimate->items) > 12) page-break @endif"> | ||||
|         <tr> | ||||
|             <td class="border-0 total-table-attribute-label">@lang('pdf_subtotal')</td> | ||||
|             <td class="border-0 item-cell total-table-attribute-value ">{!! format_money_pdf($estimate->sub_total, $estimate->user->currency) !!}</td> | ||||
|             <td class="border-0 item-cell total-table-attribute-value ">{!! format_money_pdf($estimate->sub_total, $estimate->customer->currency) !!}</td> | ||||
|         </tr> | ||||
|  | ||||
|         @if ($estimate->tax_per_item === 'YES') | ||||
|             @foreach ($taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $estimate->user->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @else | ||||
|             @foreach ($estimate->taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="border-0 item-cell total-table-attribute-value" > | ||||
|                         {!! format_money_pdf($tax->amount, $estimate->user->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @endif | ||||
|         @if($estimate->discount > 0) | ||||
|             @if ($estimate->discount_per_item === 'NO') | ||||
|                 <tr> | ||||
| @ -107,15 +92,40 @@ | ||||
|                     </td> | ||||
|                     <td class="text-right border-0 item-cell total-table-attribute-value"> | ||||
|                         @if($estimate->discount_type === 'fixed') | ||||
|                             {!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!} | ||||
|                             {!! format_money_pdf($estimate->discount_val, $estimate->customer->currency) !!} | ||||
|                         @endif | ||||
|                         @if($estimate->discount_type === 'percentage') | ||||
|                             {!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!} | ||||
|                             {!! format_money_pdf($estimate->discount_val, $estimate->customer->currency) !!} | ||||
|                         @endif | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endif | ||||
|         @endif | ||||
|          | ||||
|         @if ($estimate->tax_per_item === 'YES') | ||||
|             @foreach ($taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $estimate->customer->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @else | ||||
|             @foreach ($estimate->taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="border-0 item-cell total-table-attribute-value" > | ||||
|                         {!! format_money_pdf($tax->amount, $estimate->customer->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @endif | ||||
|          | ||||
|         <tr> | ||||
|             <td class="py-3"></td> | ||||
|             <td class="py-3"></td> | ||||
| @ -123,7 +133,7 @@ | ||||
|         <tr> | ||||
|             <td class="border-0 total-border-left total-table-attribute-label">@lang('pdf_total')</td> | ||||
|             <td class="py-8 border-0 total-border-right item-cell total-table-attribute-value" style="color: #5851D8"> | ||||
|                 {!! format_money_pdf($estimate->total, $estimate->user->currency)!!} | ||||
|                 {!! format_money_pdf($estimate->total, $estimate->customer->currency)!!} | ||||
|             </td> | ||||
|         </tr> | ||||
|     </table> | ||||
|  | ||||
| @ -341,8 +341,8 @@ | ||||
|                     @if($logo) | ||||
|                         <img class="header-logo" src="{{ $logo }}" alt="Company Logo"> | ||||
|                     @else | ||||
|                         @if($invoice->user->company) | ||||
|                             <h2 class="header-logo"> {{$invoice->user->company->name}} </h2> | ||||
|                         @if($invoice->customer->company) | ||||
|                             <h2 class="header-logo"> {{$invoice->customer->company->name}} </h2> | ||||
|                         @endif | ||||
|                     @endif | ||||
|                 </td> | ||||
|  | ||||
| @ -385,8 +385,8 @@ | ||||
|                     </td> | ||||
|                 @else | ||||
|                     <td width="60%" class="header-section-left" style="padding-top: 0px;"> | ||||
|                         @if($invoice->user->company) | ||||
|                             <h1 class="header-logo"> {{$invoice->user->company->name}} </h1> | ||||
|                         @if($invoice->customer->company) | ||||
|                             <h1 class="header-logo"> {{$invoice->customer->company->name}} </h1> | ||||
|                         @endif | ||||
|                     </td> | ||||
|                 @endif | ||||
|  | ||||
| @ -312,7 +312,7 @@ | ||||
|                     @if($logo) | ||||
|                     <img class="header-logo" src="{{ $logo }}" alt="Company Logo"> | ||||
|                     @else | ||||
|                     <h1 class="header-logo"> {{$invoice->user->company->name}} </h1> | ||||
|                     <h1 class="header-logo"> {{$invoice->customer->company->name}} </h1> | ||||
|                     @endif | ||||
|                 </td> | ||||
|                 <td width="50%" class="text-right company-address-container company-address"> | ||||
|  | ||||
| @ -2,6 +2,9 @@ | ||||
|     <tr class="item-table-heading-row"> | ||||
|         <th width="2%" class="pr-20 text-right item-table-heading">#</th> | ||||
|         <th width="40%" class="pl-0 text-left item-table-heading">@lang('pdf_items_label')</th> | ||||
|         @foreach($customFields as $field) | ||||
|             <th class="text-right item-table-heading">{{ $field->label }}</th> | ||||
|         @endforeach | ||||
|         <th class="pr-20 text-right item-table-heading">@lang('pdf_quantity_label')</th> | ||||
|         <th class="pr-20 text-right item-table-heading">@lang('pdf_price_label')</th> | ||||
|         @if($invoice->discount_per_item === 'YES') | ||||
| @ -30,6 +33,11 @@ | ||||
|                 <span>{{ $item->name }}</span><br> | ||||
|                 <span class="item-description">{!! nl2br(htmlspecialchars($item->description)) !!}</span> | ||||
|             </td> | ||||
|             @foreach($customFields as $field) | ||||
|                 <td class="text-right item-cell" style="vertical-align: top;"> | ||||
|                     {{ $item->getCustomFieldValueBySlug($field->slug) }} | ||||
|                 </td> | ||||
|             @endforeach | ||||
|             <td | ||||
|                 class="pr-20 text-right item-cell" | ||||
|                 style="vertical-align: top;" | ||||
| @ -40,7 +48,7 @@ | ||||
|                 class="pr-20 text-right item-cell" | ||||
|                 style="vertical-align: top;" | ||||
|             > | ||||
|                 {!! format_money_pdf($item->price, $invoice->user->currency) !!} | ||||
|                 {!! format_money_pdf($item->price, $invoice->customer->currency) !!} | ||||
|             </td> | ||||
|  | ||||
|             @if($invoice->discount_per_item === 'YES') | ||||
| @ -49,7 +57,7 @@ | ||||
|                     style="vertical-align: top;" | ||||
|                 > | ||||
|                     @if($item->discount_type === 'fixed') | ||||
|                             {!! format_money_pdf($item->discount_val, $invoice->user->currency) !!} | ||||
|                             {!! format_money_pdf($item->discount_val, $invoice->customer->currency) !!} | ||||
|                         @endif | ||||
|                         @if($item->discount_type === 'percentage') | ||||
|                             {{$item->discount}}% | ||||
| @ -62,7 +70,7 @@ | ||||
|                     class="pl-10 text-right item-cell" | ||||
|                     style="vertical-align: top;" | ||||
|                 > | ||||
|                     {!! format_money_pdf($item->tax, $invoice->user->currency) !!} | ||||
|                     {!! format_money_pdf($item->tax, $invoice->customer->currency) !!} | ||||
|                 </td> | ||||
|             @endif | ||||
|  | ||||
| @ -70,7 +78,7 @@ | ||||
|                 class="text-right item-cell" | ||||
|                 style="vertical-align: top;" | ||||
|             > | ||||
|                 {!! format_money_pdf($item->total, $invoice->user->currency) !!} | ||||
|                 {!! format_money_pdf($item->total, $invoice->customer->currency) !!} | ||||
|             </td> | ||||
|         </tr> | ||||
|         @php | ||||
| @ -86,34 +94,10 @@ | ||||
|         <tr> | ||||
|             <td class="border-0 total-table-attribute-label">@lang('pdf_subtotal')</td> | ||||
|             <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                 {!! format_money_pdf($invoice->sub_total, $invoice->user->currency) !!} | ||||
|                 {!! format_money_pdf($invoice->sub_total, $invoice->customer->currency) !!} | ||||
|             </td> | ||||
|         </tr> | ||||
|  | ||||
|         @if ($invoice->tax_per_item === 'YES') | ||||
|             @foreach ($taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $invoice->user->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @else | ||||
|             @foreach ($invoice->taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $invoice->user->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @endif | ||||
|  | ||||
|         @if($invoice->discount > 0) | ||||
|             @if ($invoice->discount_per_item === 'NO') | ||||
|                 <tr> | ||||
| @ -127,16 +111,40 @@ | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value" > | ||||
|                         @if($invoice->discount_type === 'fixed') | ||||
|                             {!! format_money_pdf($invoice->discount_val, $invoice->user->currency) !!} | ||||
|                             {!! format_money_pdf($invoice->discount_val, $invoice->customer->currency) !!} | ||||
|                         @endif | ||||
|                         @if($invoice->discount_type === 'percentage') | ||||
|                             {!! format_money_pdf($invoice->discount_val, $invoice->user->currency) !!} | ||||
|                             {!! format_money_pdf($invoice->discount_val, $invoice->customer->currency) !!} | ||||
|                         @endif | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endif | ||||
|         @endif | ||||
|  | ||||
|         @if ($invoice->tax_per_item === 'YES') | ||||
|             @foreach ($taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $invoice->customer->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @else | ||||
|             @foreach ($invoice->taxes as $tax) | ||||
|                 <tr> | ||||
|                     <td class="border-0 total-table-attribute-label"> | ||||
|                         {{$tax->name.' ('.$tax->percent.'%)'}} | ||||
|                     </td> | ||||
|                     <td class="py-2 border-0 item-cell total-table-attribute-value"> | ||||
|                         {!! format_money_pdf($tax->amount, $invoice->customer->currency) !!} | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             @endforeach | ||||
|         @endif | ||||
|  | ||||
|         <tr> | ||||
|             <td class="py-3"></td> | ||||
|             <td class="py-3"></td> | ||||
| @ -149,7 +157,7 @@ | ||||
|                 class="py-8 border-0 total-border-right item-cell total-table-attribute-value" | ||||
|                 style="color: #5851D8" | ||||
|             > | ||||
|                 {!! format_money_pdf($invoice->total, $invoice->user->currency)!!} | ||||
|                 {!! format_money_pdf($invoice->total, $invoice->customer->currency)!!} | ||||
|             </td> | ||||
|         </tr> | ||||
|     </table> | ||||
|  | ||||
| @ -2,7 +2,7 @@ | ||||
| <html> | ||||
|  | ||||
| <head> | ||||
|     <title>@lang('pdf_estimate_label') - {{$payment->payment_number}}</title> | ||||
|     <title>@lang('pdf_payment_label') - {{$payment->payment_number}}</title> | ||||
|     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||||
|  | ||||
|     <style type="text/css"> | ||||
| @ -281,9 +281,9 @@ | ||||
|                 <td width="50%" class="header-section-left"> | ||||
|                     <img class="header-logo" src="{{ $logo }}" alt="Company Logo"> | ||||
|                     @else | ||||
|                     @if($payment->user->company) | ||||
|                     @if($payment->customer) | ||||
|                 <td class="header-section-left" style="padding-top:0px;"> | ||||
|                     <h1 class="header-logo"> {{$payment->user->company->name}} </h1> | ||||
|                     <h1 class="header-logo"> {{$payment->customer->company->name}} </h1> | ||||
|                     @endif | ||||
|                     @endif | ||||
|                 </td> | ||||
| @ -341,7 +341,7 @@ | ||||
|     </div> | ||||
|     <div class="total-display-box"> | ||||
|         <p class="total-display-label">@lang('pdf_payment_amount_received_label')</p> | ||||
|         <span class="amount">{!! format_money_pdf($payment->amount, $payment->user->currency) !!}</span> | ||||
|         <span class="amount">{!! format_money_pdf($payment->amount, $payment->customer->currency) !!}</span> | ||||
|     </div> | ||||
| </body> | ||||
|  | ||||
|  | ||||
							
								
								
									
										20
									
								
								resources/views/vendor/laravel-menu/bootstrap-navbar-items.blade.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								resources/views/vendor/laravel-menu/bootstrap-navbar-items.blade.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| @foreach($items as $item) | ||||
|   <li @lm_attrs($item) @if($item->hasChildren()) class="nav-item dropdown" @endif @lm_endattrs> | ||||
|     @if($item->link) <a @lm_attrs($item->link) @if($item->hasChildren()) class="nav-link dropdown-toggle" role="button" @data_toggle_attribute="dropdown" aria-haspopup="true" aria-expanded="false" @else class="nav-link" @endif @lm_endattrs href="{!! $item->url() !!}"> | ||||
|       {!! $item->title !!} | ||||
|       @if($item->hasChildren()) <b class="caret"></b> @endif | ||||
|     </a> | ||||
|     @else | ||||
|       <span class="navbar-text">{!! $item->title !!}</span> | ||||
|     @endif | ||||
|     @if($item->hasChildren()) | ||||
|       <ul class="dropdown-menu"> | ||||
|         @include(config('laravel-menu.views.bootstrap-items'), | ||||
| array('items' => $item->children())) | ||||
|       </ul> | ||||
|     @endif | ||||
|   </li> | ||||
|   @if($item->divider) | ||||
|   	<li{!! Lavary\Menu\Builder::attributes($item->divider) !!}></li> | ||||
|   @endif | ||||
| @endforeach | ||||
		Reference in New Issue
	
	Block a user