formatting
This commit is contained in:
parent
104b74f35f
commit
3c0badc950
@ -79,8 +79,6 @@ class CreateDocumentTransaction extends Job
|
||||
{
|
||||
$currencies = Currency::enabled()->pluck('rate', 'code')->toArray();
|
||||
|
||||
$total_amount = $this->model->amount;
|
||||
|
||||
$default_amount = (double) $this->request['amount'];
|
||||
|
||||
if ($this->model->currency_code == $this->request['currency_code']) {
|
||||
@ -103,7 +101,7 @@ class CreateDocumentTransaction extends Job
|
||||
$amount = (double) $convert_amount_model->getAmountConvertedFromDefault();
|
||||
}
|
||||
|
||||
$total_amount -= $this->model->paid;
|
||||
$total_amount = $this->model->amount - $this->model->paid;
|
||||
unset($this->model->reconciled);
|
||||
|
||||
// For amount cover integer
|
||||
|
Loading…
x
Reference in New Issue
Block a user