angular.module("RdmApp").controller("aturcetakCtrl",["$scope","$rootScope","common","DTOptionsBuilder","DTColumnBuilder","$http","$q","ApiServer",function(t,e,a,r,l,o,c,n){t.saveTempatCetak=function(){$.blockUI({}),n.post("proktor/semester/cetaksave",{cetak_tanggal:e.aturcetak.cetak_tanggal,cetak_tempat:e.aturcetak.cetak_tempat,cetak_watermark:e.aturcetak.cetak_watermark},(function(t){$.unblockUI({}),null!==t&&t.success?(e.getsemester(),Swal.fire({type:"success",title:"Berhasil",showConfirmButton:!1,html:"Data Berhasil Disimpan",timer:1e3})):null==t?Swal.fire({type:"error",title:"Gagal",showConfirmButton:!0,html:"Data Gagal Disimpan"}):Swal.fire({type:"error",title:"Gagal",showConfirmButton:!0,html:t.message})}))}}]);