<commit_before><div class="container">
	<ng-form>
		 <fieldset>        	
    		<div class="col-md-6">
    			<div class="form-group">                
	                <label class="control-label col-md-4">Select Asset:</label>                
	                <div class="col-md-8">
	                    <div class="input-group">                        
	                        <select class="form-control" ng-model="selectedAssetId" ng-change="assetChanged()" ng-disabled="newOrders.isCompleted === 'IN_PROGRESS'">
	                            <option ng-repeat="user in Assets" ng-value="user.Id">{{user.UserName}}</option>
	                        </select>
	                        <span class="input-group-btn">                                    
	                            <button class="btn btn-default" ng-click="getAssetsList()" ng-show="Assets.length === 0">
	                                <i class="fa fa-refresh" aria-hidden="true"></i>
	                            </button>
	                        </span>			                        
	                    </div>
	                </div>
	            </div>
    		</div>        	
            <div class="col-md-2">
            	<div class="form-group">
	                <button class="btn btn-info pull-right" ng-click="printWorkOrder()" >PRINT WORK ORDER</button>
	                <button ng-click="deliveryTask()">Click meh</button>
	            </div>
	        </div>
    	</fieldset>
	</ng-form>
	<div ng-show="workOrders.isCompleted === 'SUCCESSFULL'" style="font-size: 8px !important;">
		<div id="workOrders">
			<h1>Work orders for Asset {{selectedAsset.UserName}}</h1>
			<table class="table table-striped table-bordered table-hover" cellspacing="0" width="100%" >
				<thead>
					<th width="2%">S/L</th>
					<th width="2%">Vendor Name</th>
					<th width="2%">JobId</th>
					<th width="20%">Pickup Address</th>
					<!-- <th width="">Pickup State</th> -->
					<th width="20%">Delivery Address</th>
					<!-- <th width="">Delivery State</th> -->
					<th width="20%">Package</th>
					<th width="5%">Package Price</th>
					<th width="5%">Service Charge</th>
					<th width="5%">Total Weight</th>
					<th width="20%">Special Note</th>					
					<th width="5%">Complete Time</th>
					<th width="10%">Comment</th>
				</thead>
				<tbody>
					<tr ng-repeat="order in workOrders.data track by $index">
						<td width="2%">{{ $index + 1 }}</td>
						<td width="2%" class="col-md-1">{{ order.data.User.UserName }}</td>
						<td width="2%" class="col-md-1">{{ order.data.HRID }}</td>
						<td width="20%" class="col-md-2">{{ order.data.Order.From.Address }}</td>
						<!-- <td width="">Picku class="col-md-1">{{ order.data.Tasks[1].State }}</td> -->
						<td width="20%" class="col-md-2">{{ order.data.Order.To.Address }}</td>
						<!-- <td width="">Deliver class="col-md-1">{{ order.data.Tasks[2].State }}</td> -->
						<td width="20%" class="col-md-2">{{ order.PackageDescription() }}</td>
						<td width="5%">{{ order.data.Order.OrderCart.SubTotal }}</td>
						<td width="5%">{{ order.data.Order.OrderCart.ServiceCharge }}</td>
						<td width="5%">{{ order.data.Order.OrderCart.TotalWeight }}</td>
						<td width="20%" class="col-md-2">{{ order.data.Order.NoteToDeliveryMan }}</td>
						<td width="5%" class="col-md-1">{{order.data.Assets[order.data.Tasks[2].AssetRef].UserName}}</td>
						<td width="10%" class="col-md-1"></td>
					</tr>
					<tr>
						<td colspan="6">
							<span class="pull-right">Total Package Price</span>
						</td>
						<td>{{totalSubTotal}}</td>
					</tr>
					<tr>
						<td colspan="7">
							<span class="pull-right">Total Service Charge</span>
						</td>
						<td>{{totalServiceCharge}}</td>
					</tr>
					<tr>
						<td colspan="8">
							<span class="pull-right">Total Recievable</span>
						</td>
						<td>{{totalPayable}}</td>
					</tr>
				</tbody>
			</table>	
		</div>			
	</div>
	<div ng-show="workOrders.isCompleted === 'IN_PROGRESS'" ng-include="'../app/content/component/loadinSnake/loading-snake.html'"></div>
	<div ng-show="workOrders.isCompleted == 'FAILED'" >
	    <p>Server error! click <button ng-click="workOrders.loadOrders()">here</button> to refresh</p>
	</div>
	<div ng-show="orders.isCompleted == 'EMPTY'" >
	    <p>There is no order here! click <button ng-click="orders.loadOrders()">here</button> to check</p>
	</div>
