summaryrefslogtreecommitdiff
path: root/pages/ord/billing.html
blob: 6096c04d95eca0eb0069467ed8c7534b7f81cf03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[tmp page_title]__COMPANY__ -- [L]Billing Address[/L][/tmp]
[tmp display_class]noleft[/tmp]

[bounce href="[area href=ord/shipmode secure=1]" if="[value mv_same_billing]"]

[include include/checkout/initialization]

@_TOP_@
<!-- BEGIN CONTENT -->

<div class="col-md-1">&nbsp;</div>
<div class="col-md-10">

[if !variable NO_TAX_POPUP]
	[include include/checkout/tax_popup]
[/if]

[edisplay show_var=0 show_label=1 keep=1]

[set Check_billing]
[if !cgi mv_same_billing]
	&fatal=no
	&update=yes
	&fail=@@MV_PAGE@@
	[calc]
		if ($CGI->{b_state_cs_in} && !$CGI->{b_state}){
			$CGI->{b_state} = $CGI->{b_state_cs_in};
		}
		return;
	[/calc]
	[if session logged_in]
		[tmp tmp_save_billing][userdb function=set_billing nickname=default][/tmp]
	[/if]
	b_fname=required
	b_lname=required
	b_address1=required
	b_city=required
	b_country=required
	b_state=multistate
	b_zip=multizip
[/if]
[/set]

<form action="[area href="ord/shipmode" secure=1]" method="POST" class="form-horizontal">
<fieldset>
[form-session-id]
<input type="hidden" name="mv_action"        value="return">
<input type="hidden" name="mv_nextpage"      value="ord/shipmode">
<input type="hidden" name="mv_failpage"      value="ord/billing">
<input type="hidden" name="mv_form_profile"  value="Check_billing">

	[include include/checkout/billing_address]

	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
		<input type=button onclick="
				this.form.mv_form_profile.value='';
				this.form.mv_action.value='back';
				this.form.mv_nextpage.value='ord/shipping';
				this.form.submit();
			"
			value="[L]Back[/L]" class="btn btn-default">
		<input type=submit value="[L]Continue checkout[/L]" class="btn btn-primary">
		</div>
	</div>

</fieldset>
</form>

</div>
<div class="col-md-1">&nbsp;</div>

[tmp clear_errors][error all=1 comment="Clear errors"][/tmp]

<!-- END CONTENT -->
@_BOTTOM_@