<commit_before><div class="top-pad"></div>

<div class="content-padding">

	<h1 class="title box-title"><i class="fa fa-user"></i>{{staff.name}}</h1>
	<div class="divider"></div>
	<div class="bar-loader bar-loader-search bar-loader-boxes-top" ng-class="{'bar-loader-loading': loading}"></div>

	<div class="support-boxes">

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Info</h1>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">Name</div>
						<div class="field-value">{{staff.name}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Phone</div>
						<div class="field-value"><a href ng-click="callText(staff.phone)">{{staff.phone | formatPhone}}</a></div>
					</div>
					<div class="field-row">
						<div class="field-key">Email</div>
						<div class="field-value"><a target="_system" href="mailto:{{staff.email}}">{{staff.email}}</a></div>
					</div>
					<div class="field-row">
						<div class="field-key">Login</div>
						<div class="field-value">{{staff.login}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Timezone</div>
						<div class="field-value">{{staff.timezone}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Active</div>
						<div class="field-value">
							<label class="switch-wrap">
								<input type="checkbox" ng-change="change_status();" class="switch" ng-model="staff.active"/><div></div>
							</label>
						</div>
					</div>
					<div class="field-row" ng-if="staff.date_terminated_formatted">
						<div class="field-key">Inactive since</div>
						<div class="field-value">{{staff.date_terminated_formatted}}</div>
					</div>
				</div>

				<br><br>
				<div class="double-cols">
					<a href="/settlement/drivers/payments?limit=20&page=1&fullcount&search={{staff.name}}&type=0&status=0&id_driver={{staff.id_admin}}"><button class="button button-empty button-border button-orange"><i class="fa fa-university"></i>&nbsp;&nbsp;Payment List</button></a>

					<a href="/settlement/drivers/payment/arbitrary/{{staff.id_admin}}"><button class="button button-empty button-border button-green"><i class="fa fa-money"></i>&nbsp;&nbsp;Arbitrary Payment</button></a>
				</div>
			</div>

		</div>

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Permissions</h1>
				<div class="support-box-header-actions-wrap">
					<div class="support-box-header-actions">
						<a href="/permission/staff/{{staff.login}}"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Edit</button></a>
					</div>
				</div>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">Groups</div>
						<div class="field-value">
							<span class="staff-community-repeat" ng-repeat="group in staff.groups_description">
								{{group}}
							</span>
							&nbsp;&nbsp;&nbsp;&nbsp;<span class="link orange" ng-click="assignGroups()"><i class="fa fa-plus-circle"></i></span>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Payment Info</h1>
				<div class="support-box-header-actions-wrap">
					<div class="support-box-header-actions">
						<a href="/staff/{{staff.login}}/pexcard" ng-if="staff.pexcard.active"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Add PEX Funds</button></a>
						<a href="/pexcard/card/driver/{{staff.id_admin}}" ng-if="!staff.pexcard.active"><button class="button button-small button-empty button-green"><i class="fa fa-plus"></i>&nbsp;&nbsp;Add PEX Card</button></a>
						<a href="/staff/{{staff.login}}/payinfo"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Edit</button></a>
						<span  ng-if="!staff.verified">
							<spinner-action-button button-title="Reverify" icon="check" action="reverify"></spinner-action-button>
						</span>
					</div>
				</div>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">PEX Card</div>
						<div class="field-value">
							<span class="tag tag-green" ng-if="staff.pexcard.active">Active</span>
							<span class="tag tag-red" ng-if="!staff.pexcard.active">Inctive</span>
						</div>
					</div>
					<div class="field-row" ng-if="staff.pexcard.active">
						<div class="field-key">PEX Serial</div>
						<div class="field-value">{{staff.pexcard.card_serial}}</div>
					</div>
					<div class="field-row" ng-if="staff.pexcard.active">
						<div class="field-key">PEX Last Four</div>
						<div class="field-value">{{staff.pexcard.last_four}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Stripe Status</div><commit_msg>fixed #6199<commit_after><div class="top-pad"></div>

<div class="content-padding">

	<h1 class="title box-title"><i class="fa fa-user"></i>{{staff.name}}</h1>
	<div class="divider"></div>
	<div class="bar-loader bar-loader-search bar-loader-boxes-top" ng-class="{'bar-loader-loading': loading}"></div>

	<div class="support-boxes">

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Info</h1>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">Name</div>
						<div class="field-value">{{staff.name}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Phone</div>
						<div class="field-value"><a href ng-click="callText(staff.phone)">{{staff.phone | formatPhone}}</a></div>
					</div>
					<div class="field-row">
						<div class="field-key">Email</div>
						<div class="field-value"><a target="_system" href="mailto:{{staff.email}}">{{staff.email}}</a></div>
					</div>
					<div class="field-row">
						<div class="field-key">Login</div>
						<div class="field-value">{{staff.login}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Timezone</div>
						<div class="field-value">{{staff.timezone}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Active</div>
						<div class="field-value">
							<label class="switch-wrap">
								<input type="checkbox" ng-change="change_status();" class="switch" ng-model="staff.active"/><div></div>
							</label>
						</div>
					</div>
					<div class="field-row" ng-if="staff.date_terminated_formatted">
						<div class="field-key">Inactive since</div>
						<div class="field-value">{{staff.date_terminated_formatted}}</div>
					</div>
				</div>

				<br><br>
				<div class="double-cols">
					<a href="/settlement/drivers/payments?limit=20&page=1&fullcount&search={{staff.name}}&type=0&status=0&id_driver={{staff.id_admin}}"><button class="button button-empty button-border button-orange"><i class="fa fa-university"></i>&nbsp;&nbsp;Payment List</button></a>

					<a href="/settlement/drivers/payment/arbitrary/{{staff.id_admin}}"><button class="button button-empty button-border button-green"><i class="fa fa-money"></i>&nbsp;&nbsp;Arbitrary Payment</button></a>
				</div>
			</div>

		</div>

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Permissions</h1>
				<div class="support-box-header-actions-wrap">
					<div class="support-box-header-actions">
						<a href="/permission/staff/{{staff.login}}"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Edit</button></a>
					</div>
				</div>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">Groups</div>
						<div class="field-value">
							<span class="staff-community-repeat" ng-repeat="group in staff.groups_description">
								{{group}}
							</span>
							&nbsp;&nbsp;&nbsp;&nbsp;<span class="link orange" ng-click="assignGroups()"><i class="fa fa-plus-circle"></i></span>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="support-box-wrap box-content2">
			<div class="support-box-wrap-header">
				<h1>Payment Info</h1>
				<div class="support-box-header-actions-wrap">
					<div class="support-box-header-actions">
						<a href="/staff/{{staff.login}}/pexcard" ng-if="staff.pexcard.active"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Add PEX Funds</button></a>
						<a href="/pexcard/card/driver/{{staff.id_admin}}" ng-if="!staff.pexcard.active"><button class="button button-small button-empty button-green"><i class="fa fa-plus"></i>&nbsp;&nbsp;Add PEX Card</button></a>
						<a href="/staff/{{staff.login}}/payinfo"><button class="button button-small button-empty button-green"><i class="fa fa-pencil"></i>&nbsp;&nbsp;Edit</button></a>
						<span  ng-if="!staff.verified">
							<spinner-action-button button-title="Reverify" icon="check" action="reverify"></spinner-action-button>
						</span>
					</div>
				</div>
				<div class="divider"></div>
			</div>

			<div class="no-box-content-color">
				<div class="field-container">
					<div class="field-row">
						<div class="field-key">PEX Card</div>
						<div class="field-value">
							<span class="tag tag-green" ng-if="staff.pexcard.active">Active</span>
							<span class="tag tag-red" ng-if="!staff.pexcard.active">Inactive</span>
						</div>
					</div>
					<div class="field-row" ng-if="staff.pexcard.active">
						<div class="field-key">PEX Serial</div>
						<div class="field-value">{{staff.pexcard.card_serial}}</div>
					</div>
					<div class="field-row" ng-if="staff.pexcard.active">
						<div class="field-key">PEX Last Four</div>
						<div class="field-value">{{staff.pexcard.last_four}}</div>
					</div>
					<div class="field-row">
						<div class="field-key">Stripe Status</div>
{'fraction_non_alphanumeric': 0.21688500727802038, 'fraction_numerical': 0.0034934497816593887, 'mean_word_length': 3.676043557168784, 'pattern_counts': {'":': 0, '<': 373, '<?xml version=': 0, '>': 373, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1462310', 'n_tokens_mistral': 4400, 'n_tokens_neox': 3474, 'n_words': 542}