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

<div class="content-padding" ng-show="ready">

	<h1 class="left title"><i class="fa fa-coffee"></i>{{restaurant.name}} - Payment Info</h1>

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

	<div class="support-box-wrap box-content2">

		<form name="formStripeAccount" novalidate>

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

			<div class="no-box-content-color">

				<ul ng-class="{'submitted':stripeAccountSubmitted}" class="ul-inputs" ng-if="restaurant.stripeAccount.formStripe">

					<li class="li-input" ng-class="{'error':formStripeAccount.legalNamePayment.$invalid}">
						<div class="label">Legal Name for Payment:</div>
						<div class="input"><input type="text" required name="legalNamePayment" maxlength="250" ng-model="restaurant.payment_type.legal_name_payment" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.legalNamePayment.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.accountType.$invalid}">
						<div class="label">Type</div>
						<select name="accountType" required ng-model="restaurant.stripeAccount.account_type" ng-options="opt.value as opt.label for opt in accountType"></select>
						<div class="box-error">
							<small ng-show="formStripeAccount.accountType.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.taxID.$invalid}">
						<div class="label">SSN or EIN:</div>
						<div class="input"><input type="text" name="taxID" maxlength="250" ng-model="restaurant.payment_type.tax_id" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.taxID.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.routingNumber.$invalid}">
						<div class="label">Routing Number:</div>
						<div class="input"><input type="text" name="routingNumber" maxlength="250" ng-model="restaurant.stripeAccount.routing_number" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.routingNumber.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.accountNumber.$invalid}">
						<div class="label">Account Number:</div>
						<div class="input"><input type="text" name="accountNumber" maxlength="250" ng-model="restaurant.stripeAccount.account_number" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.accountNumber.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-show="!isSavingStripeAccount">

						<div>
							<button class="button save" ng-click="saveStripeAccount();">Save To Stripe</button>
							<span class="orange link" ng-show="isBeta" ng-click="testAccount()">Test account</span>
						</div>

					</li>

					<li class="li-input" ng-show="isSavingStripeAccount">
						<i class="fa fa-circle-o-notch fa-spin"></i>
					</li>

				</ul>

				<ul class="ul-inputs" ng-if="!restaurant.stripeAccount.formStripe && restaurant.payment_type.stripe_id">

					<li class="li-input">
						<div class="label">
							This restaurant already has a Stripe Account
						</div>
						<div class="input">
							<span class="link" ng-click="restaurant.stripeAccount.formStripe=true">Edit Stripe Account</span>
						</div>
					</li>

				</ul>

				<ul ng-class="{'submitted':stripeAccountSubmitted}" class="ul-inputs" ng-show="restaurant.stripeAccount.formStripeMigrate && !restaurant.stripeAccount.formStripe && !restaurant.payment_type.stripe_account_id">

					<li class="li-input" ng-show="!isMigrating">

						<span ng-show="restaurant.payment_type.stripe_id && restaurant.payment_type.stripe_account_id" class="link" ng-click="restaurant.stripeAccount.formStripe = false">Cancel Edit Stripe Account</span>

						<span class="link" ng-click="restaurant.stripeAccount.formStripe=true">Show Stripe create form</span>

					</li>

					<li class="li-input" ng-show="isMigrating">
						<i class="fa fa-circle-o-notch fa-spin"></i>
					</li>

				</ul>

			</div>
		</form>

	</div>

	<div class="support-box-wrap box-content2">

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

			<div class="no-box-content-color">
<commit_msg>Restaurants Aren't Being Paid #6563<commit_after><div class="top-pad"></div>

<div class="content-padding" ng-show="ready">

	<h1 class="left title"><i class="fa fa-coffee"></i>{{restaurant.name}} - Payment Info</h1>

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

	<div class="support-box-wrap box-content2">

		<form name="formStripeAccount" novalidate>

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

			<div class="no-box-content-color">

				<ul ng-class="{'submitted':stripeAccountSubmitted}" class="ul-inputs" ng-if="restaurant.stripeAccount.formStripe">

					<li class="li-input" ng-class="{'error':formStripeAccount.legalNamePayment.$invalid}">
						<div class="label">Legal Name for Payment:</div>
						<div class="input"><input type="text" required name="legalNamePayment" maxlength="250" ng-model="restaurant.payment_type.legal_name_payment" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.legalNamePayment.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.accountType.$invalid}">
						<div class="label">Type</div>
						<select name="accountType" required ng-model="restaurant.stripeAccount.account_type" ng-options="opt.value as opt.label for opt in accountType"></select>
						<div class="box-error">
							<small ng-show="formStripeAccount.accountType.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.taxID.$invalid}">
						<div class="label">SSN or EIN:</div>
						<div class="input"><input type="text" name="taxID" maxlength="250" ng-model="restaurant.payment_type.tax_id" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.taxID.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.routingNumber.$invalid}">
						<div class="label">Routing Number:</div>
						<div class="input"><input type="text" name="routingNumber" maxlength="250" ng-model="restaurant.stripeAccount.routing_number" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.routingNumber.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-class="{'error':formStripeAccount.accountNumber.$invalid}">
						<div class="label">Account Number:</div>
						<div class="input"><input type="text" name="accountNumber" maxlength="250" ng-model="restaurant.stripeAccount.account_number" placeholder=""></div>
						<div class="box-error">
							<small ng-show="formStripeAccount.accountNumber.$error.required">Required.</small>
						</div>
					</li>

					<li class="li-input" ng-show="!isSavingStripeAccount">

						<div>
							<button class="button save" ng-click="saveStripeAccount();">Save To Stripe</button>
							<span class="orange link" ng-show="isBeta" ng-click="testAccount()">Test account</span>
						</div>

					</li>

					<li class="li-input" ng-show="isSavingStripeAccount">
						<i class="fa fa-circle-o-notch fa-spin"></i>
					</li>

				</ul>

				<ul class="ul-inputs" ng-if="!restaurant.stripeAccount.formStripe && restaurant.payment_type.stripe_id">

					<li class="li-input">
						<div class="label">
							This restaurant already has a Stripe Account
						</div>
						<div class="input">
							<span class="link" ng-click="restaurant.stripeAccount.formStripe=true">Edit Stripe Account</span>
						</div>
					</li>

				</ul>

				<ul ng-class="{'submitted':stripeAccountSubmitted}" class="ul-inputs" ng-show="restaurant.stripeAccount.formStripeMigrate && !restaurant.stripeAccount.formStripe && !restaurant.payment_type.stripe_account_id">

					<li class="li-input" ng-show="!isMigrating">

						<span ng-show="restaurant.payment_type.stripe_id && restaurant.payment_type.stripe_account_id" class="link" ng-click="restaurant.stripeAccount.formStripe = false">Cancel Edit Stripe Account</span>

						<span class="link" ng-click="restaurant.stripeAccount.formStripe=true">Show Stripe create form</span>

					</li>

					<li class="li-input" ng-show="isMigrating">
						<i class="fa fa-circle-o-notch fa-spin"></i>
					</li>

				</ul>

			</div>
		</form>

	</div>

	<div class="support-box-wrap box-content2" ng-if="restaurant.payment_type.stripe_id">

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

			<div class="no-box-content-color">

{'fraction_non_alphanumeric': 0.18127621991609627, 'fraction_numerical': 0.004857584455729742, 'mean_word_length': 4.063722750139743, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 0, '>': 241, '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': '986048', 'n_tokens_mistral': 3766, 'n_tokens_neox': 2979, 'n_words': 477}