Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Commit

Permalink
sponsordump for checked in
Browse files Browse the repository at this point in the history
  • Loading branch information
nickysemenza committed Oct 2, 2017
1 parent 7775e1e commit 5df73b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/SponsorDump.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function handle()
$this->info('saving to: '.$resumeDir);
$apps = Application::with('user')->get();
foreach ($apps as $app) {
if ($app->rsvp && $app->resume_uploaded) {
if ($app->rsvp && $app->resume_uploaded && ($app->checked_in_at !== null)) {
$resumeURL = $app->user->resumeURL();
$resumeFilename = $app->user->id.'_'.$app->user->first_name.'_'.$app->user->last_name;
$resumeFilename = str_replace(' ', '_', $resumeFilename);
Expand Down

0 comments on commit 5df73b7

Please sign in to comment.