modified restrictions to acept 0 in numAcount
This commit is contained in:
@@ -50,7 +50,7 @@ export default function Inscripcion({
|
||||
//restrict this month//
|
||||
|
||||
const handleSaveReceipt = async () => {
|
||||
if (!numAcount) {
|
||||
if (numAcount == null) {
|
||||
|
||||
Swal.fire({
|
||||
title: "busca de nuevo al estudiante!",
|
||||
@@ -143,7 +143,7 @@ export default function Inscripcion({
|
||||
};
|
||||
|
||||
const handleInscripcionSinPago = async () => {
|
||||
if (!numAcount) {
|
||||
if (numAcount == null) {
|
||||
|
||||
Swal.fire({
|
||||
title: "busca de nuevo al estudiante!",
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function Receipt({ numAcount }: ReceiptsProps) {
|
||||
//restrict this month//
|
||||
|
||||
const handleSaveReceipt = async () => {
|
||||
if (!numAcount) {
|
||||
if (numAcount == null) {
|
||||
|
||||
Swal.fire({
|
||||
title: "busca de nuevo al estudiante!",
|
||||
|
||||
Reference in New Issue
Block a user