GWM:Toster
This commit is contained in:
parent
1d5a02d688
commit
60a01f1a7c
2
.env
2
.env
@ -14,7 +14,7 @@
|
||||
# ENVIRONMENT
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
# CI_ENVIRONMENT = development
|
||||
CI_ENVIRONMENT = development
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# APP
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/writable
|
||||
/vendor
|
||||
.env
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4" class="col-form-label">Client Name</label>
|
||||
<select class="form-control cleint-select SelExample" name="client_id" id="SelExample" <?= $sales['client_id'] == 0 ? 'required' : '' ?>>
|
||||
<?= $sales['client_id'] == 0 ? '<option value="">Select a Client</option>' : '' ?>
|
||||
<select class="form-control cleint-select SelExample" name="client_id" id="SelExample" <?= isset($sales['client_id']) ? '' : 'required' ?>>
|
||||
<?= isset($sales['client_id']) ? '' : '<option value="">Select a Client</option>' ?>
|
||||
<?php foreach ($client as $value) : ?>
|
||||
<?php if ((int)$value["isactive"] === 1) : ?>
|
||||
<option value="<?= $value["client_id"] ?>" <?= isset($sales['client_id']) && $sales['client_id'] == $value["client_id"] ? 'selected' : '' ?>>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user