gt; print "User has a lost card\n";
> $user->lost(0)->store();
> } else {
> print "NO lost card\n";
> }
>
> Stephen
>
> -Original Message-
> From: Stephen Graham
> Sent: 18 October 2021 14:04
> To: Jona
I think another option would be the Patron Import tool:
...tools/import_borrowers.pl
Cheers,
Cab Vinton, Director
Plaistow Public Library
Plaistow, NH
On Mon, Oct 18, 2021 at 9:43 AM Jonathan Druart
wrote:
>
> Hi Stephen,
>
> You can use
> Koha::Patrons->find(42)->lost(0)->store;
> to set
print "NO lost card\n";
> }
>
> Stephen
>
> -Original Message-
> From: Stephen Graham
> Sent: 18 October 2021 14:04
> To: Jonathan Druart
> Cc: koha-devel
> Subject: RE: [Koha-devel] Changing the lost card value
>
> Thanks Jonathan. I understa
quot;;
}
Stephen
-Original Message-
From: Stephen Graham
Sent: 18 October 2021 14:04
To: Jonathan Druart
Cc: koha-devel
Subject: RE: [Koha-devel] Changing the lost card value
Thanks Jonathan. I understand that the find method returns a Patron object, but
don't understand where lost comes f
October 2021 12:37
To: Stephen Graham
Cc: koha-devel
Subject: Re: [Koha-devel] Changing the lost card value
Hi Stephen,
You can use
Koha::Patrons->find(42)->lost(0)->store;
to set borrowers.lost to 0 for patron with borrowernumber=42.
Cheers,
Jonathan
Le lun. 18 oct. 2021 à 12:47
Hi Stephen,
You can use
Koha::Patrons->find(42)->lost(0)->store;
to set borrowers.lost to 0 for patron with borrowernumber=42.
Cheers,
Jonathan
Le lun. 18 oct. 2021 à 12:47, Stephen Graham a écrit :
>
> Sorry if this is a basic question. I’ve searched through the Koha::Patron and
>