summaryrefslogtreecommitdiff
path: root/ng_selfservice/quotation_order.php
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-04-26 13:52:36 -0700
committerMark Wells <mark@freeside.biz>2015-04-26 13:52:36 -0700
commit89b934cfce5226556eb5f2ebb8377fb87d278a63 (patch)
treef3ceda097080a33d8c0881fafb87579701dc199d /ng_selfservice/quotation_order.php
parent23d1a5787502e9e76338f6a7878b131f04741575 (diff)
selfservice quotations, #33852
Diffstat (limited to 'ng_selfservice/quotation_order.php')
-rw-r--r--ng_selfservice/quotation_order.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/ng_selfservice/quotation_order.php b/ng_selfservice/quotation_order.php
new file mode 100644
index 000000000..d35eacbb2
--- /dev/null
+++ b/ng_selfservice/quotation_order.php
@@ -0,0 +1,15 @@
+<? require('elements/session.php');
+
+$dest = 'services.php';
+
+$args = array( 'session_id' => $_COOKIE['session_id'] );
+
+$results = $freeside->quotation_order($args);
+
+if ( isset($results['error']) && $results['error'] ) {
+ $dest = 'quotation.php?error=' . $results['error'];
+}
+
+header("Location:$dest");
+
+?>