modified restrictions to acept 0 in numAcount

This commit is contained in:
2026-02-24 17:24:48 -06:00
parent 0d37fb3536
commit 01eafd4038
4 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -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!",
+1 -1
View File
@@ -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!",