This commit is contained in:
parent
9d5ccab6d4
commit
55164c1482
@ -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'],'donation_cause','Dashboard::donation_cause');
|
||||||
$routes->match(['get','post'],'all_donation_cause','Dashboard::all_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->add('edit_donor/(:num)', 'App\Catalog::productLookup');
|
||||||
//$routes->match(['get'],'edit_donor/(:any)', 'My_controller::edit_donor');
|
//$routes->match(['get'],'edit_donor/(:any)', 'My_controller::edit_donor');
|
||||||
|
|||||||
@ -12,9 +12,9 @@ class Sendmail extends Controller
|
|||||||
function Mail_to_donor()
|
function Mail_to_donor()
|
||||||
{
|
{
|
||||||
|
|
||||||
$to = '';
|
$to = 'gowthamceline46@gmail.com';
|
||||||
$subject = "hai";
|
$subject = "Checking mail confic";
|
||||||
$message = 'CI4';
|
$message = 'Smtp mail send successfully';
|
||||||
|
|
||||||
$email = \Config\Services::email();
|
$email = \Config\Services::email();
|
||||||
|
|
||||||
|
|||||||
@ -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() ?>/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() ?>/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() ?>/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>
|
<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>
|
</center>
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
__ci_last_regenerate|i:1610167808;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";
|
||||||
@ -0,0 +1 @@
|
|||||||
|
__ci_last_regenerate|i:1610098057;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";
|
||||||
@ -0,0 +1 @@
|
|||||||
|
__ci_last_regenerate|i:1610086916;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";
|
||||||
@ -0,0 +1 @@
|
|||||||
|
__ci_last_regenerate|i:1610170126;_ci_previous_url|s:40:"http://localhost/donation/view_receipt/6";logged_user|s:1:"3";
|
||||||
@ -0,0 +1 @@
|
|||||||
|
__ci_last_regenerate|i:1610170146;_ci_previous_url|s:26:"http://localhost/donation/";
|
||||||
@ -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";
|
||||||
Loading…
Reference in New Issue
Block a user