Gowtham
This commit is contained in:
parent
344bb49a6c
commit
34ec59f9ca
@ -69,12 +69,7 @@ class Donor_controller extends BaseController
|
||||
'email' =>'required|min_length[6]|max_length[50]|valid_email|is_unique[donar_management.email]',
|
||||
'pan' =>'required|min_length[3]|max_length[20]',
|
||||
'address' =>'required|min_length[3]|max_length[70]',
|
||||
// 'country' =>'required',
|
||||
// 'state' =>'required',
|
||||
// 'city' =>'required',
|
||||
'pin_code' =>'required|min_length[6]|max_length[6]',
|
||||
'date_of_birth' =>'required|min_length[3]|max_length[20]',
|
||||
'gender' =>'required|min_length[3]|max_length[20]',
|
||||
'org_name' =>'required|min_length[3]|max_length[20]',
|
||||
'gstin' =>'required|min_length[3]|max_length[20]',
|
||||
'password' =>'required|min_length[8]|max_length[200]',
|
||||
@ -140,7 +135,7 @@ class Donor_controller extends BaseController
|
||||
'password' =>$this->request->getVar('password'),
|
||||
'signature' =>$signature,
|
||||
];
|
||||
//print_r($donorData);die();
|
||||
print_r($donorData);die();
|
||||
$model->save($donorData);
|
||||
$session = session();
|
||||
$session ->setFlashdata('success','Successful Registration');
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -180,6 +180,7 @@
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td><?php ?><a href="<?= base_url() ?>/edit_donation_cause/<?php echo $row['id'];?>">Edit</a></td>
|
||||
<td style="display:none;"></td>
|
||||
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -36,15 +36,15 @@
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<div class="sidebar" data-image="public/assets/img/sidebar-5.jpg">
|
||||
<!--
|
||||
Tip 1: You can change the color of the sidebar using: data-color="purple | blue | green | orange | red"
|
||||
<!--
|
||||
Tip 1: You can change the color of the sidebar using: data-color="purple | blue | green | orange | red"
|
||||
|
||||
Tip 2: you can also add an image using data-image tag
|
||||
-->
|
||||
Tip 2: you can also add an image using data-image tag
|
||||
-->
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h3> Donation </h3>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -116,7 +116,7 @@
|
||||
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="" class="nav-link">
|
||||
<a href="#" class="nav-link">
|
||||
<i class="fa fa-user fa-lg"></i>
|
||||
<span class="d-lg-block"> Profile</span>
|
||||
</a>
|
||||
@ -130,8 +130,11 @@
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-panel">
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -174,6 +174,7 @@
|
||||
<td><?php echo $row['ref_1'];?></td>
|
||||
<td><?php echo $row['donation_ref'];?></td>
|
||||
<td><a href="<?= base_url() ?>/edit_donation_data/<?php echo $row['id'];?>">Edit</a></td>
|
||||
<td style="display:none;"></td>
|
||||
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -121,7 +121,7 @@ $(document).ready(function(){
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2>Donation</h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -3,6 +3,10 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<style>
|
||||
.table{table-layout: fixed;
|
||||
width: 100%;}
|
||||
</style>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
@ -139,6 +143,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="main-panel">
|
||||
<nav class="navbar navbar-expand-lg " color-on-scroll="500">
|
||||
@ -198,8 +203,8 @@
|
||||
<td><?php echo $row['gender'];?></td>
|
||||
<td><?php echo $row['org_name'];?></td>
|
||||
<td><?php echo $row['gstin'];?></td>
|
||||
<td><center><a href="<?= base_url() ?>/edit_donor/<?php echo $row['id'];?>"><button >Edit</button></a></center></td>
|
||||
<!---<td style="display:none;"></td>--->
|
||||
<td><center><a href="<?= base_url() ?>/edit_donor/<?php echo $row['id'];?>">Edit</a></center></td>
|
||||
<td style="display:none;"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -163,7 +163,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -278,7 +278,8 @@
|
||||
<center>
|
||||
<a href="<?= base_url() ?>/edit_receipt/<?= $receipt['receipt_id'] ?>"><button type="button" class="btn btn-info " style="background-color: crimson; width: 160px; padding: 0px; line-height: 40px;">Edit Receipt</button></a>
|
||||
<a href="<?= base_url() ?>/PdfController/download_receipt/<?= $receipt['receipt_id'] ?>"><button type="button" class="btn btn-info "style="background-color: green; width: 160px; padding: 0px; line-height: 40px;">Download</button></a>
|
||||
<a href="<?= base_url() ?>/Send_mail/<?= $receipt['receipt_id'] ?>"><button type="button" class="btn btn-info " style="background-color: orange; width: 160px; padding: 0px; line-height: 40px;">Send Mail</button></a>
|
||||
<!--<a href="<?= base_url() ?>/Send_mail/<?= $receipt['receipt_id'] ?>"><button type="button" class="btn btn-info " style="background-color: orange; width: 160px; padding: 0px; line-height: 40px;">Send Mail</button></a>---->
|
||||
<a href="#"><button type="button" class="btn btn-info " style="background-color: orange; width: 160px; padding: 0px; line-height: 40px;">Send Mail</button></a>
|
||||
<a href="<?= base_url() ?>/all_receipt"><button type="button" class="btn btn-info "style="background-color: blue; width: 160px; padding: 0px; line-height: 40px;">Exit</button></a>
|
||||
|
||||
</center>
|
||||
|
||||
@ -101,7 +101,7 @@ $(document).ready(function(){
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -178,6 +178,7 @@
|
||||
<td><?php echo $row['cause_name'];?></td>
|
||||
<td><a href="<?= base_url() ?>/edit_receipt/<?php echo $row['receipt_id'];?>">Edit</a></td>
|
||||
<td><a href="<?= base_url() ?>/view_receipt/<?php echo $row['receipt_id'];?>">View Receipt</a></td>
|
||||
<td style="display:none;"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
@ -116,7 +116,7 @@ $(document).ready(function(){
|
||||
Sign UP
|
||||
</span>
|
||||
<div class="container-fluid">
|
||||
<form class="login100-form validate-form" method="post" action="<?= base_url()."/register"; ?>" enctype="multipart/form-data">
|
||||
<form class="login100-form validate-form" method="post" action="<?= base_url()."/signup"; ?>" enctype="multipart/form-data">
|
||||
<div class="row">
|
||||
<label for="label-name" class="col-md-2 col-form-label" style="color: white;">Enter your name :</label>
|
||||
<div class="col-md-4">
|
||||
@ -143,7 +143,7 @@ $(document).ready(function(){
|
||||
<div class="col-md-4" >
|
||||
<div class="wrap-input100 validate-input" data-validate="Gender">
|
||||
|
||||
<select class="input100" name="gender" required>
|
||||
<select class="input100" name="gender" >
|
||||
<option value="">select Gender</option>
|
||||
<option value="Male">Male</option>
|
||||
<option value="Female">Female</option>
|
||||
@ -262,8 +262,8 @@ $(document).ready(function(){
|
||||
|
||||
<div class="contact100-form-checkbox">
|
||||
<input class="input-checkbox100" id="ckb1" type="checkbox" name="remember-me">
|
||||
<label class="label-checkbox100" for="ckb1">
|
||||
<a class="txt1" href="<?= base_url()."/"; ?>">Already have an account</a>
|
||||
<label class="label" for="ckb1">
|
||||
<a class="txt1" href="<?= base_url()."/"; ?>">Already have an account ? Click here to Login</a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
@ -174,6 +174,7 @@
|
||||
<td><?php echo $row['amount'];?></td>
|
||||
<td><?php echo $row['donation_ref'];?></td>
|
||||
<td><a href="<?= base_url() ?>/edit_transaction/<?php echo $row['id'];?>">Edit</a></td>
|
||||
<td style="display:none;"></td>
|
||||
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<!-- <a href="http://www.creative-tim.com" class="simple-text"> -->
|
||||
Donation
|
||||
<h2> Donation </h2>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="nav">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529172.json
Normal file
1
writable/debugbar/debugbar_1609529172.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529381.json
Normal file
1
writable/debugbar/debugbar_1609529381.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529400.json
Normal file
1
writable/debugbar/debugbar_1609529400.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529622.json
Normal file
1
writable/debugbar/debugbar_1609529622.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529664.json
Normal file
1
writable/debugbar/debugbar_1609529664.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529707.json
Normal file
1
writable/debugbar/debugbar_1609529707.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529719.json
Normal file
1
writable/debugbar/debugbar_1609529719.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529723.json
Normal file
1
writable/debugbar/debugbar_1609529723.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529729.json
Normal file
1
writable/debugbar/debugbar_1609529729.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529873.json
Normal file
1
writable/debugbar/debugbar_1609529873.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529883.json
Normal file
1
writable/debugbar/debugbar_1609529883.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529948.json
Normal file
1
writable/debugbar/debugbar_1609529948.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609529981.json
Normal file
1
writable/debugbar/debugbar_1609529981.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609530016.json
Normal file
1
writable/debugbar/debugbar_1609530016.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609530033.json
Normal file
1
writable/debugbar/debugbar_1609530033.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609530389.json
Normal file
1
writable/debugbar/debugbar_1609530389.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609530393.json
Normal file
1
writable/debugbar/debugbar_1609530393.json
Normal file
File diff suppressed because one or more lines are too long
1
writable/debugbar/debugbar_1609530397.json
Normal file
1
writable/debugbar/debugbar_1609530397.json
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609527301;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609528322;_ci_previous_url|s:32:"http://localhost/donation/signup";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609529379;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609528689;_ci_previous_url|s:32:"http://localhost/donation/signup";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609530014;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
@ -1 +1 @@
|
||||
__ci_last_regenerate|i:1609525550;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
__ci_last_regenerate|i:1609526744;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609529041;_ci_previous_url|s:26:"http://localhost/donation/";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609529705;_ci_previous_url|s:37:"http://localhost/donation/all_receipt";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609528015;_ci_previous_url|s:44:"http://localhost/donation/all_donation_cause";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609530388;_ci_previous_url|s:35:"http://localhost/donation/all_donor";logged_user|s:1:"3";
|
||||
@ -0,0 +1 @@
|
||||
__ci_last_regenerate|i:1609530388;_ci_previous_url|s:37:"http://localhost/donation/all_receipt";logged_user|s:1:"3";
|
||||
Loading…
Reference in New Issue
Block a user