<!-- Secondary nav -->
<div class="secNav">
	<div class="secWrapper">
		<div class="secTop">
			<div class="balance">
				<div class="balInfo">Last LogIn: </div>
				<div class="balAmount"><span class="balBars"></span>
					<span>@yield('last_login')</span>
				</div>
			</div>
		</div>

		<!-- Tabs container -->
		<div id="tab-container" class="tab-container">

			<ul class="iconsLine ic etabs">
				<li><a href="#general" title=""><span class="icos-fullscreen"></span></a></li>
			</ul>

			<div class="divider"><span></span></div>

			<div id="general">
				@if(Request::is('customer-service'))
				<div class="sideWidget">

					<div class="formRow">
						<label><b>Filter Calendar By : </b></label>
						<select class="styled" id="filterByC" name="filterByC">
							<option value=''>Default</option>
							<option value='New Customer'>New Customer</option>				
						</select>
					</div>

					<div id="new">
						<div class="divider"><span></span></div>
						<div class="formRow">
							<label><b>Customer's Label :</b></label>
						</div>

						<div class="formRow formRowL">
							<div class="grid12">
								<ul style="list-style-type:none">
									<h1 class="listC" style="background-color:#582483;">Residential</h1>
									<h1 class="listC" style="background-color:#E07027;">Business</h1>					
								</ul>
							</div>
						</div>
					</div>

					<div id="default">
						<div class="divider"><span></span></div>
						<!-- Company -->
						<div class="formRow">
							<label><b>Company's Name :</b></label>
							<select class="styled" id="cid" name="cid">
								<option value=''>Please Choose Company</option>
								@foreach($company as $c)
								<option value='{{ $c->_id }}'>{{ $c->name }}</option>
								@endforeach									
							</select>
						</div>

						<div class="formRow">
							<label><b>Company's Label :</b></label>
						</div>

						<div class="formRow formRowL">
							<div class="grid12">
								<ul style="list-style-type:none">
									@foreach($company as $c)
										<h1 class="listC" style="background-color:{{ $c->color }};">{{ $c->name }}</h1>
									@endforeach							
								</ul>
							</div>
						</div>

						<!-- Calender Label ( New, Reschedule, Rectification, Suspend, Complete -->
						<div class="divider"><span></span></div>

						<div class="formRow">
							<label><b>Work Order's Status :</b></label>
							<select class="styled" id="wstatus" name="wstatus">
								<option value=''>Please Choose Status</option>;
								<option value='Pending Non Prelaid'>Pending Non Prelaid</option>;
								<option value='Success Non Prelaid'>Success Non Prelaid</option>;
								<option value='Reschedule'>Reschedule</option>;
								<option value='Suspend'>Suspend</option>;
								<option value='Completed'>Completed</option>;
								<option value='Pending Contractor'>Pending Contractor</option>;
								<option value='Pending Installer'>Pending Installer</option>;
							</select>
						</div>

						<div class="formRow">
							<label><b>Work Order's Label :</b></label>
						</div>

						<div class="formRow formRowL">
							<div class="grid12">
								<ul style="list-style-type:none">
									<h1 class="listC" style="background-color: #FFD600;">Pending Non Prelaid</h1>
									<h1 class="listC" style="background-color: #2962FF;">Success Non Prelaid</h1>
								</ul>
							</div>
						</div>
						<div class="divider"><span></span></div>
						<div class="formRow formRowL">
							<div class="grid12">
								<ul style="list-style-type:none">
									<h1 class="listC" style="background-color: #FF6D00;">Reschedule</h1>
									<h1 class="listC" style="background-color: #DE006E;">Suspend</h1>
									<h1 class="listC" style="background-color: #00C853;">Completed</h1>
								</ul>
							</div>
						</div>
						<div class="divider"><span></span></div>
						<div class="formRow formRowL">
							<div class="grid12">
								<ul style="list-style-type:none">
									<h1 class="listC" style="background-color: #6D4C41;">Pending Contractor</h1>
									<h1 class="listC" style="background-color: #546E7A;">Pending Installer</h1>
								</ul>
							</div>
						</div>
					</div>
				</div>

				@elseif(Request::is('customer-service/new/customer/list','customer-service/edit/customer/*','customer-service/subscriber/list'))
				<ul class="subNav">
					<li><a href="{{ url('/customer-service/new/customer/list') }}" title="" class="{{ Request::is('customer-service/new/customer/list','customer-service/edit/customer/*') ? 'this' : '' }}"><span class="icos-list"></span>Customers List</a></li>
					<li><a href="{{ url('/customer-service/subscriber/list') }}" title="" class="{{ Request::is('customer-service/subscriber/list') ? 'this' : '' }}"><span class="icos-list"></span>Subscribers List</a></li>
				</ul>
				@if(Request::is('customer-service/new/customer/list','customer-service/subscriber/list'))
				<div class="divider"><span></span></div>
				<!-- Sidebar form -->
				<div class="sideWidget">
					<div class="formRow" id="fBuilding">
						<label><b>Filter by type application:</b></label>
						<select class="styled" id="fbtype" name="fbtype">
							<option value='null'>Please choose type application</option>
							<option value='New'>New</option>
							<option value='Upgrade'>Upgrade</option>
							<option value='Relocation'>Relocation</option>
						</select>
					</div>
					<div class="divider" id="fbd"><span></span></div>
					<div class="formRow" id="fBuilding">
						<label><b>Filter by building:</b></label>
						<select class="styled" id="fbbuilding" name="fbbuilding">
							<option value='null'>Please choose building</option>
							@foreach($coverage as $c)
								<option value="{{ $c->building_name }}">{{ $c->building_name }}</option>
							@endforeach
						</select>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow" id="fpayment">
						<label><b>Filter by dealer:</b></label>
						<select class="styled" id="fbdealer" name="fbdealer">
							<option value='null'>Please choose dealer</option>
							@foreach($company as $c)
								<option value="{{ $c->_id }}">{{ $c->name }}</option>
							@endforeach
						</select>
					</div>
				</div>
				@endif

				@elseif(Request::is('customer-service/work-order/list','customer-service/work-order/edit/*','customer-service/work-order/add/schedule/*/*/*','customer-service/work-order/confirm/*','customer-service/residential/create/work-order','customer-service/business/create/work-order'))
				<ul class="subNav">
					<li><a href="{{ url('/customer-service/work-order/list') }}" title="" class="{{ Request::is('customer-service/work-order/list','customer-service/work-order/edit/*','customer-service/work-order/add/schedule/*/*/*','customer-service/work-order/confirm/*') ? 'this' : '' }}"><span class="icos-list"></span>Work Order's List</a></li>

					@if($user->StaffDetail->position != 'Careline')
					<li><a href="{{ url('/customer-service/residential/create/work-order') }}" title="" class="{{ Request::is('customer-service/residential/create/work-order') ? 'this' : '' }}"><span class="icos-pencil"></span>Create Work Order (R)</a></li>
					<li><a href="{{ url('/customer-service/business/create/work-order') }}" title="" class="{{ Request::is('customer-service/business/create/work-order') ? 'this' : '' }}"><span class="icos-pencil"></span>Create Work Order (B)</a></li>
					@endif
					@if(Request::is('customer-service/work-order/list'))
					<!-- <div class="divider"><span></span></div>
					<div class="sideWidget">
						<div class="formRow">
							<label><b>Filter by year & month:</b></label>
							<select class="styled" id="fbyear" name="fbyear">
								<option value='null'>Please choose year</option>
								<option value='2018'>2018</option>
								<option value='2019'>2019</option>
							</select>
							<select class="styled" id="fbmonth" name="fbmonth">
								<option value='null'>Please choose month</option>
								<option value='01'>January</option>
								<option value='02'>February</option>
								<option value='03'>March</option>
								<option value='04'>April</option>
								<option value='05'>May</option>
								<option value='06'>June</option>
								<option value='07'>July</option>
								<option value='08'>August</option>
								<option value='09'>September</option>
								<option value='10'>October</option>
								<option value='11'>November</option>
								<option value='12'>December </option>
							</select>
						</div>
					</div> -->
					@endif
				</ul>
				@if(Request::is('customer-service/work-order/add/schedule/*/*/*'))
				<div class="sideWidget">
					<div class="divider"><span></span></div>

					<div class="formRow">
						<label><b>Company's Label :</b></label>
					</div>

					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								@foreach($company as $c)
								<h1 class="listC" style="background-color:{{ $c->color }};">{{ $c->name }}</h1>
								@endforeach							
							</ul>
						</div>
					</div>

					<div class="divider"><span></span></div>

					<div class="formRow">
						<label><b>Work Order's Label :</b></label>
					</div>

					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #FFD600;">Pending Non Prelaid</h1>
								<h1 class="listC" style="background-color: #2962FF;">Success Non Prelaid</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #FF6D00;">Reschedule</h1>
								<h1 class="listC" style="background-color: #DE006E;">Suspend</h1>
								<h1 class="listC" style="background-color: #00C853;">Completed</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #6D4C41;">Pending Contractor</h1>
								<h1 class="listC" style="background-color: #546E7A;">Pending Installer</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #5C2983;">Current Work Order</h1>
							</ul>
						</div>
					</div>
				</div>
				@endif
				@elseif(Request::is('customer-service/work-order/reschedule/*'))
				<div class="sideWidget">
					<div class="formRow">
						<label><b>Company's Label :</b></label>
					</div>

					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								@foreach($company as $c)
								<h1 class="listC" style="background-color:{{ $c->color }};">{{ $c->name }}</h1>
								@endforeach							
							</ul>
						</div>
					</div>

					<div class="divider"><span></span></div>

					<div class="formRow">
						<label><b>Work Order's Label :</b></label>
					</div>

					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #FFD600;">Pending Non Prelaid</h1>
								<h1 class="listC" style="background-color: #2962FF;">Success Non Prelaid</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #FF6D00;">Reschedule</h1>
								<h1 class="listC" style="background-color: #DE006E;">Suspend</h1>
								<h1 class="listC" style="background-color: #00C853;">Completed</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #6D4C41;">Pending Contractor</h1>
								<h1 class="listC" style="background-color: #546E7A;">Pending Installer</h1>
							</ul>
						</div>
					</div>
					<div class="divider"><span></span></div>
					<div class="formRow formRowL">
						<div class="grid12">
							<ul style="list-style-type:none">
								<h1 class="listC" style="background-color: #5C2983;">Current Work Order</h1>
							</ul>
						</div>
					</div>
				</div>
				@elseif(Request::is('customer-service/docket/list','CustomerService/docket/*'))
				<!-- Sidebar form -->
				<div class="sideWidget">

					<div class="formRow">
						<label><b>Filter by year & month:</b></label>
						<select class="styled" id="fbyear" name="fbyear">
							<option value='null'>Please choose year</option>
							<option value='2018'>2018</option>
							<option value='2019'>2019</option>
							<option value='2020'>2020</option>
						</select>
						<select class="styled" id="fbmonth" name="fbmonth">
							<option value='null'>Please choose month</option>
							<option value='01'>January</option>
							<option value='02'>February</option>
							<option value='03'>March</option>
							<option value='04'>April</option>
							<option value='05'>May</option>
							<option value='06'>June</option>
							<option value='07'>July</option>
							<option value='08'>August</option>
							<option value='09'>September</option>
							<option value='10'>October</option>
							<option value='11'>November</option>
							<option value='12'>December </option>
						</select>
					</div>
					<!-- <div class="divider"><span></span></div>

					<div class="formRow">
						<label><b>Filter by range date:</b></label>
						<select class="styled" id="fbweek" name="fbweek">
							<option value='null'>Please range date</option>
							<option value='1'>1-9</option>
							<option value='2'>10-16</option>
							<option value='3'>17-23</option>
							<option value='4'>24-31</option>
						</select>
					</div> -->
				</div>
				@elseif(Request::is('customer-service/team/contractor/list','customer-service/team/contractor/add','customer-service/team/vendor/list','customer-service/team/vendor/add','customer-service/team/vendor/edit/*','customer-service/team/contractor/edit/*'))
				<ul class="subNav">
					<li><a href="{{ url('/customer-service/team/contractor/list') }}" title="" class="{{ Request::is('customer-service/team/contractor/list','customer-service/team/contractor/edit/*') ? 'this' : '' }}"><span class="icos-list"></span>Contractor's List</a></li>
					<li><a href="{{ url('/customer-service/team/contractor/add') }}" title="" class="{{ Request::is('customer-service/team/contractor/add') ? 'this' : '' }}"><span class="icos-pencil"></span>Add New Contractor</a></li>
					<li><a href="{{ url('/customer-service/team/vendor/list') }}" title="" class="{{ Request::is('customer-service/team/vendor/list','customer-service/team/vendor/edit/*') ? 'this' : '' }}"><span class="icos-list"></span>Vendor's List</a></li>
					<li><a href="{{ url('/customer-service/team/vendor/add') }}" title="" class="{{ Request::is('customer-service/team/vendor/add') ? 'this' : '' }}"><span class="icos-pencil"></span>Add New Vendor</a></li>
				</ul>
				@elseif(Request::is('customer-service/coverage/residential','customer-service/coverage/business','customer-service/coverage/add/new','customer-service/coverage/business/edit/*','customer-service/coverage/residential/edit/*'))
				<ul class="subNav">
					<li><a href="{{ url('/customer-service/coverage/residential') }}" title="" class="{{ Request::is('customer-service/coverage/residential','customer-service/coverage/residential/edit/*') ? 'this' : '' }}"><span class="icos-list"></span>Coverage List (R)</a></li>
					<li><a href="{{ url('/customer-service/coverage/business') }}" title="" class="{{ Request::is('customer-service/coverage/business','customer-service/coverage/business/edit/*') ? 'this' : '' }}"><span class="icos-list"></span>Coverage List (B)</a></li>
					<li><a href="{{ url('/customer-service/coverage/add/new') }}" title="" class="{{ Request::is('customer-service/coverage/add/new') ? 'this' : '' }}"><span class="icos-pencil"></span>Add New Coverage</a></li>
				</ul>
				@endif
			</div>
		</div>
		<div class="divider"><span></span></div>
	</div>
</div>