Skip to content

Commit

Permalink
Lihat lisensi.txt/README.txt bro. Penambahan form di STok Keluar Medi…
Browse files Browse the repository at this point in the history
…s untuk rekap stok keluar dan menu surat masuk sudah fix
  • Loading branch information
mas-elkhanza committed Dec 8, 2018
1 parent a718388 commit 990a6f0
Show file tree
Hide file tree
Showing 243 changed files with 165,518 additions and 989 deletions.
2 changes: 1 addition & 1 deletion build/built-jar.properties
@@ -1,4 +1,4 @@
#Wed, 05 Dec 2018 14:56:10 +0700
#Sat, 08 Dec 2018 22:51:28 +0700


/media/khanzamedia/Data/Source\ Java/SIMRSKhanza=
Binary file modified build/classes/inventory/DlgBarang.class
Binary file not shown.
Binary file modified build/classes/inventory/DlgPeresepanDokter$43.class
Binary file not shown.
Binary file modified build/classes/inventory/DlgPeresepanDokter$44.class
Binary file not shown.
Binary file modified build/classes/inventory/DlgPeresepanDokter.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$1.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$10.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$11.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$12.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$13.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$14.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$15.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$16.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$17.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$18.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$19.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$2.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$20.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$21.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$22.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$23.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$24.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$25.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$26.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$27.class
Binary file not shown.
Binary file added build/classes/ipsrs/DlgCariPengeluaranIpsrs$28.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$3.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$4.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$5.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$6.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$7.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$8.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs$9.class
Binary file not shown.
Binary file modified build/classes/ipsrs/DlgCariPengeluaranIpsrs.class
Binary file not shown.
Binary file modified build/classes/laporan/DlgSensusHarianPoli.class
Binary file not shown.
Binary file modified build/classes/permintaan/DlgCariPermintaanLab.class
Binary file not shown.
Binary file modified build/classes/simrskhanza/frmUtama.class
Binary file not shown.
384 changes: 384 additions & 0 deletions build/report/rptPengeluaranIpsrs2.jrxml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/setting/database.xml
Expand Up @@ -16,9 +16,9 @@
<entry key="URLAPIBPJS">https://dvlp.bpjs-kesehatan.go.id/vclaim-rest</entry>
<entry key="SECRETKEYAPIBPJS">3uX2876258</entry>
<entry key="CONSIDAPIBPJS">11030</entry>
<entry key="URLAPIAPLICARE">http://dvlp.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">1112</entry>
<entry key="CONSIDAPIAPLICARE">1000</entry>
<entry key="URLAPIAPLICARE">http://api.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">9yU9F682BF</entry>
<entry key="CONSIDAPIAPLICARE">3024</entry>
<entry key="URLAPIPCARE">https://dvlp.bpjs-kesehatan.go.id:9081/pcare-rest-v3.0</entry>
<entry key="SECRETKEYAPIPCARE">7nR046993B</entry>
<entry key="CONSIDAPIPCARE">1223</entry>
Expand Down
Binary file modified dist/SIMRSKhanza.jar
Binary file not shown.
384 changes: 384 additions & 0 deletions dist/report/rptPengeluaranIpsrs2.jrxml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/setting/database.xml
Expand Up @@ -16,9 +16,9 @@
<entry key="URLAPIBPJS">https://dvlp.bpjs-kesehatan.go.id/vclaim-rest</entry>
<entry key="SECRETKEYAPIBPJS">3uX2876258</entry>
<entry key="CONSIDAPIBPJS">11030</entry>
<entry key="URLAPIAPLICARE">http://dvlp.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">1112</entry>
<entry key="CONSIDAPIAPLICARE">1000</entry>
<entry key="URLAPIAPLICARE">http://api.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">9yU9F682BF</entry>
<entry key="CONSIDAPIAPLICARE">3024</entry>
<entry key="URLAPIPCARE">https://dvlp.bpjs-kesehatan.go.id:9081/pcare-rest-v3.0</entry>
<entry key="SECRETKEYAPIPCARE">7nR046993B</entry>
<entry key="CONSIDAPIPCARE">1223</entry>
Expand Down
7 changes: 6 additions & 1 deletion nbproject/private/private.xml
Expand Up @@ -2,6 +2,11 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="1"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
<group>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/widget/panelisi.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/inventory/DlgCariPembelian.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/setting/database.xml</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/ipsrs/DlgCariPengeluaranIpsrs.java</file>
</group>
</open-files>
</project-private>
Binary file added report/rptPengeluaranIpsrs2.jasper
Binary file not shown.
384 changes: 384 additions & 0 deletions report/rptPengeluaranIpsrs2.jrxml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions setting/database.xml
Expand Up @@ -16,9 +16,9 @@
<entry key="URLAPIBPJS">https://dvlp.bpjs-kesehatan.go.id/vclaim-rest</entry>
<entry key="SECRETKEYAPIBPJS">3uX2876258</entry>
<entry key="CONSIDAPIBPJS">11030</entry>
<entry key="URLAPIAPLICARE">http://dvlp.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">1112</entry>
<entry key="CONSIDAPIAPLICARE">1000</entry>
<entry key="URLAPIAPLICARE">http://api.bpjs-kesehatan.go.id/aplicaresws</entry>
<entry key="SECRETKEYAPIAPLICARE">9yU9F682BF</entry>
<entry key="CONSIDAPIAPLICARE">3024</entry>
<entry key="URLAPIPCARE">https://dvlp.bpjs-kesehatan.go.id:9081/pcare-rest-v3.0</entry>
<entry key="SECRETKEYAPIPCARE">7nR046993B</entry>
<entry key="CONSIDAPIPCARE">1223</entry>
Expand Down
179 changes: 107 additions & 72 deletions sik.sql

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/inventory/DlgBarang.form
Expand Up @@ -1167,7 +1167,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="18-11-2018"/>
<StringItem index="0" value="07-12-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down
84 changes: 46 additions & 38 deletions src/inventory/DlgBarang.java
Expand Up @@ -2919,10 +2919,12 @@ public JTable getTable() {
private void isHitung() {
if(this.isVisible()==true){
try {
if(tbDokter.getSelectedRow()>-1){
if (!beli.getText().equals("")) {
switch (pengaturanharga) {
case "Per Jenis":
if (!beli.getText().equals("")) {
switch (pengaturanharga) {
case "Per Jenis":
if(kdjns.getText().equals("")){
Valid.textKosong(kdjns,"Kode Jenis");
}else{
try{
rs=koneksi.prepareStatement("select * from setpenjualan where kdjns='"+kdjns.getText()+"'").executeQuery();
if(rs.next()){
Expand All @@ -2946,33 +2948,38 @@ private void isHitung() {
if(rs!=null){
rs.close();
}
} break;
case "Umum":
try{
rs=koneksi.prepareStatement("select * from setpenjualanumum").executeQuery();
if(rs.next()){
ralan.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("ralan") / 100)),100)));
kelas1.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas1") / 100)),100)));
kelas2.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas2") / 100)),100)));
kelas3.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas3") / 100)),100)));
utama.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("utama") / 100)),100)));
kelasvip.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("vip") / 100)),100)));
kelasvvip.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("vvip") / 100)),100)));
beliluar.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("beliluar") / 100)),100)));
jualbebas.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("jualbebas") / 100)),100)));
karyawan.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("karyawan") / 100)),100)));
}else{
JOptionPane.showMessageDialog(null,"Pengaturan harga umum masih kosong..!!");
TCari.requestFocus();
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
}finally{
if(rs!=null){
rs.close();
}
} break;
case "Per Barang":
}
}
break;
case "Umum":
try{
rs=koneksi.prepareStatement("select * from setpenjualanumum").executeQuery();
if(rs.next()){
ralan.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("ralan") / 100)),100)));
kelas1.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas1") / 100)),100)));
kelas2.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas2") / 100)),100)));
kelas3.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("kelas3") / 100)),100)));
utama.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("utama") / 100)),100)));
kelasvip.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("vip") / 100)),100)));
kelasvvip.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("vvip") / 100)),100)));
beliluar.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("beliluar") / 100)),100)));
jualbebas.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("jualbebas") / 100)),100)));
karyawan.setText(Double.toString(Valid.roundUp(Double.parseDouble(beli.getText()) + (Double.parseDouble(beli.getText()) * (rs.getDouble("karyawan") / 100)),100)));
}else{
JOptionPane.showMessageDialog(null,"Pengaturan harga umum masih kosong..!!");
TCari.requestFocus();
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
}finally{
if(rs!=null){
rs.close();
}
} break;
case "Per Barang":
if(Kd.getText().equals("")){
Valid.textKosong(Kd,"Kode Barang");
}else{
try{
rs=koneksi.prepareStatement("select * from setpenjualanperbarang where kode_brng='"+Kd.getText()+"'").executeQuery();
if(rs.next()){
Expand All @@ -2996,13 +3003,14 @@ private void isHitung() {
if(rs!=null){
rs.close();
}
} break;
default:
JOptionPane.showMessageDialog(null,"Pengaturan untuk obat/alkes/bhp belum disetting..!!");
break;
}
}
}
}
}
break;
default:
JOptionPane.showMessageDialog(null,"Pengaturan untuk obat/alkes/bhp belum disetting..!!");
break;
}
}
} catch (Exception e) {
System.out.println("Notifikasi : " + e);
}
Expand Down
2 changes: 1 addition & 1 deletion src/inventory/DlgPeresepanDokter.form
Expand Up @@ -501,7 +501,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="29-11-2018"/>
<StringItem index="0" value="08-12-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down
24 changes: 24 additions & 0 deletions src/inventory/DlgPeresepanDokter.java
Expand Up @@ -1037,6 +1037,30 @@ private void BtnSimpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIR
cmbJam.getSelectedItem()+":"+cmbMnt.getSelectedItem()+":"+cmbDtk.getSelectedItem(),status
})==true){
simpandata();
}else{
if(ChkRM.isSelected()==true){
Valid.autoNomer3("select ifnull(MAX(CONVERT(RIGHT(no_resep,6),signed)),0) from resep_obat where tgl_perawatan like '%"+DTPBeri.getSelectedItem().toString().substring(6,10)+"%' ",DTPBeri.getSelectedItem().toString().substring(6,10),6,NoResep);
}
if(Sequel.menyimpantf("resep_obat","?,?,?,?,?,?,?,?","Nomer Resep",8,new String[]{
NoResep.getText(),Valid.SetTgl(DTPBeri.getSelectedItem()+""),
cmbJam.getSelectedItem()+":"+cmbMnt.getSelectedItem()+":"+cmbDtk.getSelectedItem(),
TNoRw.getText(),KdDokter.getText(),Valid.SetTgl(DTPBeri.getSelectedItem()+""),
cmbJam.getSelectedItem()+":"+cmbMnt.getSelectedItem()+":"+cmbDtk.getSelectedItem(),status
})==true){
simpandata();
}else{
if(ChkRM.isSelected()==true){
Valid.autoNomer3("select ifnull(MAX(CONVERT(RIGHT(no_resep,6),signed)),0) from resep_obat where tgl_perawatan like '%"+DTPBeri.getSelectedItem().toString().substring(6,10)+"%' ",DTPBeri.getSelectedItem().toString().substring(6,10),6,NoResep);
}
if(Sequel.menyimpantf("resep_obat","?,?,?,?,?,?,?,?","Nomer Resep",8,new String[]{
NoResep.getText(),Valid.SetTgl(DTPBeri.getSelectedItem()+""),
cmbJam.getSelectedItem()+":"+cmbMnt.getSelectedItem()+":"+cmbDtk.getSelectedItem(),
TNoRw.getText(),KdDokter.getText(),Valid.SetTgl(DTPBeri.getSelectedItem()+""),
cmbJam.getSelectedItem()+":"+cmbMnt.getSelectedItem()+":"+cmbDtk.getSelectedItem(),status
})==true){
simpandata();
}
}
}
}else if(ubah==true){
Sequel.meghapus("resep_dokter","no_resep",NoResep.getText());
Expand Down

0 comments on commit 990a6f0

Please sign in to comment.