<div class="modal fade top" id="shipmentBulkUpdateModal" tabindex="-1" role="dialog" aria-labelledby="shipmentBulkUpdateLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg" role="document">
		<form id="shipmentBulkUpdate-form">
			<div class="modal-content">
				<div class="modal-header">
					<h5 class="modal-title" id="shipmentBulkUpdateLabel"><?php esc_html_e('Bulk Shipment Update', 'wpcargo-frontend-manager'); ?></h5>
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">
					<div class="shipment-list-wrapper mb-4 pb-4 border-bottom">
						<h6 class="font-weight-bold"><?php esc_html_e('Shipment List', 'wpcargo-frontend-manager'); ?></h6>
						<ul class="shipment-list list-group d-flex flex-row flex-wrap"></ul>
					</div>
					<?php if( has_action( 'before_wpcfe_bulk_update_form_fields' ) ): ?>
						<?php do_action( 'before_wpcfe_bulk_update_form_fields' ); ?>
					<?php endif; ?>
					<?php if( can_wpcfe_assign_client() ): ?>
						<div class="form-group">
							<div class="select-no-margin">
								<label><?php esc_html_e('Client','wpcargo-frontend-manager'); ?></label>
								<select name="registered_shipper" class="mdb-select mt-0 form-control browser-default" id="registered_shipper" >
									<option value=""><?php esc_html_e('-- Select Client --','wpcargo-frontend-manager'); ?></option>
									<?php if( !empty( $wpcargo_clients ) ): ?>
										<?php foreach( $wpcargo_clients as $key => $value ): ?>
											<option value="<?php echo $key; ?>" ><?php echo $value; ?></option>
										<?php endforeach; ?>	
									<?php  endif; ?>	                
								</select>
							</div>
						</div>
					<?php endif; ?>
					<?php if( can_wpcfe_assign_agent() ): ?>
						<div class="form-group">
							<div class="select-no-margin">
								<label><?php esc_html_e('Agent','wpcargo-frontend-manager'); ?></label>
								<select name="agent_fields" class="mdb-select mt-0 form-control browser-default" id="agent_fields" >
									<option value=""><?php esc_html_e('-- Select Agent --','wpcargo-frontend-manager'); ?></option>
									<?php if( !empty( $wpcargo_agents ) ): ?>
										<?php foreach( $wpcargo_agents as $agentID => $agentName ): ?>
											<option value="<?php echo $agentID; ?>" ><?php echo $agentName; ?></option>
										<?php endforeach; ?>	
									<?php  endif; ?>	                
								</select>
							</div>
						</div>
					<?php endif; ?>
					<?php if( in_array( 'administrator', (array)$user_roles ) ): ?>
						<div class="form-group">
							<div class="select-no-margin">
								<label><?php esc_html_e('Employee','wpcargo-frontend-manager'); ?></label>
								<select name="wpcargo_employee" class="mdb-select mt-0 form-control browser-default" id="wpcargo_employee" >
									<option value=""><?php esc_html_e('-- Select Employee --','wpcargo-frontend-manager'); ?></option>
									<?php if( !empty( $wpcargo_employees ) ): ?>
										<?php foreach( $wpcargo_employees as $empID => $empName ): ?>
											<option value="<?php echo $empID; ?>" ><?php echo $empName; ?></option>
										<?php endforeach; ?>	
									<?php endif; ?>	                
								</select>
							</div>
						</div>
					<?php endif; ?>
					<?php if( has_action( 'after_wpcfe_bulk_update_form_fields' ) ): ?>
						<?php do_action( 'after_wpcfe_bulk_update_form_fields' ); ?>
					<?php endif; ?>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal"><?php esc_html_e('Close','wpcargo-frontend-manager'); ?></button>
					<button type="submit" class="btn btn-sm btn-primary"><?php esc_html_e('Update','wpcargo-frontend-manager'); ?></button>
				</div>
			</div>
		</form>
	</div>
</div>