diff --git a/.Trash-1000/files/2018_03_19_054652_create_guarantors_table.php b/.Trash-1000/files/2018_03_19_054652_create_guarantors_table.php deleted file mode 100644 index f75b052..0000000 --- a/.Trash-1000/files/2018_03_19_054652_create_guarantors_table.php +++ /dev/null @@ -1,37 +0,0 @@ -increments('id'); - $table->integer('user_id'); - $table->integer('loan_id'); - $table->float('amount'); - $table->date('received_date'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('guarants', function (Blueprint $table) { - // - }); - } -} diff --git a/.Trash-1000/files/f b/.Trash-1000/files/f deleted file mode 100644 index 4d1ae35..0000000 --- a/.Trash-1000/files/f +++ /dev/null @@ -1 +0,0 @@ -f \ No newline at end of file diff --git a/.Trash-1000/info/2018_03_19_054652_create_guarantors_table.php.trashinfo b/.Trash-1000/info/2018_03_19_054652_create_guarantors_table.php.trashinfo deleted file mode 100644 index adb4f6a..0000000 --- a/.Trash-1000/info/2018_03_19_054652_create_guarantors_table.php.trashinfo +++ /dev/null @@ -1,3 +0,0 @@ -[Trash Info] -Path=database/migrations/2018_03_19_054652_create_guarantors_table.php -DeletionDate=2018-03-19T09:08:14 diff --git a/.Trash-1000/info/f.trashinfo b/.Trash-1000/info/f.trashinfo deleted file mode 100644 index 4c6b903..0000000 --- a/.Trash-1000/info/f.trashinfo +++ /dev/null @@ -1,3 +0,0 @@ -[Trash Info] -Path=resources/views/f -DeletionDate=2018-03-20T06:34:23 diff --git a/cron.bat b/cron.bat deleted file mode 100644 index 7b7ec3d..0000000 --- a/cron.bat +++ /dev/null @@ -1 +0,0 @@ -c:\xampp\php\php.exe d:\sacco\artisan schedule:run 1>> NUL 2>&1 \ No newline at end of file diff --git a/database/database.db b/database/database.db deleted file mode 100644 index a03a50e..0000000 Binary files a/database/database.db and /dev/null differ diff --git a/database/try.db b/database/try.db deleted file mode 100644 index b9ae412..0000000 Binary files a/database/try.db and /dev/null differ diff --git a/loanguard.bat b/loanguard.bat deleted file mode 100644 index 653a5e7..0000000 --- a/loanguard.bat +++ /dev/null @@ -1,2 +0,0 @@ -c:\xampp\php\php.exe c:\xampp\htdocs\sacco\artisan LoanGuard:guard -exit \ No newline at end of file diff --git a/public/images/faces/developer-contact-qr.png b/public/images/faces/developer-contact-qr.png deleted file mode 100644 index c895c5c..0000000 Binary files a/public/images/faces/developer-contact-qr.png and /dev/null differ diff --git a/public/images/faces/developer.jpg b/public/images/faces/developer.jpg deleted file mode 100644 index 53675fa..0000000 Binary files a/public/images/faces/developer.jpg and /dev/null differ diff --git a/public/images/faces/marc.jpg b/public/images/faces/marc.jpg deleted file mode 100644 index 065372b..0000000 Binary files a/public/images/faces/marc.jpg and /dev/null differ diff --git a/public/images/faces/placeholder.jpg b/public/images/faces/placeholder.jpg deleted file mode 100644 index 065372b..0000000 Binary files a/public/images/faces/placeholder.jpg and /dev/null differ diff --git a/public/images/faces/placeholder1.jpg b/public/images/faces/placeholder1.jpg deleted file mode 100644 index af6401d..0000000 Binary files a/public/images/faces/placeholder1.jpg and /dev/null differ diff --git a/public/images/products/328eadc7.png b/public/images/products/328eadc7.png deleted file mode 100644 index 2bf51cb..0000000 Binary files a/public/images/products/328eadc7.png and /dev/null differ diff --git a/public/images/products/3a6bbb69.png b/public/images/products/3a6bbb69.png deleted file mode 100644 index 050c1f2..0000000 Binary files a/public/images/products/3a6bbb69.png and /dev/null differ diff --git a/public/images/products/4c4e5c40.jpeg b/public/images/products/4c4e5c40.jpeg deleted file mode 100644 index 1f0983e..0000000 Binary files a/public/images/products/4c4e5c40.jpeg and /dev/null differ diff --git a/public/images/products/5cde4ef2.png b/public/images/products/5cde4ef2.png deleted file mode 100644 index 1042d95..0000000 Binary files a/public/images/products/5cde4ef2.png and /dev/null differ diff --git a/public/images/products/6976ea8d.jpeg b/public/images/products/6976ea8d.jpeg deleted file mode 100644 index e187091..0000000 Binary files a/public/images/products/6976ea8d.jpeg and /dev/null differ diff --git a/public/images/products/6b16c131.jpeg b/public/images/products/6b16c131.jpeg deleted file mode 100644 index b10a763..0000000 Binary files a/public/images/products/6b16c131.jpeg and /dev/null differ diff --git a/public/images/products/a166f331.jpeg b/public/images/products/a166f331.jpeg deleted file mode 100644 index 1f0983e..0000000 Binary files a/public/images/products/a166f331.jpeg and /dev/null differ diff --git a/public/images/products/a781d630.png b/public/images/products/a781d630.png deleted file mode 100644 index 68e69e7..0000000 Binary files a/public/images/products/a781d630.png and /dev/null differ diff --git a/public/images/products/bbadad33.jpeg b/public/images/products/bbadad33.jpeg deleted file mode 100644 index 493f96e..0000000 Binary files a/public/images/products/bbadad33.jpeg and /dev/null differ diff --git a/public/images/products/d1d6417d.png b/public/images/products/d1d6417d.png deleted file mode 100644 index f913b24..0000000 Binary files a/public/images/products/d1d6417d.png and /dev/null differ diff --git a/public/images/products/d3ce5017 b/public/images/products/d3ce5017 deleted file mode 100644 index 868ae49..0000000 Binary files a/public/images/products/d3ce5017 and /dev/null differ diff --git a/public/images/products/d6d482a7.jpeg b/public/images/products/d6d482a7.jpeg deleted file mode 100644 index 868ae49..0000000 Binary files a/public/images/products/d6d482a7.jpeg and /dev/null differ diff --git a/public/images/products/thumbs/thumb-328eadc7.png b/public/images/products/thumbs/thumb-328eadc7.png deleted file mode 100644 index 7a21c1d..0000000 Binary files a/public/images/products/thumbs/thumb-328eadc7.png and /dev/null differ diff --git a/public/images/products/thumbs/thumb-3a6bbb69.png b/public/images/products/thumbs/thumb-3a6bbb69.png deleted file mode 100644 index 2686dac..0000000 Binary files a/public/images/products/thumbs/thumb-3a6bbb69.png and /dev/null differ diff --git a/public/images/products/thumbs/thumb-5cde4ef2.png b/public/images/products/thumbs/thumb-5cde4ef2.png deleted file mode 100644 index dff7c9c..0000000 Binary files a/public/images/products/thumbs/thumb-5cde4ef2.png and /dev/null differ diff --git a/public/images/products/thumbs/thumb-6b16c131.jpeg b/public/images/products/thumbs/thumb-6b16c131.jpeg deleted file mode 100644 index f2d6158..0000000 Binary files a/public/images/products/thumbs/thumb-6b16c131.jpeg and /dev/null differ diff --git a/public/images/products/thumbs/thumb-a166f331.jpeg b/public/images/products/thumbs/thumb-a166f331.jpeg deleted file mode 100644 index e054335..0000000 Binary files a/public/images/products/thumbs/thumb-a166f331.jpeg and /dev/null differ diff --git a/public/images/products/thumbs/thumb-a781d630.png b/public/images/products/thumbs/thumb-a781d630.png deleted file mode 100644 index 8371cfb..0000000 Binary files a/public/images/products/thumbs/thumb-a781d630.png and /dev/null differ diff --git a/public/images/products/thumbs/thumb-bbadad33.jpeg b/public/images/products/thumbs/thumb-bbadad33.jpeg deleted file mode 100644 index 74c61c7..0000000 Binary files a/public/images/products/thumbs/thumb-bbadad33.jpeg and /dev/null differ diff --git a/public/images/products/thumbs/thumb-d1d6417d.png b/public/images/products/thumbs/thumb-d1d6417d.png deleted file mode 100644 index 955fbac..0000000 Binary files a/public/images/products/thumbs/thumb-d1d6417d.png and /dev/null differ diff --git a/public/images/products/thumbs/thumb-d6d482a7.jpeg b/public/images/products/thumbs/thumb-d6d482a7.jpeg deleted file mode 100644 index fad8edd..0000000 Binary files a/public/images/products/thumbs/thumb-d6d482a7.jpeg and /dev/null differ diff --git a/public/sacco/css/New folder/xampp-control.ini b/public/sacco/css/New folder/xampp-control.ini deleted file mode 100644 index 3486a01..0000000 --- a/public/sacco/css/New folder/xampp-control.ini +++ /dev/null @@ -1,96 +0,0 @@ -[Common] -Edition= -Editor=notepad.exe -Browser= -Debug=0 -Debuglevel=0 -Language=en -TomcatVisible=1 -Minimized=1 - -[LogSettings] -Font=Arial -FontSize=10 - -[WindowSettings] -Left=-8 -Top=-8 -Width=1382 -Height=744 - -[Autostart] -Apache=1 -MySQL=1 -FileZilla=1 -Mercury=1 -Tomcat=1 - -[Checks] -CheckRuntimes=1 -CheckDefaultPorts=1 - -[ModuleNames] -Apache=Apache -MySQL=MySQL -FileZilla=FileZilla -Mercury=Mercury -Tomcat=Tomcat - -[EnableModules] -Apache=1 -MySQL=1 -FileZilla=1 -Mercury=1 -Tomcat=1 - -[EnableServices] -Apache=1 -MySQL=1 -FileZilla=1 -Tomcat=1 - -[BinaryNames] -Apache=httpd.exe -MySQL=mysqld.exe -FileZilla=filezillaserver.exe -FileZillaAdmin=filezilla server interface.exe -Mercury=mercury.exe -Tomcat=tomcat7.exe - -[ServiceNames] -Apache=Apache2.4 -MySQL=mysql -FileZilla=FileZillaServer -Tomcat=Tomcat7 - -[ServicePorts] -Apache=80 -ApacheSSL=443 -MySQL=3306 -FileZilla=21 -FileZillaAdmin=14147 -Mercury1=25 -Mercury2=79 -Mercury3=105 -Mercury4=106 -Mercury5=110 -Mercury6=143 -Mercury7=2224 -TomcatHTTP=8080 -TomcatAJP=8009 -Tomcat=8005 - -[UserConfigs] -Apache= -MySQL= -FileZilla= -Mercury= -Tomcat= - -[UserLogs] -Apache= -MySQL= -FileZilla= -Mercury= -Tomcat= - diff --git a/public/sacco/css/New folder/xampp-control.log b/public/sacco/css/New folder/xampp-control.log deleted file mode 100644 index 07e2e14..0000000 --- a/public/sacco/css/New folder/xampp-control.log +++ /dev/null @@ -1,136 +0,0 @@ -11:17:59 PM [main] Initializing Control Panel -11:17:59 PM [main] Windows Version: Windows 8 Pro 64-bit -11:17:59 PM [main] XAMPP Version: 7.0.9 -11:17:59 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ] -11:17:59 PM [main] You are not running with administrator rights! This will work for -11:17:59 PM [main] most application stuff but whenever you do something with services -11:17:59 PM [main] there will be a security dialogue or things will break! So think -11:17:59 PM [main] about running this application with administrator rights! -11:17:59 PM [main] XAMPP Installation Directory: "c:\users\pc\desktop\new folder\" -11:17:59 PM [main] WARNING: Your install directory contains spaces. This may break programs/scripts -11:17:59 PM [main] Checking for prerequisites -11:17:59 PM [main] All prerequisites found -11:17:59 PM [main] Initializing Modules -11:17:59 PM [main] Enabling autostart for module "Apache" -11:17:59 PM [main] Enabling autostart for module "MySQL" -11:17:59 PM [main] Enabling autostart for module "FileZilla" -11:17:59 PM [main] Enabling autostart for module "Mercury" -11:17:59 PM [main] Enabling autostart for module "Tomcat" -11:17:59 PM [main] Starting Check-Timer -11:17:59 PM [main] Control Panel Ready -11:18:00 PM [Apache] Autostart active: starting... -11:18:00 PM [Apache] Attempting to start Apache app... -11:18:00 PM [mysql] Autostart active: starting... -11:18:00 PM [mysql] Attempting to start MySQL app... -11:18:00 PM [filezilla] Autostart active: starting... -11:18:00 PM [filezilla] Attempting to start FileZilla app... -11:18:00 PM [mercury] Autostart active: starting... -11:18:00 PM [mercury] Attempting to start Mercury app... -11:18:00 PM [Tomcat] Autostart active: starting... -11:18:00 PM [Tomcat] Attempting to start Tomcat app... -11:18:00 PM [Apache] Status change detected: running -11:18:00 PM [filezilla] Status change detected: running -11:18:00 PM [mercury] Status change detected: running -11:18:03 PM [Apache] Status change detected: stopped -11:18:03 PM [Apache] Error: Apache shutdown unexpectedly. -11:18:03 PM [Apache] This may be due to a blocked port, missing dependencies, -11:18:03 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:18:03 PM [Apache] Press the Logs button to view error logs and check -11:18:03 PM [Apache] the Windows Event Viewer for more clues -11:18:03 PM [Apache] If you need more help, copy and post this -11:18:03 PM [Apache] entire log window on the forums -11:18:07 PM [Tomcat] Status change detected: running -11:18:16 PM [Apache] Attempting to start Apache app... -11:18:17 PM [Apache] Status change detected: running -11:18:18 PM [Apache] Status change detected: stopped -11:18:18 PM [Apache] Error: Apache shutdown unexpectedly. -11:18:18 PM [Apache] This may be due to a blocked port, missing dependencies, -11:18:18 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:18:18 PM [Apache] Press the Logs button to view error logs and check -11:18:18 PM [Apache] the Windows Event Viewer for more clues -11:18:18 PM [Apache] If you need more help, copy and post this -11:18:18 PM [Apache] entire log window on the forums -11:18:42 PM [main] Executing "services.msc" -11:18:42 PM [main] Executing "services.msc" -11:19:27 PM [main] Executing "c:\users\pc\desktop\new folder\" -11:19:34 PM [main] Executing "services.msc" -11:19:34 PM [main] Executing "services.msc" -11:20:55 PM [Tomcat] Status change detected: stopped -11:20:55 PM [Tomcat] Error: Tomcat shutdown unexpectedly. -11:20:55 PM [Tomcat] This may be due to a blocked port, missing dependencies, -11:20:55 PM [Tomcat] improper privileges, a crash, or a shutdown by another method. -11:20:55 PM [Tomcat] Press the Logs button to view error logs and check -11:20:55 PM [Tomcat] the Windows Event Viewer for more clues -11:20:55 PM [Tomcat] If you need more help, copy and post this -11:20:55 PM [Tomcat] entire log window on the forums -11:20:55 PM [Tomcat] Tomcat Started/Stopped with errors, return code: 255 -11:20:55 PM [Tomcat] Make sure you have Java JDK or JRE installed and the required ports are free -11:20:55 PM [Tomcat] Check the "/xampp/tomcat/logs" folder for more information -11:23:10 PM [mercury] Status change detected: stopped -11:23:10 PM [mercury] Error: Mercury shutdown unexpectedly. -11:23:10 PM [mercury] This may be due to a blocked port, missing dependencies, -11:23:10 PM [mercury] improper privileges, a crash, or a shutdown by another method. -11:23:10 PM [mercury] Press the Logs button to view error logs and check -11:23:10 PM [mercury] the Windows Event Viewer for more clues -11:23:10 PM [mercury] If you need more help, copy and post this -11:23:10 PM [mercury] entire log window on the forums -11:23:15 PM [mysql] Attempting to start MySQL app... -11:23:21 PM [filezilla] Attempting to stop FileZilla app... -11:23:21 PM [filezilla] Status change detected: stopped -11:23:23 PM [mysql] Attempting to start MySQL app... -11:23:27 PM [Apache] Attempting to start Apache app... -11:23:27 PM [Apache] Status change detected: running -11:23:29 PM [Apache] Status change detected: stopped -11:23:29 PM [Apache] Error: Apache shutdown unexpectedly. -11:23:29 PM [Apache] This may be due to a blocked port, missing dependencies, -11:23:29 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:23:29 PM [Apache] Press the Logs button to view error logs and check -11:23:29 PM [Apache] the Windows Event Viewer for more clues -11:23:29 PM [Apache] If you need more help, copy and post this -11:23:29 PM [Apache] entire log window on the forums -11:23:31 PM [Apache] Attempting to start Apache app... -11:23:32 PM [Apache] Attempting to start Apache app... -11:23:32 PM [Apache] Status change detected: running -11:23:34 PM [Apache] Status change detected: stopped -11:23:34 PM [Apache] Error: Apache shutdown unexpectedly. -11:23:34 PM [Apache] This may be due to a blocked port, missing dependencies, -11:23:34 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:23:34 PM [Apache] Press the Logs button to view error logs and check -11:23:34 PM [Apache] the Windows Event Viewer for more clues -11:23:34 PM [Apache] If you need more help, copy and post this -11:23:34 PM [Apache] entire log window on the forums -11:23:36 PM [Apache] Attempting to start Apache app... -11:23:36 PM [Apache] Attempting to start Apache app... -11:23:36 PM [Apache] Status change detected: running -11:23:39 PM [Apache] Status change detected: stopped -11:23:39 PM [Apache] Error: Apache shutdown unexpectedly. -11:23:39 PM [Apache] This may be due to a blocked port, missing dependencies, -11:23:39 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:23:39 PM [Apache] Press the Logs button to view error logs and check -11:23:39 PM [Apache] the Windows Event Viewer for more clues -11:23:39 PM [Apache] If you need more help, copy and post this -11:23:39 PM [Apache] entire log window on the forums -11:23:42 PM [Apache] Attempting to start Apache app... -11:23:42 PM [Apache] Attempting to start Apache app... -11:23:42 PM [Apache] Status change detected: running -11:23:44 PM [Apache] Status change detected: stopped -11:23:44 PM [Apache] Error: Apache shutdown unexpectedly. -11:23:44 PM [Apache] This may be due to a blocked port, missing dependencies, -11:23:44 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:23:44 PM [Apache] Press the Logs button to view error logs and check -11:23:44 PM [Apache] the Windows Event Viewer for more clues -11:23:44 PM [Apache] If you need more help, copy and post this -11:23:44 PM [Apache] entire log window on the forums -11:23:57 PM [Apache] Attempting to start Apache app... -11:23:57 PM [Apache] Status change detected: running -11:23:59 PM [Apache] Status change detected: stopped -11:23:59 PM [Apache] Error: Apache shutdown unexpectedly. -11:23:59 PM [Apache] This may be due to a blocked port, missing dependencies, -11:23:59 PM [Apache] improper privileges, a crash, or a shutdown by another method. -11:23:59 PM [Apache] Press the Logs button to view error logs and check -11:23:59 PM [Apache] the Windows Event Viewer for more clues -11:23:59 PM [Apache] If you need more help, copy and post this -11:23:59 PM [Apache] entire log window on the forums -11:27:42 PM [main] Deinitializing Modules -11:27:42 PM [main] Deinitializing Control Panel - diff --git a/public/sacco/img/bg-pricing.jpg b/public/sacco/img/bg-pricing.jpg deleted file mode 100644 index 9b808c8..0000000 Binary files a/public/sacco/img/bg-pricing.jpg and /dev/null differ diff --git a/public/sacco/img/card-1.jpg b/public/sacco/img/card-1.jpg deleted file mode 100644 index be75c6d..0000000 Binary files a/public/sacco/img/card-1.jpg and /dev/null differ diff --git a/public/sacco/img/card-2.jpg b/public/sacco/img/card-2.jpg deleted file mode 100644 index 5562089..0000000 Binary files a/public/sacco/img/card-2.jpg and /dev/null differ diff --git a/public/sacco/img/card-3.jpg b/public/sacco/img/card-3.jpg deleted file mode 100644 index e7a01d3..0000000 Binary files a/public/sacco/img/card-3.jpg and /dev/null differ diff --git a/public/sacco/img/default-avatar.png b/public/sacco/img/default-avatar.png deleted file mode 100644 index ca9fa88..0000000 Binary files a/public/sacco/img/default-avatar.png and /dev/null differ diff --git a/public/sacco/img/faces/avatar.jpg b/public/sacco/img/faces/avatar.jpg deleted file mode 100644 index 07a284a..0000000 Binary files a/public/sacco/img/faces/avatar.jpg and /dev/null differ diff --git a/public/sacco/img/faces/card-profile1-square.jpg b/public/sacco/img/faces/card-profile1-square.jpg deleted file mode 100644 index 2d6288e..0000000 Binary files a/public/sacco/img/faces/card-profile1-square.jpg and /dev/null differ diff --git a/public/sacco/img/faces/marc.jpg b/public/sacco/img/faces/marc.jpg deleted file mode 100644 index af6401d..0000000 Binary files a/public/sacco/img/faces/marc.jpg and /dev/null differ diff --git a/public/sacco/img/favicon.png b/public/sacco/img/favicon.png deleted file mode 100644 index 7d8b7d0..0000000 Binary files a/public/sacco/img/favicon.png and /dev/null differ diff --git a/public/sacco/img/flags/AU.png b/public/sacco/img/flags/AU.png deleted file mode 100644 index 8e63f7f..0000000 Binary files a/public/sacco/img/flags/AU.png and /dev/null differ diff --git a/public/sacco/img/flags/BR.png b/public/sacco/img/flags/BR.png deleted file mode 100644 index 0447540..0000000 Binary files a/public/sacco/img/flags/BR.png and /dev/null differ diff --git a/public/sacco/img/flags/DE.png b/public/sacco/img/flags/DE.png deleted file mode 100644 index 23a407b..0000000 Binary files a/public/sacco/img/flags/DE.png and /dev/null differ diff --git a/public/sacco/img/flags/GB.png b/public/sacco/img/flags/GB.png deleted file mode 100644 index 04019f5..0000000 Binary files a/public/sacco/img/flags/GB.png and /dev/null differ diff --git a/public/sacco/img/flags/RO.png b/public/sacco/img/flags/RO.png deleted file mode 100644 index f113b90..0000000 Binary files a/public/sacco/img/flags/RO.png and /dev/null differ diff --git a/public/sacco/img/flags/US.png b/public/sacco/img/flags/US.png deleted file mode 100644 index 73f0c7a..0000000 Binary files a/public/sacco/img/flags/US.png and /dev/null differ diff --git a/public/sacco/img/image_placeholder.jpg b/public/sacco/img/image_placeholder.jpg deleted file mode 100644 index ffdb0aa..0000000 Binary files a/public/sacco/img/image_placeholder.jpg and /dev/null differ diff --git a/public/sacco/img/lock.jpg b/public/sacco/img/lock.jpg deleted file mode 100644 index bcae806..0000000 Binary files a/public/sacco/img/lock.jpg and /dev/null differ diff --git a/public/sacco/img/login.jpg b/public/sacco/img/login.jpg deleted file mode 100644 index 07a1908..0000000 Binary files a/public/sacco/img/login.jpg and /dev/null differ diff --git a/public/sacco/img/placeholder.jpg b/public/sacco/img/placeholder.jpg deleted file mode 100644 index 065372b..0000000 Binary files a/public/sacco/img/placeholder.jpg and /dev/null differ diff --git a/public/sacco/img/product1.jpg b/public/sacco/img/product1.jpg deleted file mode 100644 index 5821b43..0000000 Binary files a/public/sacco/img/product1.jpg and /dev/null differ diff --git a/public/sacco/img/product2.jpg b/public/sacco/img/product2.jpg deleted file mode 100644 index a58c026..0000000 Binary files a/public/sacco/img/product2.jpg and /dev/null differ diff --git a/public/sacco/img/product3.jpg b/public/sacco/img/product3.jpg deleted file mode 100644 index 7f10d85..0000000 Binary files a/public/sacco/img/product3.jpg and /dev/null differ diff --git a/public/sacco/img/register.jpg b/public/sacco/img/register.jpg deleted file mode 100644 index 721324f..0000000 Binary files a/public/sacco/img/register.jpg and /dev/null differ diff --git a/public/sacco/img/sidebar-1.jpg b/public/sacco/img/sidebar-1.jpg deleted file mode 100644 index 6c8e6ae..0000000 Binary files a/public/sacco/img/sidebar-1.jpg and /dev/null differ diff --git a/public/sacco/img/sidebar-2.jpg b/public/sacco/img/sidebar-2.jpg deleted file mode 100644 index d152f32..0000000 Binary files a/public/sacco/img/sidebar-2.jpg and /dev/null differ diff --git a/public/sacco/img/sidebar-3.jpg b/public/sacco/img/sidebar-3.jpg deleted file mode 100644 index 3c7e58e..0000000 Binary files a/public/sacco/img/sidebar-3.jpg and /dev/null differ diff --git a/public/sacco/img/sidebar-4.jpg b/public/sacco/img/sidebar-4.jpg deleted file mode 100644 index 20e9613..0000000 Binary files a/public/sacco/img/sidebar-4.jpg and /dev/null differ diff --git a/public/sacco/js/my.js b/public/sacco/js/my.js index a354321..25bd31e 100644 --- a/public/sacco/js/my.js +++ b/public/sacco/js/my.js @@ -1,235 +1,209 @@ -$(document).ready(function(){ +$(document).ready(function () { //ajax loader - $(document).ajaxStart(function(){ - $('.ajax-loader').css('visibility', 'visible'); + $(document).ajaxStart(function () { + $(".ajax-loader").css("visibility", "visible"); + }); + $(document).ajaxStop(function () { + $(".ajax-loader").css("visibility", "hidden"); }); - $(document).ajaxStop(function(){ - $('.ajax-loader').css('visibility', 'hidden'); - }); //send message to all -$('#sendMessageForm').on('submit', function(e){ - e.preventDefault(); - - var message = $('#message').val(); - if(message!=''){ - $.ajaxSetup({ - headers:{ - 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') - } - }); - - $.ajax({ - url: 'api/messages/send', - data: {message:message}, - dataType:'json', - type:'POST', - success: function(data){ - var notify_message; var type; - if(data=='notifications off'){ - notify_message = "Please turn on the notifications in settings first."; - type = 'danger'; - }else{ - notify_message = "Sending Message.."; - type = "success"; - } - - $.notify({ - message:notify_message, - },{ - type:type, - timer:1000, - placement:{ - from: 'top', - align: 'center', - }, - z_index: 1000, - }); - - $('#sendMessageForm').trigger('reset'); + $("#sendMessageForm").on("submit", function (e) { + e.preventDefault(); + + var message = $("#message").val(); + if (message != "") { + $.ajaxSetup({ + headers: { + "X-CSRF-TOKEN": $('meta[name="_token"]').attr("content"), + }, + }); + + $.ajax({ + url: "api/messages/send", + data: { message: message }, + dataType: "json", + type: "POST", + success: function (data) { + var notify_message; + var type; + if (data == "notifications off") { + notify_message = + "Please turn on the notifications in settings first."; + type = "danger"; + } else { + notify_message = "Sending Message.."; + type = "success"; + } + + $.notify( + { + message: notify_message, + }, + { + type: type, + timer: 1000, + placement: { + from: "top", + align: "center", + }, + z_index: 1000, + } + ); - } - }) - } -}) + $("#sendMessageForm").trigger("reset"); + }, + }); + } + }); //end send message to all - /***********************************************************/ - /******************SETTINGS MANAGEMENT**********************/ - /***********************************************************/ - - //set quick settings values - if(settings_json.length!=0){ - if(settings_json.share_value!=null){ - $('#share-val').val(settings_json.share_value); - $('#share-val').parent().removeClass("is-empty"); - } - if(settings_json.loan_interest!=null){ - $('#loan-interest').val(settings_json.loan_interest); - $('#loan-interest').parent().removeClass("is-empty"); - } - if(settings_json.loan_duration!=null){ - $('#loan-duration').val(settings_json.loan_duration); - $('#loan-duration').parent().removeClass("is-empty"); - } - if(settings_json.loan_borrowable!=null){ - $('#loan-borrowable').val(settings_json.loan_borrowable); - $('#loan-borrowable').parent().removeClass('is-empty'); - } - if(settings_json.min_guarantors!=null){ - $('#min-guarantors').val(settings_json.min_guarantors); - $('#min-guarantors').parent().removeClass('is-empty'); + /***********************************************************/ + /******************SETTINGS MANAGEMENT**********************/ + /***********************************************************/ + + //set quick settings values + if (settings_json.length != 0) { + if (settings_json.share_value != null) { + $("#share-val").val(settings_json.share_value); + $("#share-val").parent().removeClass("is-empty"); + } + if (settings_json.loan_interest != null) { + $("#loan-interest").val(settings_json.loan_interest); + $("#loan-interest").parent().removeClass("is-empty"); + } + if (settings_json.loan_duration != null) { + $("#loan-duration").val(settings_json.loan_duration); + $("#loan-duration").parent().removeClass("is-empty"); + } + if (settings_json.loan_borrowable != null) { + $("#loan-borrowable").val(settings_json.loan_borrowable); + $("#loan-borrowable").parent().removeClass("is-empty"); + } + if (settings_json.min_guarantors != null) { + $("#min-guarantors").val(settings_json.min_guarantors); + $("#min-guarantors").parent().removeClass("is-empty"); + } + } + + url_settings = "/admin/settings"; + + $("#quick-settings-form").on("submit", function (e) { + e.preventDefault(); + + var the_url = url_settings + "/quick"; + + var share_val = $("#share-val").val(); + var loan_interest = $("#loan-interest").val(); + var loan_duration = $("#loan-duration").val(); + var loan_borrowable = $("#loan-borrowable").val(); + var min_guarantors = $("#min-guarantors").val(); + var settings = {}; + + if ( + share_val != "" || + loan_interest != "" || + loan_duration != "" || + min_guarantors != "" || + loan_borrowable != "" + ) { + if (share_val != "") settings["share_value"] = share_val; + if (loan_interest != "") settings["loan_interest"] = loan_interest; + if (loan_duration != "") settings["loan_duration"] = loan_duration; + if (loan_borrowable != "") settings["loan_borrowable"] = loan_borrowable; + if (min_guarantors != "") settings["min_guarantors"] = min_guarantors; + + //determine type of url to use + var url_type = "POST"; + + if (settings_json.length != 0) { + url_type = "PUT"; + the_url = the_url + "/" + settings_json.id; } - } - - url_settings = '/admin/settings'; - - $('#quick-settings-form').on('submit', function(e){ - e.preventDefault(); - - var the_url = url_settings + '/quick'; - - var share_val = $('#share-val').val(); - var loan_interest = $('#loan-interest').val(); - var loan_duration = $('#loan-duration').val(); - var loan_borrowable = $('#loan-borrowable').val(); - var min_guarantors = $('#min-guarantors').val(); - var settings = {}; - - if(share_val!='' || loan_interest!='' || loan_duration!='' || min_guarantors!='' || loan_borrowable!=''){ - if(share_val!='') settings['share_value'] = share_val; - if(loan_interest!='') settings['loan_interest'] = loan_interest; - if(loan_duration!='') settings['loan_duration'] = loan_duration; - if(loan_borrowable!='') settings['loan_borrowable']=loan_borrowable; - if(min_guarantors!='') settings['min_guarantors']=min_guarantors; - - //determine type of url to use - var url_type = 'POST'; - - if(settings_json.length!=0){ - url_type = 'PUT'; - the_url = the_url + '/' + settings_json.id; - } - - $.ajaxSetup({ - headers:{ - 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') - } - }); - - $.ajax({ - type: url_type, - data: settings, - dataType: 'json', - url: the_url, - success: function(data){ - $.notify({ - message: "Saved.", - },{ - type: 'success', - timer: 3000, - placement: { - from: 'top', - align: 'center', - } - }); - }, - error: function(data){ - $.notify({ - message: "Error. Unable to Save.", - },{ - type: 'danger', - timer: 3000, - placement: { - from: 'top', - align: 'center', - } - }); - }, - }) - - - }else{ - console.log('here'); - } - }); - - - -//date picker - initDatePicker(); - function initDatePicker(){ - $('.datepicker').datetimepicker({ - format: 'YYYY-MM-DD', - icons: { - time: "fa fa-clock-o", - date: "fa fa-calendar", - up: "fa fa-chevron-up", - down: "fa fa-chevron-down", - previous: 'fa fa-chevron-left', - next: 'fa fa-chevron-right', - today: 'fa fa-screenshot', - clear: 'fa fa-trash', - close: 'fa fa-remove', - inline: true + $.ajaxSetup({ + headers: { + "X-CSRF-TOKEN": $('meta[name="_token"]').attr("content"), + }, + }); + + $.ajax({ + type: url_type, + data: settings, + dataType: "json", + url: the_url, + success: function (data) { + $.notify( + { + message: "Saved.", + }, + { + type: "success", + timer: 3000, + placement: { + from: "top", + align: "center", + }, } - }); - }; - -//init form validations - function setFormValidation(id) { - $(id).validate({ - errorPlacement: function(error, element) { - $(element).parent('div').addClass('has-error'); + ); + }, + error: function (data) { + $.notify( + { + message: "Error. Unable to Save.", + }, + { + type: "danger", + timer: 3000, + placement: { + from: "top", + align: "center", + }, } - }); + ); + }, + }); + } else { + console.log("here"); } + }); + + //date picker + initDatePicker(); - $(document).ready(function() { - setFormValidation('#RegisterValidation'); - setFormValidation('#AddMemberForm'); - setFormValidation('#quick-settings-form'); - setFormValidation('#AddSharesForm'); - setFormValidation('#AddLoanForm'); - setFormValidation('#settingsForm'); - setFormValidation('#pay-loan-form'); + function initDatePicker() { + $(".datepicker").datetimepicker({ + format: "YYYY-MM-DD", + icons: { + time: "fa fa-clock-o", + date: "fa fa-calendar", + up: "fa fa-chevron-up", + down: "fa fa-chevron-down", + previous: "fa fa-chevron-left", + next: "fa fa-chevron-right", + today: "fa fa-screenshot", + clear: "fa fa-trash", + close: "fa fa-remove", + inline: true, + }, }); + } -//developer stuff -$('#developer').click(function(){ - show_developer() -}) -function show_developer(){ - swal({ - buttonsStyling: false, - confirmButtonClass: "btn btn-primary btn-sm", - html: ` -
- ![]() |
-
- person_outline Collins Kasyoki Thano - |
- ||
- phone +254701035316 - |
- |||
- email collinskasyoki@gmail.com - | -