From 304e6f01def38d8da31f8c176be9bf9e16c9054b Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Wed, 12 Apr 2017 14:58:01 +0530 Subject: [PATCH] Supplier details added --- application/views/editSupplier.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/application/views/editSupplier.php b/application/views/editSupplier.php index 30acce6c..4699e136 100644 --- a/application/views/editSupplier.php +++ b/application/views/editSupplier.php @@ -16,8 +16,8 @@ $PaymentTerms = ''; $PaymentDays = ''; $PayableAT = ''; $IsActive = ''; - - +$PaymentBefore = ''; +$PaymentAfter = ''; if(!empty($supplier)) { foreach ($supplier as $uf) @@ -48,6 +48,18 @@ if(!empty($supplier)) { $IsActive = ''; } + $Paymentchk = $uf->PaymentDays; + if($Paymentchk == 'Before' ) + { + $PaymentBefore = 'checked'; + $PaymentAfter = ''; + } + else + { + $PaymentAfter = 'checked'; + $PaymentBefore = ''; + } + } } @@ -363,8 +375,8 @@ function onlyAlphabets(evt) {
Payment Date
- - + +