Code Monkey home page Code Monkey logo

phpludoreve's People

Contributors

thejoelinux avatar

Stargazers

 avatar  avatar

Watchers

 avatar

phpludoreve's Issues

Recherche de jeux: faire un système plus précis

Notamment avec les critères d'age...

D'ailleurs, on pourrait le coupler avec l'enfant. En gros, vu qu'on sait l'age de l'enfant, il suffirait d'avoir dans la fiche de l'adhérent un bouton : "rechercher des jeux pour..." et voilà.

loans : you can't borrow the same game twice at the same period

In fact, you should not. That's somewhat complex to implement this as a constraint on the loans table, because there should be a unique keys that takes the interval between start_date and end_date into account. Just don't try to do it.

Better, don't display the games that are not restitued in the new loan game selector.

members : deletion don't work...

In fact, you don't want to delete noone. What you want is deleting the wrong records (or duplicate), but it should be made with caution because of the related records all over the database. You'd better off setting the status of the member disabled, so it does not appears in the list.

But you didn't decide to disable anyone. Member he is, member he stay until its subscription is paid.

Problèmes d'enregistements des emprunts

Lorsque j'enregistre les emprunts :

  1. Je ne peux pas enregistrer plusieurs jeux en suivant (je suis obligée de repassser par la fiche de l'adhérents
  2. il y a un message du type "si la date de retour est laissée vide, la date sdelctionnée sera 21 jour plus tard" or, ce n'est pas ce qui se passe : la date qui s'affiche est 00-00-0000

Réservation de jeux

Je souhaiterais pouvoir réserver des jeux :

  • soit des jeux empruntés actuellement mais à réserver dès leur retour (ne sachant pas à quelle date ils vont revenir)
  • soit pour une date précise (exemple pour un anniversaire)

Home page : show something useful

  • First square : display the Nth (between 5 and 10) loans, ordered by due date asc
  • Second : display the Nth newest members
  • On the calendar, show the birthdays of the members 👍

member_subscriptions : scaffold the whole set

  • The schema migration :table member_subscription id + start_date, end_date, membership_type_id, payment_method_id, credit boolean, price, comments, created_at, updated_at
  • The model : classes/member_subscription.php
  • The controller
  • Views : list and edit

game suppression don't work

The game suppression is the same issue we had with members. Due to its presence all over the database, you can't easily suppress a game. And it stay here, because it had no subscription to pay.

Loans : write the MVCs

  • The model : classes/loan.php
  • The controller : controllers/loans.php
  • Views : list and edit

Authentication : write the whole system

  • users table
  • user model
  • user controller
  • user views
  • sessions table
  • session model
  • session controller
  • session views (login page)
  • roles table
  • role model
  • role controller
  • role views

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.