diff --git a/app/Controllers/Jobcard.php b/app/Controllers/Jobcard.php index ac25baa..72e2a16 100755 --- a/app/Controllers/Jobcard.php +++ b/app/Controllers/Jobcard.php @@ -940,7 +940,9 @@ class Jobcard extends BaseController } $product['qty'] = $pt->qty; $product['tax'] = $pt->tax; - $product['amount'] = $pt->amount / $pt->qty; //(isset($rework) ? 0 : $pt->amount / $pt->qty ); + $product['amount'] = $pt->amount; + // $product['amount'] = $pt->amount / $pt->qty; + //(isset($rework) ? 0 : $pt->amount / $pt->qty ); if(empty($pt->id)) { $this->JobcardProductModel->insert($product); $job_card_product_id = $this->JobcardProductModel->getInsertID(); diff --git a/app/Views/job_card_form.php b/app/Views/job_card_form.php index 75a74f3..965c709 100755 --- a/app/Views/job_card_form.php +++ b/app/Views/job_card_form.php @@ -709,7 +709,7 @@ $(document).ready(async function() { newRow += ''; newRow += '' + '