Skip to content

Commit

Permalink
upload folder vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
oyasuryana committed Mar 25, 2021
1 parent d5079dd commit 98ec0f0
Show file tree
Hide file tree
Showing 2,174 changed files with 465,388 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ phpunit
#-------------------------
# Composer
#-------------------------
vendor/
#vendor/

#-------------------------
# IDE / Development Files
Expand Down
1 change: 0 additions & 1 deletion app/Config/Routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
$routes->get('/dashboard/siswa','Siswa::dashboardSiswa',['filter'=>'otentifikasisiswa']);
$routes->get('/siswa/histori-bayar','Siswa::historiPembayaran',['filter'=>'otentifikasisiswa']);


$routes->get('/bayar', 'Pembayaran::index',['filter'=>'otentifikasi']);
$routes->post('/bayar/simpan', 'Pembayaran::simpanBayar',['filter'=>'otentifikasi']);
$routes->post('/bayar/detailsiswa', 'Pembayaran::detailSiswa',['filter'=>'otentifikasi']);
Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Laporan.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function tampilkanPenerimaan(){

$this->bayar->join('siswa','siswa.nisn=pembayaran.nisn');
$this->bayar->join('kelas','kelas.id_kelas=siswa.id_kelas');
$data['listPembayaran']=$this->bayar->where('pembayaran.tgl_bayar',$this->request->getPost('txtTglBayar'))->findAll();
$data['listPembayaran']=$this->bayar->where('pembayaran.nisn',$this->request->getPost('txtNoIndukSiswaNasional '))->findAll();
$arrBulan=[1=>'Januari','Februari','Maret','April','Mei','Juni','Juli','Agustus','September','Oktober','Nopember','Desember'];
$htmlData=null;
$no=null;
Expand Down
2 changes: 2 additions & 0 deletions app/Controllers/Pembayaran.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function index()
$this->bayar->join('kelas','kelas.id_kelas=siswa.id_kelas');
$data['listPembayaran']=$this->bayar->where('tgl_bayar',date('Y-m-d'))->findAll();
$data['waktu']=$this->waktu;

return view('Bayar/form-bayar',$data);
}

Expand All @@ -35,6 +36,7 @@ public function detailSiswa(){
$this->siswa->join('kelas','kelas.id_kelas=siswa.id_kelas');
$this->siswa->join('spp','spp.id_spp=siswa.id_spp');
$data=$this->siswa->where('nisn',$this->request->getPost('txtNoIndukSiswaNasional'))->find();

echo json_encode($data,JSON_FORCE_OBJECT);
}

Expand Down
2 changes: 1 addition & 1 deletion app/Views/Laporan/histori-pembayaran.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
</div>
</div>

<div id="hasilCariHistori"></div>
<div id="hasilCariHistori" style="background-color:#dedede"></div>
<?=$this->endSection();?>
1 change: 0 additions & 1 deletion app/Views/Layout/Footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
<script src="/js/jquery-3.6.0.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/App.js"></script>
<!-- <script src="/js/Contoh.js"></script>-->
</body>
</html>
6 changes: 3 additions & 3 deletions app/Views/Layout/Modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Galat</h4>
<h4 class="modal-title">Error</h4>
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<!-- Modal body -->
<div class="modal-body">
Maaf data yang anda cari tidak ada
Sory bro data ga ada
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Tutup</button>
<button type="button" class="btn btn-info" data-dismiss="modal">Close</button>
</div>
</div>
Expand Down
37 changes: 37 additions & 0 deletions public/js/Contoh.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
$(document).ready(function(){

$('#btnCari').click(function(){
var nisn= $('#txtNisn').val();
var url = window.location.origin+'/bayar/detailsiswa';

$.post(url,{txtNoIndukSiswaNasional:nisn},function(data){
if($.parseJSON(data)[0]!=null){
$('#txtNamaSiswa').val($.parseJSON(data)[0]['nama']);
$('#txtKelasSiswa').val($.parseJSON(data)[0]['nama_kelas']);
$('#txtTarifSpp').val($.parseJSON(data)[0]['nominal']);
$('#txtIdTarifSpp').val($.parseJSON(data)[0]['id_spp']);
$('#btnSimpan').prop('disabled',false);
console.log(data);

} else {
$('#txtNamaSiswa').val('');
$('#txtKelasSiswa').val('');
$('#txtTarifSpp').val('');
$('#txtIdTarifSpp').val('');

$('#myModal').on('hidden.bs.modal', function () {
$('#btnSimpan').prop('disabled',true);
$('#txtNisn').val('');
$('#txtNisn').focus();
});
}
});

});






});
7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit6b72bea940179d44a460b54f58e87c2b::getLoader();
127 changes: 127 additions & 0 deletions vendor/codeigniter4/framework/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
#-------------------------
# Operating Specific Junk Files
#-------------------------

