projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c110da0
)
disable quotation after ordering, #33852
author
Mark Wells
<mark@freeside.biz>
Mon, 27 Apr 2015 07:05:46 +0000
(
00:05
-0700)
committer
Mark Wells
<mark@freeside.biz>
Mon, 27 Apr 2015 07:05:46 +0000
(
00:05
-0700)
FS/FS/ClientAPI/MyAccount/quotation.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount/quotation.pm
b/FS/FS/ClientAPI/MyAccount/quotation.pm
index
ce2debd
..
787a099
100644
(file)
--- a/
FS/FS/ClientAPI/MyAccount/quotation.pm
+++ b/
FS/FS/ClientAPI/MyAccount/quotation.pm
@@
-211,6
+211,8
@@
sub quotation_order {
my $quotation = _quotation($session);
my $error = $quotation->order;
my $quotation = _quotation($session);
my $error = $quotation->order;
+ $quotation->set('disabled' => 'Y');
+ $error ||= $quotation->replace;
return { 'error' => $error };
}
return { 'error' => $error };
}