Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-mbs committed Mar 20, 2024
1 parent 5fdd671 commit 7360ad2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/app/pages/doc/goodsissue.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ public function __construct($docid = 0, $basedocid = 0) {
$this->_doc->headerdata['prepaid'] = abs($basedoc->payamount);
}


if($order->state == Document::STATE_INPROCESS) {
$order->updateStatus(Document::STATE_READYTOSHIP);
}
if($order->headerdata['store']>0) {
$this->docform->store->setValue($order->headerdata['store']);
$order->unreserve();
Expand All @@ -237,9 +239,7 @@ public function __construct($docid = 0, $basedocid = 0) {
// $this->docform->editpayed->setText($this->docform->editpayamount->getText());
// $this->docform->payed->setText($this->docform->payamount->getText());

if($order->state == Document::STATE_INPROCESS) {
$order->updateStatus(Document::STATE_READYTOSHIP);
}



}
Expand Down

0 comments on commit 7360ad2

Please sign in to comment.