Skip to content

Commit

Permalink
check-in bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
karabayyazilim committed Jul 2, 2024
1 parent b1794c9 commit 61b1304
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions resources/js/Pages/EventApplicationForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,20 @@ export default function EventApplicationForm({cities, event, application = null}

<div className={`flex items-center ${step !== 1 ? 'justify-between' : 'justify-end'}`}>
{step !== 1 && <Button type="button" label="Geri" onClick={handlePrev}/>}
{step !== 5 ?
<Button type="button" label="Sonraki" onClick={handleNext}/> : (
<Button type="submit" label="Tamamla" disabled={form.processing}/>

)}
{step !== 5 && <Button type="button" label="Sonraki" onClick={handleNext}/> }
{!application && step === 5 && <Button type="submit" label="Başvuruyu Tamamla"/>}
</div>
{application && <Button type="submit" label="Check In Onayla"/>}
</form>
{application && (
{/* {application && (
<div className="flex flex-col gap-5 justify-center mt-10 mb-10">
<p className="text-center">Eğer bilgilerinizde bir değişiklik var ise yukarıdaki form'dan
bilgilerinizi
güncelleyiniz. Bilgilerinizde bir değişiklik yoksa aşağıdaki butonu kullanaraks hızlı onay
yapabilirsiniz. </p>
<Button type="button" label="Check In Onayla" onClick={checkIn}/>
</div>
)}
)}*/}
</section>

{/* <section className="grid grid-cols-1 md:grid-cols-2 gap-5">
Expand Down

0 comments on commit 61b1304

Please sign in to comment.