Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
dcarfixers
Commits
d384fd56
Commit
d384fd56
authored
Aug 06, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change otp verified field
parent
1e3a3df2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Customer_model.php
application/models/Customer_model.php
+1
-0
No files found.
application/models/Customer_model.php
View file @
d384fd56
...
...
@@ -42,6 +42,7 @@ class Customer_model extends CI_Model {
return
3
;
}
}
$customer_data
[
'is_otp_verified'
]
=
1
;
$status
=
$this
->
db
->
insert
(
'customers'
,
$customer_data
);
if
(
$status
&&
!
empty
(
$saved_vehicles
)
&&
!
empty
(
$cust_id
=
$this
->
db
->
insert_id
())){
$this
->
db
->
query
(
"UPDATE customer_vehicle SET status='1',customer_id='
$cust_id
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment