just added self Registration,

customer must have voucher before register
This commit is contained in:
Ibnu Maksum
2017-03-14 05:15:08 +07:00
parent 2e34fa46e5
commit b6c55ff5a9
10 changed files with 370 additions and 19 deletions

View File

@ -113,11 +113,19 @@ switch ($action) {
$removeRequest->setArgument('numbers', $id);
$client->sendSync($removeRequest);
}
$d->delete();
$c->delete();
try{
$d->delete();
}catch(Exception $e){}
try{
$c->delete();
}catch(Exception $e){}
}else{
$d->delete();
$c->delete();
try{
$d->delete();
}catch(Exception $e){}
try{
$c->delete();
}catch(Exception $e){}
}
r2(U . 'customers/list', 's', $_L['User_Delete_Ok']);