</div><commit_msg>GFETCH-315 removed unnecessary fields from work order<commit_after><div class="container">
	<ng-form>
		 <fieldset>        	
    		<div class="col-md-6">
    			<div class="form-group">                
	                <label class="control-label col-md-4">Select Asset:</label>                
	                <div class="col-md-8">
	                    <div class="input-group">                        
	                        <select class="form-control" ng-model="selectedAssetId" ng-change="assetChanged()" ng-disabled="newOrders.isCompleted === 'IN_PROGRESS'">
	                            <option ng-repeat="user in Assets" ng-value="user.Id">{{user.UserName}}</option>
	                        </select>
	                        <span class="input-group-btn">                                    
	                            <button class="btn btn-default" ng-click="getAssetsList()" ng-show="Assets.length === 0">
	                                <i class="fa fa-refresh" aria-hidden="true"></i>
	                            </button>
	                        </span>			                        
	                    </div>
	                </div>
	            </div>
    		</div>        	
            <div class="col-md-2">
            	<div class="form-group">
	                <button class="btn btn-info pull-right" ng-click="printWorkOrder()" >PRINT WORK ORDER</button>
	                <!-- <button ng-click="deliveryTask()">Click meh</button> -->
	            </div>
	        </div>
    	</fieldset>
	</ng-form>
	<div ng-show="workOrders.isCompleted === 'SUCCESSFULL'" style="font-size: 8px !important;">
		<div id="workOrders">
			<h1>Work orders for Asset {{selectedAsset.UserName}}</h1>
			<table class="table table-striped table-bordered table-hover" cellspacing="0" width="100%" >
				<thead>
					<th width="2%">S/L</th>
					<th width="2%">Vendor Name</th>
					<th width="2%">JobId</th>					
					<th width="20%">Customer Address</th>
					<th width="20%">Package</th>
					<th width="5%">Price</th>					
					<th width="20%">Special Note</th>					
					<th width="5%">Complete Time</th>
					<th width="10%">Comment</th>
				</thead>
				<tbody>
					<tr ng-repeat="order in workOrders.data track by $index">
						<td width="2%">{{ $index + 1 }}</td>
						<td width="2%" class="col-md-1">{{ order.data.User.UserName }}</td>
						<td width="2%" class="col-md-1">{{ order.data.HRID }}</td>
						<td width="20%" class="col-md-2">{{ order.data.Order.To.Address }}</td>						
						<td width="20%" class="col-md-2">{{ order.PackageDescription() }}</td>
						<td width="5%">{{ order.data.Order.OrderCart.TotalToPay }}</td>						
						<td width="20%" class="col-md-2">{{ order.data.Order.NoteToDeliveryMan }}</td>
						<td width="5%" class="col-md-1">{{order.data.Assets[order.data.Tasks[2].AssetRef].UserName}}</td>
						<td width="10%" class="col-md-1"></td>
					</tr>					
					<tr>
						<td colspan="5">
							<span class="pull-right">Total Recievable</span>
						</td>
						<td>{{totalPayable}}</td>
					</tr>
				</tbody>
			</table>	
		</div>			
	</div>
	<div ng-show="workOrders.isCompleted === 'IN_PROGRESS'" ng-include="'../app/content/component/loadinSnake/loading-snake.html'"></div>
	<div ng-show="workOrders.isCompleted == 'FAILED'" >
	    <p>Server error! click <button ng-click="workOrders.loadOrders()">here</button> to refresh</p>
	</div>
	<div ng-show="orders.isCompleted == 'EMPTY'" >
	    <p>There is no order here! click <button ng-click="orders.loadOrders()">here</button> to check</p>
	</div>
</div>
{'fraction_non_alphanumeric': 0.2009551338444137, 'fraction_numerical': 0.014327007666205857, 'mean_word_length': 2.0977033865317245, 'pattern_counts': {'":': 0, '<': 256, '<?xml version=': 0, '>': 258, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6309827', 'n_tokens_mistral': 3154, 'n_tokens_neox': 2558, 'n_words': 466}