# OS X
.DS_Store
.AppleDouble
.LSOverride

# OS X Thumbnails
._*

# Windows image file caches
Thumbs.db
ehthumbs.db
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# Linux
*~

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

#-------------------------
# Environment Files
#-------------------------
# These should never be under version control,
# as it poses a security risk.
.env
.vagrant
Vagrantfile

#-------------------------
# Temporary Files
#-------------------------
writable/cache/*
!writable/cache/index.html

writable/logs/*
!writable/logs/index.html

writable/session/*
!writable/session/index.html

writable/uploads/*
!writable/uploads/index.html

writable/debugbar/*

php_errors.log

#-------------------------
# User Guide Temp Files
#-------------------------
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*

#-------------------------
# Test Files
#-------------------------
tests/coverage*

# Don't save phpunit under version control.
phpunit

#-------------------------
# Composer
#-------------------------
vendor/

#-------------------------
# IDE / Development Files
#-------------------------

# Modules Testing
_modules/*

# phpenv local config
.php-version

# Jetbrains editors (PHPStorm, etc)
.idea/
*.iml

# Netbeans
nbproject/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
.nb-gradle/

# Sublime Text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
.phpintel
/api/

# Visual Studio Code
.vscode/

/results/
/phpunit*.xml
/.phpunit.*.cache

22 changes: 22 additions & 0 deletions vendor/codeigniter4/framework/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2014-2019 British Columbia Institute of Technology
Copyright (c) 2019-2021 CodeIgniter Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
56 changes: 56 additions & 0 deletions vendor/codeigniter4/framework/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# CodeIgniter 4 Framework

## What is CodeIgniter?

CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure.
More information can be found at the [official site](http://codeigniter.com).

This repository holds the distributable version of the framework,
including the user guide. It has been built from the
[development repository](https://github.com/codeigniter4/CodeIgniter4).

More information about the plans for version 4 can be found in [the announcement](http://forum.codeigniter.com/thread-62615.html) on the forums.

The user guide corresponding to this version of the framework can be found
[here](https://codeigniter4.github.io/userguide/).


## Important Change with index.php

`index.php` is no longer in the root of the project! It has been moved inside the *public* folder,
for better security and separation of components.

This means that you should configure your web server to "point" to your project's *public* folder, and
not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the
framework are exposed.

**Please** read the user guide for a better explanation of how CI4 works!

## Repository Management

We use Github issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
FEATURE REQUESTS.

This repository is a "distribution" one, built by our release preparation script.
Problems with it can be raised on our forum, or as issues in the main repository.

## Contributing

We welcome contributions from the community.

Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing.md) section in the development repository.

## Server Requirements

PHP version 7.2 or higher is required, with the following extensions installed:

- [intl](http://php.net/manual/en/intl.requirements.php)
- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library

Additionally, make sure that the following extensions are enabled in your PHP:

- json (enabled by default - don't turn it off)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)
- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php)
- xml (enabled by default - don't turn it off)
6 changes: 6 additions & 0 deletions vendor/codeigniter4/framework/app/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
15 changes: 15 additions & 0 deletions vendor/codeigniter4/framework/app/Common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

/**
* The goal of this file is to allow developers a location
* where they can overwrite core procedural functions and
* replace them with their own. This file is loaded during
* the bootstrap process and is called during the frameworks
* execution.
*
* This can be looked at as a `master helper` file that is
* loaded early on, and may also contain additional functions
* that you'd like to use throughout your entire application
*
* @link: https://codeigniter4.github.io/CodeIgniter4/
*/
Loading

0 comments on commit 98ec0f0

Please sign in to comment.