This commit is contained in:
sriramv 2021-01-11 11:19:21 +05:30
parent 9d5ccab6d4
commit 55164c1482
9 changed files with 11 additions and 6 deletions

View File

@ -43,7 +43,7 @@ $routes->match(['get','post'],'all_donation_data','Dashboard::all_donation_data'
$routes->match(['get','post'],'donation_cause','Dashboard::donation_cause');
$routes->match(['get','post'],'all_donation_cause','Dashboard::all_donation_cause');
$routes->get('Send_mail/(:num)', 'Sendmail::Mail_to_donor/$1');
//$routes->add('edit_donor/(:num)', 'App\Catalog::productLookup');
//$routes->match(['get'],'edit_donor/(:any)', 'My_controller::edit_donor');

View File

@ -12,9 +12,9 @@ class Sendmail extends Controller
function Mail_to_donor()
{
$to = '';
$subject = "hai";
$message = 'CI4';
$to = 'gowthamceline46@gmail.com';
$subject = "Checking mail confic";
$message = 'Smtp mail send successfully';
$email = \Config\Services::email();

View File

@ -296,7 +296,7 @@
<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="#"><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="<?= 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>

View File

@ -0,0 +1 @@
__ci_last_regenerate|i:1610167808;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";

View File

@ -0,0 +1 @@
__ci_last_regenerate|i:1610098057;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";

View File

@ -0,0 +1 @@
__ci_last_regenerate|i:1610086916;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";

View File

@ -0,0 +1 @@
__ci_last_regenerate|i:1610170126;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";

View File

@ -0,0 +1 @@
__ci_last_regenerate|i:1610170146;_ci_previous_url|s:26:"http://localhost/donation/";

View File

@ -1 +1 @@
__ci_last_regenerate|i:1610086413;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";
__ci_last_regenerate|i:1610086916;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";